ASL  0.1.7
Advanced Simulation Library
Public Member Functions | List of all members
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]. More...
 
const double estimatedRemainder (double completeness)
 Returns estimated time till finishing current task based on its current completeness [0..1]. More...
 

Detailed Description

Examples
acousticWaves.cc, bus_wind.cc, compressor.cc, cubeGravity.cc, cubeIncompressibleGravity.cc, cubePoroelasticGravity.cc, flow.cc, flow2.cc, flow3.cc, flowKDPGrowth.cc, flowRotatingCylinders.cc, jumpingBox.cc, levelSetBasic.cc, levelSetFacetedGrowth.cc, levelSetNormalGrowth.cc, locomotive.cc, locomotive_laminar.cc, locomotive_stability.cc, multicomponent_flow.cc, multiphase_flow.cc, pitot_tube_ice.cc, poroelastic.cc, surfaceFlux.cc, testPrivateVar.cc, testSMDiff.cc, testSMDiff3C.cc, testSMPhi.cc, and testSMPhiBV.cc.

Definition at line 34 of file aslTimer.h.

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

const double asl::Timer::processorLoad ( ) const
inline

◆ processorTime()

const double asl::Timer::processorTime ( ) const
inline

◆ realTime()

const double asl::Timer::realTime ( ) const
inline

◆ reset()

void asl::Timer::reset ( )
inline

◆ start()

void asl::Timer::start ( )
inline

◆ stop()

void asl::Timer::stop ( )
inline

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