ICP  1
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
ICPTimer Class Reference

#include <icptimer.h>

Classes

struct  timings_t
 

Public Member Functions

 ICPTimer (const char *title=NULL)
 
 ~ICPTimer ()
 
void start (const char *title=NULL)
 
double info (const char *title, std::ostream &os, bool add_nl=true)
 
 ICPTimer ()
 
 ICPTimer (const char *title, DAEstatus &status)
 
 ~ICPTimer ()
 
void start (const char *title=NULL)
 
double info (const char *title, std::ostream &os, bool add_nl=true)
 
double info (const char *title, DAEstatus &status)
 
double info (const std::string &title, DAEstatus &status)
 

Private Member Functions

double diffFileTimesInMilliSec (const FILETIME &start, const FILETIME &finish)
 finish - start in milliseconds More...
 
LONGLONG diffFileTimes (const FILETIME &start, const FILETIME &finish)
 finish - start, returned in 100ns units More...
 

Private Attributes

std::string m_title
 
struct timeb m_tb
 
SYSTEMTIME m_st
 
Poco::Timestamp m_ts
 
timings_t m_thread_times
 
timings_t m_process_times
 
DAEstatusm_status
 

Detailed Description

Definition at line 4 of file icptimer.h.

Constructor & Destructor Documentation

ICPTimer::ICPTimer ( const char *  title = NULL)

Definition at line 55 of file icptimer.h.

References start().

ICPTimer::~ICPTimer ( )

Definition at line 60 of file icptimer.h.

ICPTimer::ICPTimer ( )

Definition at line 29 of file icputils.cpp.

References start().

ICPTimer::ICPTimer ( const char *  title,
DAEstatus status 
)

Definition at line 34 of file icputils.cpp.

References start().

ICPTimer::~ICPTimer ( )

Member Function Documentation

LONGLONG ICPTimer::diffFileTimes ( const FILETIME &  start,
const FILETIME &  finish 
)
private

finish - start, returned in 100ns units

Definition at line 38 of file icptimer.h.

Referenced by diffFileTimesInMilliSec().

double ICPTimer::diffFileTimesInMilliSec ( const FILETIME &  start,
const FILETIME &  finish 
)
private

finish - start in milliseconds

Definition at line 32 of file icptimer.h.

References diffFileTimes().

Referenced by info().

double ICPTimer::info ( const char *  title,
std::ostream &  os,
bool  add_nl = true 
)
double ICPTimer::info ( const char *  title,
std::ostream &  os,
bool  add_nl = true 
)
double ICPTimer::info ( const char *  title,
DAEstatus status 
)

Definition at line 198 of file icputils.cpp.

References DAEstatus::addInfo(), FAC_DAE, and info().

double ICPTimer::info ( const std::string &  title,
DAEstatus status 
)
inline

Definition at line 262 of file icputils.h.

References info().

Referenced by info().

void ICPTimer::start ( const char *  title = NULL)
void ICPTimer::start ( const char *  title = NULL)

Member Data Documentation

timings_t ICPTimer::m_process_times
private

Definition at line 19 of file icptimer.h.

Referenced by info(), and start().

SYSTEMTIME ICPTimer::m_st
private

Definition at line 9 of file icptimer.h.

Referenced by start().

DAEstatus* ICPTimer::m_status
private

Definition at line 241 of file icputils.h.

struct timeb ICPTimer::m_tb
private

Definition at line 8 of file icptimer.h.

Referenced by start().

timings_t ICPTimer::m_thread_times
private

Definition at line 18 of file icptimer.h.

Referenced by info(), and start().

std::string ICPTimer::m_title
private

Definition at line 7 of file icptimer.h.

Referenced by info(), and start().

Poco::Timestamp ICPTimer::m_ts
private

Definition at line 10 of file icptimer.h.

Referenced by info(), and start().


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