#ifndef _NTEXAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)
NTSYSCALLAPI
NTSTATUS
NTAPI
NtQueryIntervalProfile(
_In_ KPROFILE_SOURCE ProfileSource,
_Out_ PULONG Interval
);
View code on GitHub
#ifndef _NTZWAPI_H
NTSYSCALLAPI
NTSTATUS
NTAPI
ZwQueryIntervalProfile(
_In_ KPROFILE_SOURCE ProfileSource,
_Out_ PULONG Interval
);
View code on GitHub
Function NtQueryIntervalProfile
retrieves currently set delay between performance counter's ticks. See also description of NtSetIntervalProfile
function.
Performance counter identifier defined in KPROFILE_SOURCE
enumeration type.
Pointer to ULONG
value receiving current interval, in ms. If received value is zero, counter specified in ProfileSource
parameter is hardware counter (performance counter build in CPU).