The Pedigree Project
0.1
|
#include <TimeTracker.h>
Public Member Functions | |
TimeTracker (Process *pProcess, bool fromUserspace) | |
Private Attributes | |
Process * | m_pProcess |
bool | m_bFromUserspace |
Tracks time spent and assigns it to the given process, in an RAII way.
Mostly useful for things like syscalls where there's a definitive entry and exit at which time should be tracked differently.
Definition at line 31 of file TimeTracker.h.