History log of /haiku/src/apps/debuganalyzer/model/Model.h
Revision Date Author Comments
# e3bd3d83 07-Nov-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Add methods {Add,Remove}AssociatedData()

Allows to associate untyped data with the model, which the model free()s
upon destruction.


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


# c3e066cf 16-Dec-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Replaced uses of obsolescent BReference[able] API.


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


# f0a592fd 23-Dec-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Added IOOperation and IORequest accessors and support methods.


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


# 934a8d01 21-Dec-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Model: Added class IOScheduler, a list of IOSchedulers, and a methods to
access it.
* ModelLoader:
- Also add IOSchedulers to the model.
- Sort the per thread list of IORequests by start time.
- Added a bit of output in the _HandleIO*() methods when we don't know a
request or operation.


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


# c2354448 21-Dec-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Model: Added classes IOOperation and IORequest, and extended Thread to own a
list of IORequests.
* ModelLoader: Process the I/O request and operation related events and create
the per-thread list of requests.


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


# a63809d3 20-Dec-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

ModelLoader does now also create an event array per thread with all the events
for that thread.


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


# 6d5e661d 09-Dec-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Although it takes a bit of memory, the Model also stores an array with
pointers to all events now. This allows for backward iteration.
* Model::ThreadWaitObjectGroup: Added a few convenience getters.
* Added functions thread_state_name() and wait_object_type_name() to translate
a ThreadState respectively a wait object type into a readable string.


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


# bea40bcd 08-Dec-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Also compute the number of CPUs and the idle time of each CPU.
* Show the CPU count and the total idle time in the "General" page.


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


# d8d4b902 07-Dec-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* The system profiler scheduling event structures sport nanotime_ts now.
* Adjusted the DebugAnalyzer to handle nanosecond times.


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


# 4e890d34 07-Dec-2009 Axel Dörfler <axeld@pinc-software.de>

* Added a WaitingObjects page to the debug analyzer; I don't consider it
finished yet (it's a simple list of all waiting object groups, but should be
a tree), but it might already be helpful enough.


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


# d4d63490 28-Jul-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Moved ThreadInfo from ModelLoader to Model. And renamed it to
ThreadSchedulingState. Also moved the management of the thread scheduling
states into a new model class SchedulingState, which is now used by
ModelLoader.
* Added scheduling state snapshots to Model. The ModelLoader adds a complete
snapshot every 1024 events, so that seeking to scheduling state at a time
can be done quickly.
* [Featuring stippi] Added actual functionality to the scheduling page. It
shows the scheduling activity of all threads and one can zoom in and out.
Looks somewhat ugly and is work in progress.


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


# e8e86a50 29-Apr-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Added getters for the event data.


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


# e9b47e48 26-Apr-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Added ThreadWaitObject getters for the wait count and time.


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


# b592dac0 26-Apr-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Added handy ThreadWaitObject getters.


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


# 055d771c 25-Apr-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Added getters for thread wait objects/object groups.


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


# 31391fed 25-Apr-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Added base time, last event time, and data source name to the model.


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


# 37ea7254 25-Apr-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Reorganized sources.


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


# e3bd3d8334683ab4d11a2ae9642416f39c31263b 07-Nov-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Add methods {Add,Remove}AssociatedData()

Allows to associate untyped data with the model, which the model free()s
upon destruction.


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


# c3e066cf6d35a86d29396d4e740f9811e506b66c 16-Dec-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Replaced uses of obsolescent BReference[able] API.


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


# f0a592fd2215b5a349ae791d3bad99aa4970891a 23-Dec-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Added IOOperation and IORequest accessors and support methods.


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


# 934a8d011362c7a1943caad2e0da22b0d0a6c9a1 21-Dec-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Model: Added class IOScheduler, a list of IOSchedulers, and a methods to
access it.
* ModelLoader:
- Also add IOSchedulers to the model.
- Sort the per thread list of IORequests by start time.
- Added a bit of output in the _HandleIO*() methods when we don't know a
request or operation.


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


# c235444841d85e9b231ca58481979bcbbc98a5eb 21-Dec-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Model: Added classes IOOperation and IORequest, and extended Thread to own a
list of IORequests.
* ModelLoader: Process the I/O request and operation related events and create
the per-thread list of requests.


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


# a63809d378bf41535f5459799c594200992356d3 20-Dec-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

ModelLoader does now also create an event array per thread with all the events
for that thread.


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


# 6d5e661da42c571cf4a5b52615dd1293ca87e5c5 09-Dec-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Although it takes a bit of memory, the Model also stores an array with
pointers to all events now. This allows for backward iteration.
* Model::ThreadWaitObjectGroup: Added a few convenience getters.
* Added functions thread_state_name() and wait_object_type_name() to translate
a ThreadState respectively a wait object type into a readable string.


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


# bea40bcd495c3aff2606fe67218abb258d747914 08-Dec-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Also compute the number of CPUs and the idle time of each CPU.
* Show the CPU count and the total idle time in the "General" page.


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


# d8d4b902cb1b24645c5a730e3a8b279201b94419 07-Dec-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* The system profiler scheduling event structures sport nanotime_ts now.
* Adjusted the DebugAnalyzer to handle nanosecond times.


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


# 4e890d3456660b066fa67941130a12856a2d389e 07-Dec-2009 Axel Dörfler <axeld@pinc-software.de>

* Added a WaitingObjects page to the debug analyzer; I don't consider it
finished yet (it's a simple list of all waiting object groups, but should be
a tree), but it might already be helpful enough.


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


# d4d63490afaa02ff9413bc9d8181bbede81b0610 28-Jul-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Moved ThreadInfo from ModelLoader to Model. And renamed it to
ThreadSchedulingState. Also moved the management of the thread scheduling
states into a new model class SchedulingState, which is now used by
ModelLoader.
* Added scheduling state snapshots to Model. The ModelLoader adds a complete
snapshot every 1024 events, so that seeking to scheduling state at a time
can be done quickly.
* [Featuring stippi] Added actual functionality to the scheduling page. It
shows the scheduling activity of all threads and one can zoom in and out.
Looks somewhat ugly and is work in progress.


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


# e8e86a50aa169eb945d3a3ad2302c1d8a63a26b0 29-Apr-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Added getters for the event data.


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


# e9b47e4853399fb7b380105b8274cd17df455568 26-Apr-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Added ThreadWaitObject getters for the wait count and time.


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


# b592dac021a480a94c63575f2944d94114c7f619 26-Apr-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Added handy ThreadWaitObject getters.


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


# 055d771c51006b775a8f5ef2d2acf211775cef70 25-Apr-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Added getters for thread wait objects/object groups.


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


# 31391fed6b522cf2598364428590432e15490d93 25-Apr-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Added base time, last event time, and data source name to the model.


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


# 37ea725498bdf48e51dfbeb7b8befb3e59f2cb5b 25-Apr-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Reorganized sources.


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