SST/macro
|
#include <stat_histogram.h>
Public Member Functions | |
void | record (timestamp t, int64_t num) |
Public Member Functions inherited from sstmac::stat_histogram | |
stat_histogram () | |
void | collect (double value) |
void | collect (double value, int64_t num) |
void | simulation_finished (timestamp end) |
This is to notify that the statistics collector is done. More... | |
void | dump_local_data () |
After post-processing, this notifies the collector to dump data to a file. More... | |
void | dump_global_data () |
After post-processing, this notifies the collector to dump data to a file. More... | |
void | global_reduce (parallel_runtime *rt) |
void | clear () |
void | reduce (stat_collector *coll) |
virtual void | init_factory_params (sprockit::sim_parameters *params) |
stat_histogram * | clone_me (int id) const |
stat_collector * | clone () const |
Public Member Functions inherited from sstmac::stat_collector | |
virtual | ~stat_collector () |
virtual std::string | to_string () const |
bool | registered () const |
virtual void | set_id (int id) |
int | id () const |
void | set_registered (bool reg) |
void | add_suffix (const std::string &suffix) |
std::string | fileroot () const |
Public Member Functions inherited from sprockit::factory_type | |
virtual void | init_factory_params (sim_parameters *params) |
virtual void | finalize_init () |
Additional Inherited Members | |
Static Public Member Functions inherited from sstmac::stat_collector | |
static stat_collector * | optional_build (sprockit::sim_parameters *params, const std::string &ns, const std::string &deflt, const char *suffix) |
Protected Member Functions inherited from sstmac::stat_histogram | |
void | dump (const std::string &froot) |
void | clone_into (stat_histogram *cln) const |
Protected Member Functions inherited from sstmac::stat_collector | |
stat_collector () | |
void | clone_into (stat_collector *cln) const |
Static Protected Member Functions inherited from sstmac::stat_collector | |
static bool | check_open (std::fstream &myfile, const std::string &fname, std::ios::openmode flags=std::ios::out) |
Check to see if the file is open. More... | |
Protected Attributes inherited from sstmac::stat_histogram | |
std::vector< int64_t > | counts_ |
double | bin_size_ |
int64_t | max_bin_ |
bool | is_log_ |
Protected Attributes inherited from sstmac::stat_collector | |
bool | registered_ |
int | id_ |
std::string | fileroot_ |
Definition at line 74 of file stat_histogram.h.
void sstmac::stat_time_histogram::record | ( | timestamp | t, |
int64_t | num | ||
) |