SST/macro
|
this stat_collector class keeps a spy plot More...
#include <stat_spyplot.h>
Public Member Functions | |
virtual std::string | to_string () const |
virtual void | simulation_finished (timestamp end) |
This is to notify that the statistics collector is done. More... | |
virtual void | dump_to_file (const std::string &froot) |
virtual void | dump_local_data () |
After post-processing, this notifies the collector to dump data to a file. More... | |
virtual void | dump_global_data () |
After post-processing, this notifies the collector to dump data to a file. More... | |
virtual void | reduce (stat_collector *coll) |
virtual void | global_reduce (parallel_runtime *rt) |
virtual void | clear () |
virtual | ~stat_spyplot () |
virtual void | add_one (int source, int dest) |
virtual void | add (int source, int dest, long num) |
virtual stat_spyplot * | clone_me (int id) const |
virtual stat_collector * | clone () const |
stat_spyplot () | |
Public Member Functions inherited from sstmac::stat_collector | |
virtual | ~stat_collector () |
virtual void | init_factory_params (sprockit::sim_parameters *params) |
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 () |
Protected Types | |
typedef spkt_unordered_map< int, long > | long_map |
typedef spkt_unordered_map< int, long_map > | spyplot_map |
Protected Member Functions | |
void | clone_into (stat_spyplot *cln) const |
Protected Member Functions inherited from sstmac::stat_collector | |
stat_collector () | |
void | clone_into (stat_collector *cln) const |
Protected Attributes | |
spyplot_map | vals_ |
int | max_dest_ |
Protected Attributes inherited from sstmac::stat_collector | |
bool | registered_ |
int | id_ |
std::string | fileroot_ |
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) |
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... | |
this stat_collector class keeps a spy plot
Definition at line 28 of file stat_spyplot.h.
|
protected |
Definition at line 88 of file stat_spyplot.h.
|
protected |
Definition at line 89 of file stat_spyplot.h.
|
inlinevirtual |
Definition at line 59 of file stat_spyplot.h.
References add(), and add_one().
|
inline |
Definition at line 81 of file stat_spyplot.h.
References clone_into().
Referenced by clone_me().
|
virtual |
Reimplemented in sstmac::stat_spyplot_png.
Referenced by sstmac::stat_spyplot_png::to_string(), and ~stat_spyplot().
|
virtual |
Referenced by ~stat_spyplot().
|
virtual |
Implements sstmac::stat_collector.
Referenced by to_string().
|
inlinevirtual |
Implements sstmac::stat_collector.
Reimplemented in sstmac::stat_spyplot_png.
Definition at line 77 of file stat_spyplot.h.
References clone_me().
|
protected |
Referenced by sstmac::stat_spyplot_png::clone(), clone_me(), sstmac::stat_spyplot_png::clone_me(), and stat_spyplot().
|
inlinevirtual |
Reimplemented in sstmac::stat_spyplot_png.
Definition at line 69 of file stat_spyplot.h.
References clone_into(), sstmac::stat_collector::set_id(), and stat_spyplot().
Referenced by clone(), and sstmac::stat_spyplot_png::clone().
|
virtual |
After post-processing, this notifies the collector to dump data to a file.
name | The root of the filename to dump to |
Implements sstmac::stat_collector.
Referenced by to_string().
|
virtual |
After post-processing, this notifies the collector to dump data to a file.
name | The root of the filename to dump to |
Implements sstmac::stat_collector.
Referenced by to_string().
|
virtual |
Reimplemented in sstmac::stat_spyplot_png.
Referenced by to_string(), and sstmac::stat_spyplot_png::to_string().
|
virtual |
Implements sstmac::stat_collector.
Referenced by to_string().
|
virtual |
Implements sstmac::stat_collector.
Referenced by to_string().
|
virtual |
This is to notify that the statistics collector is done.
Do any necessary data post-processing, but do NOT dump to file
Implements sstmac::stat_collector.
Referenced by to_string().
|
inlinevirtual |
Reimplemented from sstmac::stat_collector.
Reimplemented in sstmac::stat_spyplot_png.
Definition at line 33 of file stat_spyplot.h.
References clear(), dump_global_data(), dump_local_data(), dump_to_file(), global_reduce(), reduce(), and simulation_finished().
|
protected |
Definition at line 91 of file stat_spyplot.h.
|
protected |
Definition at line 90 of file stat_spyplot.h.