Skip to content

Class Ase::Stopwatch

ClassList > Ase > Stopwatch

Public Functions

Type Name
Stopwatch (const String & msg="")
Automatically start stop watch.
double milliseconds () const
Provide milliseconds elapsed between start() and stop().
double seconds () const
Provide seconds elapsed between start() and stop().
void start (const String & msg="")
Start or restart stop watch, printing msg later on.
void stop (const String & msg="")
Stop stop watch, print msg .
~Stopwatch ()
Stop and print a previous msg if still running.

Public Functions Documentation

function Stopwatch

explicit Ase::Stopwatch::Stopwatch (
    const String & msg=""
) 

function milliseconds

double Ase::Stopwatch::milliseconds () const

function seconds

double Ase::Stopwatch::seconds () const

function start

void Ase::Stopwatch::start (
    const String & msg=""
) 

function stop

void Ase::Stopwatch::stop (
    const String & msg=""
) 

function ~Stopwatch

Ase::Stopwatch::~Stopwatch () 


The documentation for this class was generated from the following file /__w/anklang/anklang/ase/platform.hh