ASL 0.1.7
Advanced Simulation Library
Loading...
Searching...
No Matches
asl::Timer Class Reference

#include <aslTimer.h>

Public Member Functions

 Timer ()
void start ()
void stop ()
const double realTime () const
const double processorTime () const
const double processorLoad () const
void reset ()
const double estimatedDuration (double completeness)
 Returns estimated duration of the current task based on its current completeness [0..1].
const double estimatedRemainder (double completeness)
 Returns estimated time till finishing current task based on its current completeness [0..1].

Detailed Description

Constructor & Destructor Documentation

◆ Timer()

asl::Timer::Timer ( )
inline

Definition at line 42 of file aslTimer.h.

Member Function Documentation

◆ estimatedDuration()

const double asl::Timer::estimatedDuration ( double completeness)
inline

Returns estimated duration of the current task based on its current completeness [0..1].

Definition at line 50 of file aslTimer.h.

◆ estimatedRemainder()

const double asl::Timer::estimatedRemainder ( double completeness)
inline

Returns estimated time till finishing current task based on its current completeness [0..1].

Examples
acousticWaves.cc, multicomponent_flow.cc, multiphase_flow.cc, and pitot_tube_ice.cc.

Definition at line 52 of file aslTimer.h.

◆ processorLoad()

◆ processorTime()

◆ realTime()

◆ reset()

void asl::Timer::reset ( )
inline

◆ start()

◆ stop()


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