mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:27:45 +00:00
Kernel: More PID/TID typing
This commit is contained in:
parent
7bdf54c837
commit
bee08a4b9f
21 changed files with 67 additions and 60 deletions
|
@ -39,13 +39,13 @@ namespace Profiling {
|
|||
constexpr size_t max_stack_frame_count = 50;
|
||||
|
||||
struct Sample {
|
||||
i32 pid;
|
||||
i32 tid;
|
||||
ProcessID pid;
|
||||
ThreadID tid;
|
||||
u64 timestamp;
|
||||
u32 frames[max_stack_frame_count];
|
||||
};
|
||||
|
||||
extern u32 pid();
|
||||
extern ProcessID pid();
|
||||
extern String& executable_path();
|
||||
|
||||
Sample& next_sample_slot();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue