omega_h
Reliable mesh adaptation
Public Member Functions | Public Attributes | List of all members
Omega_h::profile::History Struct Reference

Public Member Functions

 History (CommPtr comm=nullptr, bool dopercent=false, double chop=0.0, bool add_filename=false)
 
 History (const History &h)
 
const char * get_name (std::size_t frame) const
 
std::size_t find_child_of (std::size_t parent_index, char const *name) const
 
std::size_t create_child_of (std::size_t parent_index, char const *name)
 
std::size_t create_child_of_current (char const *name)
 
std::size_t find_root (char const *name) const
 
std::size_t create_root (char const *name)
 
std::size_t find (char const *name)
 
std::size_t create (char const *name)
 
std::size_t find_or_create (char const *name)
 
std::size_t find_or_create_child_of (std::size_t parent_index, char const *name)
 
std::size_t push (char const *name)
 
void pop ()
 
void start (char const *const name)
 
double measure_runtime ()
 
double measure_total_runtime ()
 
void stop ()
 
std::size_t first (std::size_t parent) const
 
std::size_t next (std::size_t sibling) const
 
std::size_t parent (std::size_t child) const
 
std::size_t pre_order_next (std::size_t frame) const
 
double time (std::size_t frame) const
 
std::size_t calls (std::size_t frame) const
 

Public Attributes

std::vector< Frameframes
 
std::size_t current_frame
 
std::size_t last_root
 
Strings names
 
Now start_time
 
bool do_percent
 
double chop
 
bool add_filename
 
CommPtr comm
 

The documentation for this struct was generated from the following files: