Classes | Defines | Typedefs | Enumerations | Functions
NVPerfSDK.h File Reference

Go to the source code of this file.

Classes

struct  _NVPMSampleValue

Defines

#define NVPM_INFINITE_VAL   0xFFFFFFFFFFFFFFFF
#define NVPM_MAX_OBJECTS   4096
#define NVPMAPI_INTERFACE   extern NVPMRESULT
#define NVPMRESULT_DEFINED

Typedefs

typedef int NVPMEnumFunc (UINT unCounterIndex, char *pcCounterName)
typedef struct _NVPMSampleValue NVPMSampleValue
typedef unsigned int UINT
typedef unsigned long long UINT64

Enumerations

enum  NVPMATTRIBUTE { NVPMA_COUNTER_TYPE, NVPMA_COUNTER_VALUE, NVPMA_COUNTER_DISPLAY_HINT, NVPMA_COUNTER_MAX }
enum  NVPMCOUNTERDISPLAYHINT { NVPM_CDH_PERCENT, NVPM_CDH_RAW }
enum  NVPMCOUNTERTYPE { NVPM_CT_GPU, NVPM_CT_OGL, NVPM_CT_D3D, NVPM_CT_SIMEXP }
enum  NVPMCOUNTERVALUE { NVPM_CV_PERCENT, NVPM_CV_RAW }
enum  NVPMRESULT {
  NVPM_OK, NVPM_ERROR_INVALID_PARAMETER, NVPM_ERROR_DRIVER_MISMATCH, NVPM_ERROR_NOT_INITIALIZED,
  NVPM_ERROR_BAD_ENUMERATOR, NVPM_ERROR_STRING_TOO_SMALL, NVPM_ERROR_INVALID_COUNTER, NVPM_ERROR_OUT_OF_MEMORY,
  NVPM_ERROR_NOT_IN_EXPERIMENT, NVPM_ERROR_EXPERIMENT_INCOMPLETE, NVPM_ERROR_INVALID_PASS, NVPM_ERROR_NOT_IN_PASS,
  NVPM_ERROR_IN_PASS, NVPM_ERROR_NOT_IN_OBJECT, NVPM_ERROR_IN_OBJECT, NVPM_ERROR_INVALID_OBJECT,
  NVPM_ERROR_COUNTER_NOT_ENABLED, NVPM_ERROR_COUNTER_NOT_FOUND, NVPM_ERROR_EXPERIMENT_NOT_RUN, NVPM_ERROR_EXPERIMENT_RUNNING,
  NVPM_ERROR_32BIT_ON_64BIT, NVPM_ERROR_INTERNAL
}

Functions

NVPMAPI_INTERFACE NVPMAddCounter (UINT unCounterIndex)
NVPMAPI_INTERFACE NVPMAddCounterByName (char *pcName)
NVPMAPI_INTERFACE NVPMAddCounters (UINT unCount, UINT *punCounterIndices)
NVPMAPI_INTERFACE NVPMAllocObjects (int)
NVPMAPI_INTERFACE NVPMBeginExperiment (int *pnNumPasses)
NVPMAPI_INTERFACE NVPMBeginObject (int nObjectID)
NVPMAPI_INTERFACE NVPMBeginPass (int nPass)
NVPMAPI_INTERFACE NVPMEndExperiment ()
NVPMAPI_INTERFACE NVPMEndObject (int nObjectID)
NVPMAPI_INTERFACE NVPMEndPass (int nPass)
NVPMAPI_INTERFACE NVPMEnumCounters (NVPMEnumFunc pEnumFunction)
NVPMAPI_INTERFACE NVPMGetCounterAttribute (UINT unCounterIndex, NVPMATTRIBUTE nvAttribute, UINT64 *punValue)
NVPMAPI_INTERFACE NVPMGetCounterClockRate (char *pcString, float *pfValue)
NVPMAPI_INTERFACE NVPMGetCounterDescription (UINT unCounterIndex, char *pcString, UINT *punLen)
NVPMAPI_INTERFACE NVPMGetCounterIndex (char *pcString, UINT *punCounterIndex)
NVPMAPI_INTERFACE NVPMGetCounterName (UINT unCounterIndex, char *pcString, UINT *punLen)
NVPMAPI_INTERFACE NVPMGetCounterValue (UINT unCounterIndex, int nObjectID, UINT64 *pulValue, UINT64 *pulCycles)
NVPMAPI_INTERFACE NVPMGetCounterValueByName (char *pcName, int nObjectID, UINT64 *pulValue, UINT64 *pulCycles)
NVPMAPI_INTERFACE NVPMGetExtendedError (UINT *pnError)
NVPMAPI_INTERFACE NVPMGetGPUBottleneckName (UINT64 ulValue, char *pcName)
NVPMAPI_INTERFACE NVPMGetNumCounters (UINT *punCount)
NVPMAPI_INTERFACE NVPMInit ()
NVPMAPI_INTERFACE NVPMRemoveAllCounters ()
NVPMAPI_INTERFACE NVPMRemoveCounter (UINT unCounterIndex)
NVPMAPI_INTERFACE NVPMRemoveCounterByName (char *pcName)
NVPMAPI_INTERFACE NVPMRemoveCounters (UINT unCount, UINT *punCounterIndices)
NVPMAPI_INTERFACE NVPMSample (NVPMSampleValue *pSamples, UINT *punCount)
NVPMAPI_INTERFACE NVPMSetWarningLevel (UINT unLevel)
NVPMAPI_INTERFACE NVPMShutdown ()

Define Documentation

#define NVPM_INFINITE_VAL   0xFFFFFFFFFFFFFFFF

Definition at line 60 of file NVPerfSDK.h.

#define NVPM_MAX_OBJECTS   4096

Definition at line 152 of file NVPerfSDK.h.

#define NVPMAPI_INTERFACE   extern NVPMRESULT

Definition at line 97 of file NVPerfSDK.h.

Definition at line 87 of file NVPerfSDK.h.


Typedef Documentation

typedef int NVPMEnumFunc(UINT unCounterIndex, char *pcCounterName)

Definition at line 109 of file NVPerfSDK.h.

typedef unsigned int UINT

Definition at line 57 of file NVPerfSDK.h.

typedef unsigned long long UINT64

Definition at line 58 of file NVPerfSDK.h.


Enumeration Type Documentation

Enumerator:
NVPMA_COUNTER_TYPE 
NVPMA_COUNTER_VALUE 
NVPMA_COUNTER_DISPLAY_HINT 
NVPMA_COUNTER_MAX 

Definition at line 131 of file NVPerfSDK.h.

Enumerator:
NVPM_CDH_PERCENT 
NVPM_CDH_RAW 

Definition at line 130 of file NVPerfSDK.h.

Enumerator:
NVPM_CT_GPU 
NVPM_CT_OGL 
NVPM_CT_D3D 
NVPM_CT_SIMEXP 

Definition at line 128 of file NVPerfSDK.h.

Enumerator:
NVPM_CV_PERCENT 
NVPM_CV_RAW 

Definition at line 129 of file NVPerfSDK.h.

enum NVPMRESULT
Enumerator:
NVPM_OK 
NVPM_ERROR_INVALID_PARAMETER 
NVPM_ERROR_DRIVER_MISMATCH 
NVPM_ERROR_NOT_INITIALIZED 
NVPM_ERROR_BAD_ENUMERATOR 
NVPM_ERROR_STRING_TOO_SMALL 
NVPM_ERROR_INVALID_COUNTER 
NVPM_ERROR_OUT_OF_MEMORY 
NVPM_ERROR_NOT_IN_EXPERIMENT 
NVPM_ERROR_EXPERIMENT_INCOMPLETE 
NVPM_ERROR_INVALID_PASS 
NVPM_ERROR_NOT_IN_PASS 
NVPM_ERROR_IN_PASS 
NVPM_ERROR_NOT_IN_OBJECT 
NVPM_ERROR_IN_OBJECT 
NVPM_ERROR_INVALID_OBJECT 
NVPM_ERROR_COUNTER_NOT_ENABLED 
NVPM_ERROR_COUNTER_NOT_FOUND 
NVPM_ERROR_EXPERIMENT_NOT_RUN 
NVPM_ERROR_EXPERIMENT_RUNNING 
NVPM_ERROR_32BIT_ON_64BIT 
NVPM_ERROR_INTERNAL 

Definition at line 63 of file NVPerfSDK.h.


Function Documentation

NVPMAPI_INTERFACE NVPMAddCounter ( UINT  unCounterIndex)
NVPMAPI_INTERFACE NVPMAddCounters ( UINT  unCount,
UINT punCounterIndices 
)
NVPMAPI_INTERFACE NVPMBeginExperiment ( int *  pnNumPasses)
NVPMAPI_INTERFACE NVPMBeginObject ( int  nObjectID)
NVPMAPI_INTERFACE NVPMEndObject ( int  nObjectID)
NVPMAPI_INTERFACE NVPMGetCounterAttribute ( UINT  unCounterIndex,
NVPMATTRIBUTE  nvAttribute,
UINT64 punValue 
)
NVPMAPI_INTERFACE NVPMGetCounterClockRate ( char *  pcString,
float *  pfValue 
)
NVPMAPI_INTERFACE NVPMGetCounterDescription ( UINT  unCounterIndex,
char *  pcString,
UINT punLen 
)
NVPMAPI_INTERFACE NVPMGetCounterIndex ( char *  pcString,
UINT punCounterIndex 
)
NVPMAPI_INTERFACE NVPMGetCounterName ( UINT  unCounterIndex,
char *  pcString,
UINT punLen 
)
NVPMAPI_INTERFACE NVPMGetCounterValue ( UINT  unCounterIndex,
int  nObjectID,
UINT64 pulValue,
UINT64 pulCycles 
)
NVPMAPI_INTERFACE NVPMGetCounterValueByName ( char *  pcName,
int  nObjectID,
UINT64 pulValue,
UINT64 pulCycles 
)
NVPMAPI_INTERFACE NVPMGetGPUBottleneckName ( UINT64  ulValue,
char *  pcName 
)
NVPMAPI_INTERFACE NVPMRemoveCounters ( UINT  unCount,
UINT punCounterIndices 
)
NVPMAPI_INTERFACE NVPMSample ( NVPMSampleValue pSamples,
UINT punCount 
)


rve_render_server
Author(s): Josh Faust
autogenerated on Wed Dec 11 2013 14:31:15