blob: ef0f2544bc671221cd418c710126568955720dc5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
#ifndef _NT_PROFILING_H_
#define _NT_PROFILING_H_
#include "nt_abi.h"
#include "nt_object.h"
typedef enum _nt_kprofile_source {
NT_PROFILE_TIME
} nt_kprofile_source;
typedef int32_t __stdcall ntapi_zw_create_profile(
__out void ** hprofile,
__in void * hprocess,
__in void * base,
__in size_t size,
__in uint32_t bucket_shift,
__in uint32_t * buffer,
__in size_t buffer_length,
__in nt_kprofile_source source,
__in uint32_t process_mask);
typedef int32_t __stdcall ntapi_zw_set_interval_profile(
__in uint32_t interval,
__in nt_kprofile_source source);
typedef int32_t __stdcall ntapi_zw_query_interval_profile(
__in nt_kprofile_source source,
__out uint32_t * interval);
typedef int32_t __stdcall ntapi_zw_start_profile(
__in void * hprofile);
typedef int32_t __stdcall ntapi_zw_stop_profile(
__in void * hprofile);
#endif
|