|
The Pedigree Project 0.1
|
#include <InterruptTimeAccounting.h>
Collaboration diagram for InterruptTimeAccounting:Public Member Functions | |
| InterruptTimeAccounting (bool fromUserspace) | |
Static Public Member Functions | |
| static void | finishUserReturn (Thread *thread) |
Private Member Functions | |
| InterruptTimeAccounting (const InterruptTimeAccounting &)=delete | |
| InterruptTimeAccounting & | operator= (const InterruptTimeAccounting &)=delete |
Private Attributes | |
| Thread * | m_pThread |
| bool | m_bFromUserspace |
Accounts one raw interrupt frame without invoking an arbitrary callback.
Construction and destruction perform only a monotonic clock sample and the fixed lock-free Thread/Process accounting publication path. Timer mutation and signal delivery belong to the ordinary accounting worker.
Definition at line 21 of file InterruptTimeAccounting.h.
|
explicit |
Definition at line 14 of file InterruptTimeAccounting.cc.
| InterruptTimeAccounting::~InterruptTimeAccounting | ( | ) |
Definition at line 25 of file InterruptTimeAccounting.cc.
|
static |
Charges the completed return tail and begins the next user slice.
Definition at line 39 of file InterruptTimeAccounting.cc.
References Thread::currentTimeAccountingMode(), and Thread::transitionTimeAtInterruptReturn().
Referenced by X64InterruptManager::returnFromInterrupt(), and HostedInterruptManager::signalShim().
Here is the caller graph for this function:
|
private |
Definition at line 31 of file InterruptTimeAccounting.h.
|
private |
Definition at line 30 of file InterruptTimeAccounting.h.