Blame include/ntapi/nt_profiling.h

dd89bb
#ifndef _NT_PROFILING_H_
dd89bb
#define _NT_PROFILING_H_
dd89bb
dd89bb
#include <psxtypes/psxtypes.h>
dd89bb
#include "nt_object.h"
dd89bb
dd89bb
typedef enum _nt_kprofile_source {
dd89bb
	NT_PROFILE_TIME
dd89bb
} nt_kprofile_source;
dd89bb
dd89bb
dd89bb
typedef int32_t __stdcall ntapi_zw_create_profile(
dd89bb
	__out	void **			hprofile,
dd89bb
	__in	void *			hprocess,
dd89bb
	__in	void *			base,
dd89bb
	__in	size_t			size,
dd89bb
	__in	uint32_t		bucket_shift,
dd89bb
	__in	uint32_t *		buffer,
dd89bb
	__in	size_t			buffer_length,
dd89bb
	__in	nt_kprofile_source	source,
dd89bb
	__in	uint32_t		process_mask);
dd89bb
dd89bb
dd89bb
typedef int32_t __stdcall ntapi_zw_set_interval_profile(
dd89bb
	__in	uint32_t		interval,
dd89bb
	__in	nt_kprofile_source	source);
dd89bb
dd89bb
dd89bb
typedef int32_t __stdcall ntapi_zw_query_interval_profile(
dd89bb
	__in	nt_kprofile_source	source,
dd89bb
	__out	uint32_t *		interval);
dd89bb
dd89bb
dd89bb
typedef int32_t __stdcall ntapi_zw_start_profile(
dd89bb
	__in	void *		hprofile);
dd89bb
dd89bb
dd89bb
typedef int32_t __stdcall ntapi_zw_stop_profile(
dd89bb
	__in	void *		hprofile);
dd89bb
dd89bb
#endif