SST/macro
|
#include <graphviz.h>
Classes | |
class | trace |
Public Member Functions | |
graph_viz () | |
std::string | to_string () const |
virtual | ~graph_viz () |
void | simulation_finished (timestamp end) |
This is to notify that the statistics collector is done. More... | |
void | clear () |
void | reduce (stat_collector *coll) |
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... | |
graph_viz * | clone_me (int id) const |
void | global_reduce (parallel_runtime *rt) |
stat_collector * | clone () const |
void | count_trace (long count, sw::thread *thr) |
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 () |
Static Public Member Functions | |
static void ** | allocate_trace () |
static void | delete_trace (void **tr) |
static void | delete_statics () |
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) |
Private Types | |
typedef std::pair< long, long long > | graphviz_call |
Private Member Functions | |
void | add_call (int ncalls, long count, void *fxn, void *callfxn) |
trace * | get_trace (void *fxn) |
Private Attributes | |
std::map< void *, trace * > | traces_ |
std::map< void *, std::string > | ptr_to_fxn_ |
std::map< std::string, void * > | fxn_to_ptr_ |
Friends | |
class | trace |
Additional Inherited Members | |
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_collector | |
bool | registered_ |
int | id_ |
std::string | fileroot_ |
Definition at line 32 of file graphviz.h.
|
private |
Definition at line 81 of file graphviz.h.
sstmac::sw::graph_viz::graph_viz | ( | ) |
|
virtual |
|
private |
|
static |
|
virtual |
Implements sstmac::stat_collector.
|
inlinevirtual |
Implements sstmac::stat_collector.
Definition at line 67 of file graphviz.h.
|
inline |
Definition at line 56 of file graphviz.h.
References sstmac::stat_collector::set_id().
void sstmac::sw::graph_viz::count_trace | ( | long | count, |
sw::thread * | thr | ||
) |
|
static |
|
static |
|
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.
|
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.
|
private |
|
virtual |
Implements sstmac::stat_collector.
|
virtual |
Implements sstmac::stat_collector.
|
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.
|
inlinevirtual |
Reimplemented from sstmac::stat_collector.
Definition at line 39 of file graphviz.h.
|
friend |
Definition at line 120 of file graphviz.h.
|
private |
Definition at line 118 of file graphviz.h.
|
private |
Definition at line 116 of file graphviz.h.
|
private |
Definition at line 114 of file graphviz.h.