Trying to get Process Statistics using DCGM C API.
Code:
result = dcgmWatchPidFields(dcgmHandle,0, 1000000, 5, 0);
check_dcgm_error (result, “dcgmWatchPidFields”);
dcgmUpdateAllFields(dcgmHandle,1);
dcgmPidInfo_t pidInfoPtr;
pidInfoPtr.version = dcgmPidInfo_version;
pidInfoPtr.pid = pid;
result = dcgmGetPidInfo(dcgmHandle, 0,&pidInfoPtr);
Getting value 9223372036854775792 for following fields:
reliabilityViolationTime
boardLimitViolationTime
lowUtilizationTime
pcieRxBandwidth.average
pcieTxBandwidth.average
Am I missing something or this is a known issue?