Timing Class Reference
List of all members.
Public Member Functions |
void | start () |
void | end () |
double | interval () |
| Return time interval between start() and end().
|
Detailed Description
Definition at line 32 of file Performance.h.
Member Function Documentation
double Timing::interval |
( |
|
) |
[inline] |
Return time interval between start() and end().
- Returns:
- elapsed time in seconds
Definition at line 60 of file Performance.h.
00061 {
00062 return (endInterval.tv_sec + (endInterval.tv_usec/1000000.0)) -
00063 (startInterval.tv_sec + (startInterval.tv_usec/1000000.0));
00064 }
The documentation for this class was generated from the following file: