mirror of
https://review.haiku-os.org/haiku
synced 2025-01-22 06:16:03 +01:00
24 lines
492 B
C
24 lines
492 B
C
|
/*
|
||
|
* Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||
|
* 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 */
|