#include <nt.h>
#include <ntrtl.h>
#include <nturtl.h>
#include <string.h>
#include "ntnapdef.h"
#include "ntnap.h"
Go to the source code of this file.
Functions | |
VOID | NapDllInit (VOID) |
NTSTATUS | NapCreateDataSection (PNAPCONTROL *NapSectionPointer) |
VOID | NapRecordInfo (IN ULONG ServiceNumber, IN LARGE_INTEGER Counters[]) |
NTSTATUS | NapClearData (VOID) |
NTSTATUS | NapRetrieveData (OUT NAPDATA *NapApiData, OUT PCHAR **NapApiNames, OUT PLARGE_INTEGER *NapCounterFrequency) |
NTSTATUS | NapGetApiCount (OUT PULONG NapApiCount) |
NTSTATUS | NapPause (VOID) |
NTSTATUS | NapResume (VOID) |
Variables | |
BOOLEAN | NapInitialized = FALSE |
LARGE_INTEGER | NapFrequency |
PNAPCONTROL | NapControl = NULL |
PNAPDATA | NapProfilingData = NULL |
|
Definition at line 378 of file ntnap.c. References L, MAX_LONG, MAX_ULONG, NapProfilingData, and NapReleaseSpinLock(). Referenced by NapDllInit().
|
|
Definition at line 164 of file ntnap.c. References NT_SUCCESS, NtCreateSection(), NtMapViewOfSection(), NTSTATUS(), NULL, ObjectAttributes, and Status. Referenced by NapDllInit().
|
|
Definition at line 61 of file ntnap.c. References _NAPCONTROL::Initialized, L, MAX_LONG, MAX_ULONG, NapCalibrate(), NapClearData(), NapControl, NapCreateDataSection(), NapFrequency, NapInitialized, NapProfilingData, NT_SUCCESS, NtQueryPerformanceCounter(), NUM_ITERATIONS, _NAPCONTROL::Paused, and TRUE.
|
|
Definition at line 500 of file ntnap.c.
|
|
Definition at line 535 of file ntnap.c. References NapControl, and _NAPCONTROL::Paused.
|
|
Definition at line 255 of file ntnap.c. References NapControl, NapProfilingData, NapReleaseSpinLock(), NULL, and _NAPCONTROL::Paused.
|
|
Definition at line 565 of file ntnap.c. References NapControl, and _NAPCONTROL::Paused.
|
|
Definition at line 442 of file ntnap.c. References NapFrequency, NapNames, NapProfilingData, and NapReleaseSpinLock().
|
|
Definition at line 48 of file ntnap.c. Referenced by NapDllInit(), NapPause(), NapRecordInfo(), and NapResume(). |
|
Definition at line 42 of file ntnap.c. Referenced by NapDllInit(), and NapRetrieveData(). |
|
Definition at line 36 of file ntnap.c. Referenced by NapDllInit(). |
|
Definition at line 57 of file ntnap.c. Referenced by NapClearData(), NapDllInit(), NapRecordInfo(), and NapRetrieveData(). |