Added a base struct for the scheduling event structures. To keep the interface

C friendly it's not an actual base class, but casting to it is fine.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30503 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2009-04-30 12:23:02 +00:00
parent 9073b0dccc
commit 22a332f0b0
1 changed files with 6 additions and 0 deletions

View File

@ -128,6 +128,12 @@ struct system_profiler_samples {
addr_t samples[0];
};
// base structure for the following three
struct system_profiler_thread_scheduling_event {
bigtime_t time;
thread_id thread;
};
// B_SYSTEM_PROFILER_THREAD_SCHEDULED
struct system_profiler_thread_scheduled {
bigtime_t time;