The Pedigree Project
0.1
src
system
include
pedigree
kernel
process
InterruptTimeAccounting.h
1
/*
2
* Copyright (c) 2026, Pedigree Developers
3
*
4
* Permission to use, copy, modify, and distribute this software for any
5
* purpose with or without fee is hereby granted.
6
*/
7
8
#ifndef PEDIGREE_KERNEL_PROCESS_INTERRUPTTIMEACCOUNTING_H
9
#define PEDIGREE_KERNEL_PROCESS_INTERRUPTTIMEACCOUNTING_H
10
#include <config.h>
11
12
class
Thread
;
13
21
class
InterruptTimeAccounting
{
22
public
:
23
explicit
InterruptTimeAccounting
(
bool
fromUserspace);
24
~InterruptTimeAccounting
();
25
27
static
void
finishUserReturn
(
Thread
* thread);
28
29
private
:
30
Thread
* m_pThread;
31
bool
m_bFromUserspace;
32
33
InterruptTimeAccounting
(
const
InterruptTimeAccounting
&) =
delete
;
34
InterruptTimeAccounting
& operator=(
const
InterruptTimeAccounting
&) =
delete
;
35
};
36
37
#endif
InterruptTimeAccounting
Definition
InterruptTimeAccounting.h:21
InterruptTimeAccounting::finishUserReturn
static void finishUserReturn(Thread *thread)
Definition
InterruptTimeAccounting.cc:39
Thread
Definition
Thread.h:75
Generated on Thu Sep 24 2026 06:24:01 for The Pedigree Project by
1.9.8