FV3 Bundle
oops::PostTimer Class Reference

Handles timing of post-processing and similar actions. More...

#include <PostTimer.h>

Inheritance diagram for oops::PostTimer:
[legend]
Collaboration diagram for oops::PostTimer:
[legend]

Public Member Functions

 PostTimer ()
 
 PostTimer (const util::Duration &)
 
 PostTimer (const eckit::Configuration &)
 
 PostTimer (const util::DateTime &, const eckit::Configuration &)
 
 PostTimer (const util::DateTime &, const util::DateTime &, const util::Duration &)
 
 ~PostTimer ()
 
void initialize (const util::DateTime &, const util::DateTime &, const util::Duration &)
 
bool itIsTime (const util::DateTime &)
 

Private Attributes

const eckit::LocalConfiguration conf_
 
util::Duration freq_
 
util::DateTime bgn_
 
util::DateTime end_
 
boost::scoped_ptr< util::DateTime > start_
 
boost::scoped_ptr< util::DateTime > finish_
 
std::vector< util::DateTime > pptimes_
 

Detailed Description

Handles timing of post-processing and similar actions.

By default processing is performed on every call.

Definition at line 32 of file PostTimer.h.

Constructor & Destructor Documentation

◆ PostTimer() [1/5]

oops::PostTimer::PostTimer ( )

Definition at line 26 of file PostTimer.cc.

◆ PostTimer() [2/5]

oops::PostTimer::PostTimer ( const util::Duration &  freq)
explicit

Definition at line 29 of file PostTimer.cc.

◆ PostTimer() [3/5]

oops::PostTimer::PostTimer ( const eckit::Configuration &  conf)
explicit

Definition at line 32 of file PostTimer.cc.

◆ PostTimer() [4/5]

oops::PostTimer::PostTimer ( const util::DateTime &  start,
const eckit::Configuration &  conf 
)

Definition at line 35 of file PostTimer.cc.

◆ PostTimer() [5/5]

oops::PostTimer::PostTimer ( const util::DateTime &  start,
const util::DateTime &  finish,
const util::Duration &  freq 
)

Definition at line 40 of file PostTimer.cc.

◆ ~PostTimer()

oops::PostTimer::~PostTimer ( )
inline

Definition at line 39 of file PostTimer.h.

Member Function Documentation

◆ initialize()

void oops::PostTimer::initialize ( const util::DateTime &  bgn,
const util::DateTime &  end,
const util::Duration &   
)

Definition at line 45 of file PostTimer.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ itIsTime()

bool oops::PostTimer::itIsTime ( const util::DateTime &  now)

Definition at line 79 of file PostTimer.cc.

Here is the caller graph for this function:

Member Data Documentation

◆ bgn_

util::DateTime oops::PostTimer::bgn_
private

Definition at line 48 of file PostTimer.h.

◆ conf_

const eckit::LocalConfiguration oops::PostTimer::conf_
private

Definition at line 46 of file PostTimer.h.

◆ end_

util::DateTime oops::PostTimer::end_
private

Definition at line 49 of file PostTimer.h.

◆ finish_

boost::scoped_ptr<util::DateTime> oops::PostTimer::finish_
private

Definition at line 51 of file PostTimer.h.

◆ freq_

util::Duration oops::PostTimer::freq_
private

Definition at line 47 of file PostTimer.h.

◆ pptimes_

std::vector<util::DateTime> oops::PostTimer::pptimes_
private

Definition at line 52 of file PostTimer.h.

◆ start_

boost::scoped_ptr<util::DateTime> oops::PostTimer::start_
private

Definition at line 50 of file PostTimer.h.


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