| 
    ivutils
    
   | 
 
collection of timers and data about memory used by different operations. More...
#include <component.h>


Public Member Functions | |
| int | AddTimersField (const std::string &name, int par_id=-1) | 
| creates timer with given name, adds it to timers and binds it to par_id timer (or doesn't bind to any timer if par_id=-1)  | |
| int | TimeUsage (const char *filename, int format) | 
| writes a tabular file: timer name - measured working time  | |
| void | add_memusage (const std::string &opname, std::size_t data_size, std::size_t packed_size=0) | 
| adds memory statistics for some operation described by memstat_t from mems (if it is not present in mems, creates new one)  | |
| template<class packer_t > | |
| void | add_memusage (const std::string &opname, const packer_t *packer) | 
| adds memory statistics (packed in packer) for some operation  | |
| template<class packer_t > | |
| void | add_mpiusage (const std::string &opname, int sendrcv, const packer_t *packer) | 
| adds mpi statistics for some operation  | |
| void | MemoryUsage (message_logger *mt=&message_logger::global()) const | 
| logs recorded memory usage statistics  | |
| void | MPIUsage (message_logger *mt=&message_logger::global()) const | 
| logs recorded MPI statistics  | |
  Public Member Functions inherited from process_detail< double, double > | |
| size_t | AddField (double *ptr, const std::string &name, int on=1) | 
| adds output descriptor, returns the data reference to be used in constructors of derivates  | |
| virtual int | SetOutFlag (const std::string &name, int flag=1) | 
| swithces the output of specified field on or off  | |
| virtual size_t | GetFields (std::vector< std::string > &descr) const | 
| collects the symbolic descriptors of output fields which are switched on  | |
Additional Inherited Members | |
  Protected Member Functions inherited from process_detail< double, double > | |
| virtual size_t | TransferValues (std::vector< double > &descr) const | 
| transfers the values which are switched on to the vector to be used from process() of derivates  | |
collection of timers and data about memory used by different operations.
time measured by timers and data about memory can be printed by Write and Usage