#include <Profile_Timer.h>
Collaboration diagram for ACE_Profile_Timer:

Public Types | |
| typedef ACE_Rusage | Rusage |
Public Methods | |
| ACE_Profile_Timer (void) | |
| Default constructor. | |
| ~ACE_Profile_Timer (void) | |
| Shutdown the timer. | |
| int | start (void) |
| Activate the timer. | |
| int | stop (void) |
| Stop the timer. | |
| int | elapsed_time (ACE_Elapsed_Time &et) |
| Compute the time elapsed since <start>. | |
| void | elapsed_rusage (ACE_Profile_Timer::Rusage &rusage) |
| Compute the amount of resource utilization since the start time. | |
| void | get_rusage (ACE_Profile_Timer::Rusage &rusage) |
| Return the resource utilization (don't recompute it). | |
| void | dump (void) const |
| Dump the state of an object. | |
Public Attributes | |
| ACE_ALLOC_HOOK_DECLARE | |
| Declare the dynamic allocation hooks. | |
Private Methods | |
| void | compute_times (ACE_Elapsed_Time &et) |
| Compute how much time has elapsed. | |
Private Attributes | |
| ACE_Profile_Timer::Rusage | begin_usage_ |
| Keep track of the starting resource utilization. | |
| ACE_Profile_Timer::Rusage | end_usage_ |
| Keep track of the ending resource utilization. | |
| ACE_Profile_Timer::Rusage | last_usage_ |
| Keep track of the last rusage for incremental timing. | |
| ACE_High_Res_Timer | timer_ |
| The high resolution timer. | |
|
|
|
|
|
Default constructor.
|
|
|
Shutdown the timer.
|
|
|
Compute how much time has elapsed.
|
|
|
Dump the state of an object.
|
|
|
Compute the amount of resource utilization since the start time.
|
|
|
Compute the time elapsed since <start>.
|
|
|
Return the resource utilization (don't recompute it).
|
|
|
Activate the timer.
|
|
|
Stop the timer.
|
|
|
Declare the dynamic allocation hooks.
|
|
|
Keep track of the starting resource utilization.
|
|
|
Keep track of the ending resource utilization.
|
|
|
Keep track of the last rusage for incremental timing.
|
|
|
The high resolution timer.
|
1.2.3 written by Dimitri van Heesch,
© 1997-2000