1 /* 2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef _KERNEL_SYSTEM_PROFILER_H 6 #define _KERNEL_SYSTEM_PROFILER_H 7 8 #include <sys/cdefs.h> 9 10 #include <OS.h> 11 12 13 __BEGIN_DECLS 14 15 status_t _user_system_profiler_start(area_id bufferArea, 16 bigtime_t interval, int32 stackDepth); 17 status_t _user_system_profiler_next_buffer(size_t bytesRead); 18 status_t _user_system_profiler_stop(); 19 20 __END_DECLS 21 22 23 #endif /* _KERNEL_SYSTEM_PROFILER_H */ 24