casa
$Rev:20696$
|
#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
<h3>Review Status</h3><dl><dt>Date Reviewed:<dd>yyyy/mm/dd</dl>
casa::utilj::DeltaThreadTimes::DeltaThreadTimes | ( | ) | [inline] |
casa::utilj::DeltaThreadTimes::DeltaThreadTimes | ( | bool | doStats | ) | [inline, explicit] |
Definition at line 510 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 522 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 524 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] |
Definition at line 541 of file UtilJ.h.
Referenced by DeltaThreadTimes().
Definition at line 540 of file UtilJ.h.
Referenced by DeltaThreadTimes().
Definition at line 542 of file UtilJ.h.
Referenced by DeltaThreadTimes().
Bool casa::utilj::DeltaThreadTimes::doStats_p [private] |
Definition at line 545 of file UtilJ.h.
Referenced by DeltaThreadTimes().
Definition at line 544 of file UtilJ.h.
Referenced by DeltaThreadTimes().
Definition at line 546 of file UtilJ.h.
Referenced by DeltaThreadTimes().
Int casa::utilj::DeltaThreadTimes::n_p [private] |
Definition at line 547 of file UtilJ.h.
Referenced by cpuAvg(), elapsedAvg(), and n().