Jump to content
  • Advertisement
Sign in to follow this  
KumGame07

GPU Frequency Query

This topic is 2498 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey guys,

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).
<code>

D3D11_QUERY_DATA_TIMESTAMP_DISJOINT tsDisjoint
context->GetData(disjointQuery, &tsDisjoint, sizeof(tsDisjoint), 0)
print (tsDisjoint.Frequency)
<!code>

Isn't this 'tsDisjoint.Frequency' represented in Hz ? I think its not; if son, how can we convert this to Hz ?

Regards,
KumGame

Share this post


Link to post
Share on other sites
Advertisement
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!