casa
5.7.0-16
|
#include <UtilJ.h>
Public Member Functions | |
DeltaThreadTimes () | |
DeltaThreadTimes (bool doStats) | |
DeltaThreadTimes & | operator+= (const DeltaThreadTimes &other) |
double | cpu () const |
double | cpuAvg () const |
double | elapsed () const |
double | elapsedAvg () const |
casacore::String | formatAverage (const casacore::String &floatFormat="%6.1f", double scale=1000.0, const casacore::String &units="ms") const |
casacore::String | formatStats (const casacore::String &floatFormat="%6.1f", double scale=1000.0, const casacore::String &units="ms") const |
int | n () const |
Protected Member Functions | |
DeltaThreadTimes (double elapsed, double cpu) | |
Private Attributes | |
double | cpuMin_p |
double | cpuMax_p |
double | cpuSsq_p |
bool | doStats_p |
double | elapsedMin_p |
double | elapsedMax_p |
double | elapsedSsq_p |
int | n_p |
Private Attributes inherited from casa::utilj::ThreadTimes | |
bool | empty_p |
double | cpu_p |
double | elapsed_p |
Friends | |
class | ThreadTimes |
Additional Inherited Members | |
Private Member Functions inherited from casa::utilj::ThreadTimes | |
ThreadTimes () | |
double | cpu () const |
void | clear () |
bool | empty () const |
double | elapsed () const |
DeltaThreadTimes | operator- (const ThreadTimes &tEarlier) const |
ThreadTimes (double elapsed, double cpu) | |
Static Private Member Functions inherited from casa::utilj::ThreadTimes | |
static ThreadTimes | getTime () |
static double | toSeconds (const struct timeval &t) |
Internal or
Internal
|
inlineexplicit |
Definition at line 493 of file UtilJ.h.
References cpuMax_p, cpuMin_p, cpuSsq_p, elapsedMax_p, elapsedMin_p, and elapsedSsq_p.
|
inlineprotected |
|
inline |
Definition at line 505 of file UtilJ.h.
References casa::utilj::ThreadTimes::cpu().
Referenced by cpuAvg().
|
inline |
|
inline |
Definition at line 507 of file UtilJ.h.
References casa::utilj::ThreadTimes::elapsed().
Referenced by elapsedAvg().
|
inline |
casacore::String casa::utilj::DeltaThreadTimes::formatAverage | ( | const casacore::String & | floatFormat = "%6.1f" , |
double | scale = 1000.0 , |
||
const casacore::String & | units = "ms" |
||
) | const |
casacore::String casa::utilj::DeltaThreadTimes::formatStats | ( | const casacore::String & | floatFormat = "%6.1f" , |
double | scale = 1000.0 , |
||
const casacore::String & | units = "ms" |
||
) | const |
|
inline |
DeltaThreadTimes& casa::utilj::DeltaThreadTimes::operator+= | ( | const DeltaThreadTimes & | other | ) |
|
friend |
|
private |
Definition at line 524 of file UtilJ.h.
Referenced by DeltaThreadTimes().
|
private |
Definition at line 523 of file UtilJ.h.
Referenced by DeltaThreadTimes().
|
private |
Definition at line 525 of file UtilJ.h.
Referenced by DeltaThreadTimes().
|
private |
Definition at line 528 of file UtilJ.h.
Referenced by DeltaThreadTimes().
|
private |
Definition at line 527 of file UtilJ.h.
Referenced by DeltaThreadTimes().
|
private |
Definition at line 529 of file UtilJ.h.
Referenced by DeltaThreadTimes().
|
private |
Definition at line 530 of file UtilJ.h.
Referenced by cpuAvg(), elapsedAvg(), and n().