ICP
1
|
#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 |
DAEstatus * | m_status |
Definition at line 4 of file icptimer.h.
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 | ( | ) |
|
private |
finish - start, returned in 100ns units
Definition at line 38 of file icptimer.h.
Referenced by diffFileTimesInMilliSec().
|
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 |
||
) |
Definition at line 83 of file icptimer.h.
References diffFileTimesInMilliSec(), ICPTimer::timings_t::kernel, m_process_times, m_thread_times, m_title, m_ts, and ICPTimer::timings_t::user.
Referenced by NeXusWriter::addMissingMuonLogs(), ISISinstrumentControl::beginRunMainEx(), ISISDAE::checkTestPatternAsync(), ISISinstrumentControl::endRunMain(), ISISinstrumentControl::endRunTask(), ISISinstrumentControl::importCRPT(), info(), MyServerApp::main(), ISISinstrumentControl::refreshCachedValues(), EventStore::setOutputFileName(), ISISinstrumentControl::snapshotCRPT(), ISISinstrumentControl::stopDataCollection(), ISISinstrumentControl::storeCRPT(), EnvPeriodCard< EnvPeriodPolicy >::syncFrameTimer(), ISISinstrumentControl::updateCRPTWithDAE(), ISISinstrumentControl::VMEReadArray(), ISISinstrumentControl::VMEWriteArray(), NeXusWriter::writeISISNeXus(), ISISinstrumentControl::writeISISRAW(), and NeXusWriter::writeMuonFile().
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().
|
inline |
void ICPTimer::start | ( | const char * | title = NULL | ) |
Definition at line 64 of file icptimer.h.
References ICPTimer::timings_t::create, ICPTimer::timings_t::exit, ICPTimer::timings_t::kernel, m_process_times, m_st, m_tb, m_thread_times, m_title, m_ts, and ICPTimer::timings_t::user.
Referenced by ISISinstrumentControl::endRunMain(), ISISinstrumentControl::endRunTask(), ICPTimer(), and ISISinstrumentControl::updateCRPTWithDAE().
void ICPTimer::start | ( | const char * | title = NULL | ) |
|
private |
Definition at line 19 of file icptimer.h.
|
private |
Definition at line 9 of file icptimer.h.
Referenced by start().
|
private |
Definition at line 241 of file icputils.h.
|
private |
Definition at line 8 of file icptimer.h.
Referenced by start().
|
private |
Definition at line 18 of file icptimer.h.
|
private |
Definition at line 7 of file icptimer.h.
|
private |
Definition at line 10 of file icptimer.h.