SimulationCraft
SimulationCraft is a tool to explore combat mechanics in the popular MMO RPG World of Warcraft (tm).
uptime_t Struct Reference
Inheritance diagram for uptime_t:
uptime_base_t

Public Member Functions

 uptime_t (util::string_view n)
 
void update (bool is_up, timespan_t current_time)
 
void analyze ()
 
void merge (const uptime_t &other)
 
void datacollection_end (timespan_t t)
 
const std::string & name () const
 
uptime_tcollect_uptime (sim_t &sim, bool collect=true)
 
uptime_tcollect_duration (sim_t &sim, bool collect=true)
 

Public Attributes

std::string name_str
 
extended_sample_data_t uptime_sum
 
extended_sample_data_t uptime_instance
 

Additional Inherited Members

- Protected Member Functions inherited from uptime_base_t
void update (bool is_up, timespan_t current_time)
 
void datacollection_begin ()
 
void reset ()
 
- Protected Attributes inherited from uptime_base_t
timespan_t last_start
 
timespan_t iteration_uptime_sum