History log of /haiku/headers/private/kernel/scheduling_analysis.h
Revision Date Author Comments
# 251eb00d 01-Apr-2015 Fredrik Holmqvist <fredrik.holmqvist@gmail.com>

Use B_PRId32.


# 5ea5f51d 22-Jun-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Changed ConditionVariable from class to struct to make it more C-friendly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31191 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 020ac568 03-Sep-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

* Fixed bug in the "scheduler" command: The check when a thread was
unscheduled was incorrect.
* Introduced _kern_analyze_scheduling() syscall. It requires scheduler
kernel tracing to be enabled. It uses the tracing entries for a given
period of time to do a similar analysis the "scheduler" debugger
command does (i.e. number of runs, run time, latencies, preemption
times) for each thread. Additionally the analysis includes for each
thread how long the thread waited on each locking primitive in total.
* Added kernel tracing for the creation of semaphores and initialization
of condition variables, mutexes, and rw locks. The enabling macro is
SCHEDULING_ANALYSIS_TRACING. The only purpose is to provide
_kern_analyze_scheduling() with more info on the locking primitives
(the name in particular).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27304 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 251eb00d518732016d731a861341cf222ca7bc3b 01-Apr-2015 Fredrik Holmqvist <fredrik.holmqvist@gmail.com>

Use B_PRId32.


# 5ea5f51d84026be4a0264981e735a54a796ce441 22-Jun-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Changed ConditionVariable from class to struct to make it more C-friendly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31191 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 020ac568404b8ab78825622d8815be48e987f649 03-Sep-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

* Fixed bug in the "scheduler" command: The check when a thread was
unscheduled was incorrect.
* Introduced _kern_analyze_scheduling() syscall. It requires scheduler
kernel tracing to be enabled. It uses the tracing entries for a given
period of time to do a similar analysis the "scheduler" debugger
command does (i.e. number of runs, run time, latencies, preemption
times) for each thread. Additionally the analysis includes for each
thread how long the thread waited on each locking primitive in total.
* Added kernel tracing for the creation of semaphores and initialization
of condition variables, mutexes, and rw locks. The enabling macro is
SCHEDULING_ANALYSIS_TRACING. The only purpose is to provide
_kern_analyze_scheduling() with more info on the locking primitives
(the name in particular).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27304 a95241bf-73f2-0310-859d-f6bbb57e9c96