#ifndef _NTEXAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)
/**
* The NtQueryIntervalProfile routine retrieves the interval for the specified profile source.
*
* \param ProfileSource The profile source (KPROFILE_SOURCE) to query.
* \param Interval A pointer to a variable that receives the interval, in 100-nanosecond units.
* \return NTSTATUS Successful or errant status.
*/
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
No description available.
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).