cTimeMs Class Reference

#include <tools.h>

List of all members.

Public Member Functions

 cTimeMs (int Ms=0)
 Creates a timer with ms resolution and an initial timeout of Ms.
void Set (int Ms=0)
bool TimedOut (void)
uint64_t Elapsed (void)

Static Public Member Functions

static uint64_t Now (void)

Private Attributes

uint64_t begin


Detailed Description

Definition at line 250 of file tools.h.


Constructor & Destructor Documentation

cTimeMs::cTimeMs ( int  Ms = 0  ) 

Creates a timer with ms resolution and an initial timeout of Ms.

Definition at line 545 of file tools.c.

References Set().

Here is the call graph for this function:


Member Function Documentation

uint64_t cTimeMs::Now ( void   )  [static]

Definition at line 550 of file tools.c.

References dsyslog, and esyslog.

Referenced by Elapsed(), Set(), and TimedOut().

void cTimeMs::Set ( int  Ms = 0  ) 

bool cTimeMs::TimedOut ( void   ) 

uint64_t cTimeMs::Elapsed ( void   ) 

Definition at line 603 of file tools.c.

References begin, and Now().

Referenced by cRcuRemote::Action(), cLircRemote::Action(), cDisplayChannel::ProcessKey(), cThread::Start(), and WriteAllOrNothing().

Here is the call graph for this function:


Member Data Documentation

uint64_t cTimeMs::begin [private]

Definition at line 252 of file tools.h.

Referenced by Elapsed(), Set(), and TimedOut().


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

Generated on Tue Nov 4 20:02:43 2008 for VDR by  doxygen 1.5.6