Now fills in system_info::cpu_infos[] (ie. CPU activity) by looking at the active
time of the idle thread. IOW Pulse now works :-) Renamed the idle thread/stack to start with 1 instead of 0 (first idle thread will be called "idle thread 1"). Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13373 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -36,9 +36,10 @@ void thread_at_kernel_entry(void);
|
||||
void thread_at_kernel_exit(void);
|
||||
|
||||
status_t thread_init(struct kernel_args *args);
|
||||
status_t thread_per_cpu_init(int32 cpu_num);
|
||||
status_t thread_per_cpu_init(int32 cpuNum);
|
||||
void thread_exit(void);
|
||||
|
||||
bigtime_t thread_get_active_cpu_time(int32 cpuNum);
|
||||
int32 thread_max_threads(void);
|
||||
int32 thread_used_threads(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user