Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


GPU Frequency Query


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 KumGame07   Members   -  Reputation: 145

Like
0Likes
Like

Posted 10 February 2012 - 11:22 AM

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

Sponsor:

#2 MJP   Moderators   -  Reputation: 11781

Like
0Likes
Like

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.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS