casa::utilj::DeltaThreadTimes Class Reference

#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

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Example

Motivation

Template Type Argument Requirements (T)

Thrown Exceptions

To Do

Definition at line 481 of file UtilJ.h.


Constructor & Destructor Documentation

casa::utilj::DeltaThreadTimes::DeltaThreadTimes (  )  [inline]

Definition at line 487 of file UtilJ.h.

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]

Definition at line 514 of file UtilJ.h.


Member Function Documentation

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]

Definition at line 501 of file UtilJ.h.

References cpu(), and n_p.

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]

Definition at line 503 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
Int casa::utilj::DeltaThreadTimes::n (  )  const [inline]

Definition at line 510 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 483 of file UtilJ.h.


Member Data Documentation

Definition at line 519 of file UtilJ.h.

Referenced by DeltaThreadTimes().

Definition at line 518 of file UtilJ.h.

Referenced by DeltaThreadTimes().

Definition at line 520 of file UtilJ.h.

Referenced by DeltaThreadTimes().

Definition at line 521 of file UtilJ.h.

Definition at line 523 of file UtilJ.h.

Referenced by DeltaThreadTimes().

Definition at line 522 of file UtilJ.h.

Referenced by DeltaThreadTimes().

Definition at line 524 of file UtilJ.h.

Referenced by DeltaThreadTimes().

Definition at line 525 of file UtilJ.h.

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


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1