Table of Contents

 
TimeElapsed
 

Purpose

Finds the amount of time elapsed

 

Protoype

int CTimerMngr::TimeElapsed (string str_timer)
 

Parameters

timer the ID of the timer to query
 

Description

This function returns the amout of time elapsed for a given timer object, which is how long the timer has been running in milliseconds.

 

Use

CTimerMngr timer;
int i_elapsed_time = timer.TimeElapsed();
 

Prev: StopTimer
Next: TimerOn