1 #ifndef sstmac_software_process_FTQ_H 2 #define sstmac_software_process_FTQ_H 35 totals_[key_typeid] += ticks;
38 void init(
int num_events,
long long* buffer);
42 return totals_[key_typeid];
47 totals_[key_typeid] = count;
72 void collect(
int event_typeid,
long ticks_begin,
long ticks);
76 return "TaskFTQCalendar";
79 void dump(std::ofstream& os);
97 const std::string& appname,
100 void dump(
const std::string& fileroot);
113 void collect(
int event_typeid,
int tid,
long ticks_begin,
long num_ticks);
117 return "AppFTQCalendar";
146 void dumpi_gnuplot_histogram(
const std::string& fileroot,
int num_categories);
148 void allocate_epochs(
long max_epoch);
160 void init(
long nticks_per_epoch);
172 void register_app(
int aid,
const std::string& appname);
176 void dump_local_data();
178 void dump_global_data();
187 init_factory_params(sprockit::sim_parameters* params);
204 return "FTQCalendar";
212 static spkt_unordered_map<int, app_ftq_calendar*>
calendars_;
void collect(int key_typeid, long ticks)
spkt_unordered_map< int, ftq_epoch * > thread_epochs_
virtual std::string to_string() const
stat_collector * clone() const
spkt_unordered_map< int, task_ftq_calendar * > calendars_
A type of logger that collects some kind of statistic and outputs to a file during or at the end of a...
virtual void set_id(int id)
static spkt_unordered_map< int, app_ftq_calendar * > calendars_
virtual std::string to_string() const
void init(int num_events, long long *buffer)
std::list< long long * > buffers_
long long event_time(int key_typeid) const
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...
std::vector< ftq_epoch > epochs_
virtual std::string to_string() const
void set_event_time(int key_typeid, long long count)
ftq_calendar * clone_me(int id) const
static const long allocation_num_epochs
long max_epoch_allocated_