The Pedigree Project  0.1
Public Member Functions | Private Attributes | List of all members
TimeTracker Class Reference

#include <TimeTracker.h>

+ Collaboration diagram for TimeTracker:

Public Member Functions

 TimeTracker (Process *pProcess, bool fromUserspace)
 

Private Attributes

Processm_pProcess
 
bool m_bFromUserspace
 

Detailed Description

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.


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