Electroneum
Loading...
Searching...
No Matches
epee::profile_tools::local_call_account Struct Reference

#include <profile_tools.h>

Public Member Functions

 local_call_account (const char *pstr)
 ~local_call_account ()

Public Attributes

size_t m_count_of_call
uint64_t m_summary_time_used
const char * m_pname

Detailed Description

Definition at line 73 of file profile_tools.h.

Constructor & Destructor Documentation

◆ local_call_account()

epee::profile_tools::local_call_account::local_call_account ( const char * pstr)
inline

◆ ~local_call_account()

epee::profile_tools::local_call_account::~local_call_account ( )
inline

Definition at line 77 of file profile_tools.h.

78 {
79 MINFO("PROFILE "<<m_pname<<":av_time:\t" << (m_count_of_call ? (m_summary_time_used/m_count_of_call):0) <<" sum_time:\t"<<m_summary_time_used<<" call_count:\t" << m_count_of_call);
80 }
#define MINFO(x)
Definition misc_log_ex.h:75

Member Data Documentation

◆ m_count_of_call

size_t epee::profile_tools::local_call_account::m_count_of_call

Definition at line 82 of file profile_tools.h.

◆ m_pname

const char* epee::profile_tools::local_call_account::m_pname

Definition at line 84 of file profile_tools.h.

◆ m_summary_time_used

uint64_t epee::profile_tools::local_call_account::m_summary_time_used

Definition at line 83 of file profile_tools.h.


The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/contrib/epee/include/profile_tools.h