Need help for NVPMGetCounterValueByName
The code looks like this
return (NVPM_OK == NVPMGetCounterValueByName(const_cast<char*>(m_strPerfInfo[1].CStr()),
0, &value, &cycle)) ? (float)value / (float)cycle * 100.0f : PERFKIT_NOGOOD;
It need to show something like this 0.00 with decimal places, but cycle returns "100".
I know my question is little bit awkward, but if anyone could tell me about it, you are saving someone.
And one more thing, "Frame time" shows 16 something, even though I set it 60Hz.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement