The kernel side of a new system-wide sampling-based profiling mechanism.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30127 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* Copyright 2009, Ingo Weinhold, [email protected].
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _KERNEL_SYSTEM_PROFILER_H
|
||||
#define _KERNEL_SYSTEM_PROFILER_H
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
#include <OS.h>
|
||||
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
status_t _user_system_profiler_start(area_id bufferArea,
|
||||
bigtime_t interval, int32 stackDepth);
|
||||
status_t _user_system_profiler_next_buffer(size_t bytesRead);
|
||||
status_t _user_system_profiler_stop();
|
||||
|
||||
__END_DECLS
|
||||
|
||||
|
||||
#endif /* _KERNEL_SYSTEM_PROFILER_H */
|
||||
Reference in New Issue
Block a user