1 #ifndef SSTMAC_SOFTWARE_PROCESS_GRAPHVIZ_H 2 #define SSTMAC_SOFTWARE_PROCESS_GRAPHVIZ_H 4 #define GraphVizAppendBacktrace(...) ::sstmac::sw::graph_viz_increment_stack __graphviz_tmp_variable__(__VA_ARGS__) 5 #define GraphVizDoNothing(...) int __graphviz_tmp_variable__ 51 void dump_local_data();
53 void dump_global_data();
71 static void** allocate_trace();
73 static void delete_trace(
void** tr);
85 std::map<void*, graphviz_call>
calls_;
98 return "graphviz trace";
106 void add_call(
void* fxn,
int ncalls,
long count);
108 void add_self(
long count);
112 void add_call(
int ncalls,
long count,
void* fxn,
void* callfxn);
122 trace* get_trace(
void* fxn);
std::string to_string() const
stat_collector * clone() const
A type of logger that collects some kind of statistic and outputs to a file during or at the end of a...
~graph_viz_increment_stack()
virtual void set_id(int id)
std::map< void *, trace * > traces_
std::map< void *, std::string > ptr_to_fxn_
std::map< std::string, void * > fxn_to_ptr_
std::pair< long, long long > graphviz_call
A basic container for time (subject to future transplant).
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
graph_viz * clone_me(int id) const
std::string to_string() const
graph_viz_increment_stack(const char *fxn)
graph_viz_increment_stack Should only ever be called from app threads, not the DES thread ...
std::map< void *, graphviz_call > calls_