casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Private Attributes | Friends
casa::utilj::DeltaThreadTimes Class Reference

More...

#include <UtilJ.h>

Inheritance diagram for casa::utilj::DeltaThreadTimes:
casa::utilj::ThreadTimes

List of all members.

Public Member Functions

 DeltaThreadTimes ()
 DeltaThreadTimes (bool doStats)
DeltaThreadTimesoperator+= (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

Detailed Description

Intended use:

Internal or

Intended use:

Internal

 <h3>Review Status</h3><dl><dt>Date Reviewed:<dd>yyyy/mm/dd</dl> 

Prerequisite

Etymology

Synopsis

Example

Motivation

Template Type Argument Requirements (T)

Thrown Exceptions

To Do

Definition at line 503 of file UtilJ.h.


Constructor & Destructor Documentation

Definition at line 509 of file UtilJ.h.

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]

Definition at line 536 of file UtilJ.h.


Member Function Documentation

Reimplemented from casa::utilj::ThreadTimes.

Definition at line 522 of file UtilJ.h.

Referenced by cpuAvg().

Definition at line 523 of file UtilJ.h.

References cpu(), and n_p.

Reimplemented from casa::utilj::ThreadTimes.

Definition at line 524 of file UtilJ.h.

Referenced by elapsedAvg().

Definition at line 525 of file UtilJ.h.

References elapsed(), and n_p.

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

Definition at line 532 of file UtilJ.h.

References n_p.

DeltaThreadTimes& casa::utilj::DeltaThreadTimes::operator+= ( const DeltaThreadTimes other)

Friends And Related Function Documentation

friend class ThreadTimes [friend]

Definition at line 505 of file UtilJ.h.


Member Data Documentation

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().

Definition at line 543 of file UtilJ.h.

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().

Definition at line 547 of file UtilJ.h.

Referenced by cpuAvg(), elapsedAvg(), and n().


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