#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 |
| String | formatAverage (const String &floatFormat="%6.1f", Double scale=1000.0, const String &units="ms") const |
| String | formatStats (const String &floatFormat="%6.1f", Double scale=1000.0, const 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 |
Friends | |
| class | ThreadTimes |
Internal or
Internal
Definition at line 481 of file UtilJ.h.
| casa::utilj::DeltaThreadTimes::DeltaThreadTimes | ( | ) | [inline] |
| casa::utilj::DeltaThreadTimes::DeltaThreadTimes | ( | bool | doStats | ) | [inline, explicit] |
Definition at line 488 of file UtilJ.h.
References cpuMax_p, cpuMin_p, cpuSsq_p, elapsedMax_p, elapsedMin_p, and elapsedSsq_p.
| casa::utilj::DeltaThreadTimes::DeltaThreadTimes | ( | Double | elapsed, | |
| Double | cpu | |||
| ) | [inline, protected] |
| Double casa::utilj::DeltaThreadTimes::cpu | ( | ) | const [inline] |
Reimplemented from casa::utilj::ThreadTimes.
Definition at line 500 of file UtilJ.h.
Referenced by cpuAvg().
| Double casa::utilj::DeltaThreadTimes::cpuAvg | ( | ) | const [inline] |
| Double casa::utilj::DeltaThreadTimes::elapsed | ( | ) | const [inline] |
Reimplemented from casa::utilj::ThreadTimes.
Definition at line 502 of file UtilJ.h.
Referenced by elapsedAvg().
| Double casa::utilj::DeltaThreadTimes::elapsedAvg | ( | ) | const [inline] |
| String casa::utilj::DeltaThreadTimes::formatAverage | ( | const String & | floatFormat = "%6.1f", |
|
| Double | scale = 1000.0, |
|||
| const String & | units = "ms" | |||
| ) | const |
| String casa::utilj::DeltaThreadTimes::formatStats | ( | const String & | floatFormat = "%6.1f", |
|
| Double | scale = 1000.0, |
|||
| const String & | units = "ms" | |||
| ) | const |
| Int casa::utilj::DeltaThreadTimes::n | ( | ) | const [inline] |
| DeltaThreadTimes& casa::utilj::DeltaThreadTimes::operator+= | ( | const DeltaThreadTimes & | other | ) |
friend class ThreadTimes [friend] |
Double casa::utilj::DeltaThreadTimes::cpuMax_p [private] |
Definition at line 519 of file UtilJ.h.
Referenced by DeltaThreadTimes().
Double casa::utilj::DeltaThreadTimes::cpuMin_p [private] |
Definition at line 518 of file UtilJ.h.
Referenced by DeltaThreadTimes().
Double casa::utilj::DeltaThreadTimes::cpuSsq_p [private] |
Definition at line 520 of file UtilJ.h.
Referenced by DeltaThreadTimes().
Bool casa::utilj::DeltaThreadTimes::doStats_p [private] |
Double casa::utilj::DeltaThreadTimes::elapsedMax_p [private] |
Definition at line 523 of file UtilJ.h.
Referenced by DeltaThreadTimes().
Double casa::utilj::DeltaThreadTimes::elapsedMin_p [private] |
Definition at line 522 of file UtilJ.h.
Referenced by DeltaThreadTimes().
Double casa::utilj::DeltaThreadTimes::elapsedSsq_p [private] |
Definition at line 524 of file UtilJ.h.
Referenced by DeltaThreadTimes().
Int casa::utilj::DeltaThreadTimes::n_p [private] |
Definition at line 525 of file UtilJ.h.
Referenced by cpuAvg(), elapsedAvg(), and n().
1.6.1