12 #ifndef SSTMAC_COMMON_STATS_STATS_COMMON_H_INCLUDED 13 #define SSTMAC_COMMON_STATS_STATS_COMMON_H_INCLUDED 34 return "stat_spyplot";
66 add(
int source,
int dest,
long num);
88 typedef spkt_unordered_map<int, long>
long_map;
108 return "stat_spyplot_png";
112 add(
int source,
int dest,
long num);
119 normalization_ = max;
virtual void global_reduce(parallel_runtime *rt)
virtual std::string to_string() const
virtual void add_one(int source, int dest)
void clone_into(stat_spyplot *cln) const
virtual ~stat_spyplot_png()
virtual void dump_global_data()
After post-processing, this notifies the collector to dump data to a file.
virtual 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...
virtual void reduce(stat_collector *coll)
virtual void set_id(int id)
stat_collector * clone() const
void set_normalization(long max)
virtual stat_spyplot * clone_me(int id) const
virtual void simulation_finished(timestamp end)
This is to notify that the statistics collector is done.
A basic container for time (subject to future transplant).
virtual void add(int source, int dest, long num)
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
spkt_unordered_map< int, long > long_map
this stat_collector class keeps a spy plot
virtual std::string to_string() const
virtual void dump_local_data()
After post-processing, this notifies the collector to dump data to a file.
spkt_unordered_map< int, long_map > spyplot_map
virtual void dump_to_file(const std::string &froot)
stat_spyplot * clone_me(int id) const
this stat_collector class keeps a spy plot, and outputs it as a png
virtual void init_factory_params(sprockit::sim_parameters *params)