Recently I wrote a sample to calculate the time GPU spends to render things, and I just printed out the GPU frequency too in the code. Surprisingly, the frequecy I got were not matching the actual frequency of the GPU (which I know for sure).
context->GetData(disjointQuery, &tsDisjoint, sizeof(tsDisjoint), 0)
Isn't this 'tsDisjoint.Frequency' represented in Hz ? I think its not; if son, how can we convert this to Hz ?
GPU Frequency Query
1 reply to this topic
Moderators - Reputation: 12166
Posted 10 February 2012 - 12:49 PM
A disjoint query just gives you a value you can use to convert ticks from timestamp query into seconds. It's basically a GPU counterpart of QueryPerformanceFrequency. The docs don't say anything about it being an actual physical clock speed on the GPU.