Access graphic card clock programmatically

白昼怎懂夜的黑 提交于 2020-01-03 06:46:08

问题


Is it possible to use graphic card clock from a windows application? More specifically - is it possible to somehow make graphic card to send interrupts on clock events (tick?) and hook to it from a software?

What I am trying to say is that PC clocks arent good. precision clocks cost a lot of money plus they are difficult when it comes to colo (GPS signal is not available and atomic clocks cost an arm and a leg and more). I read that new graphic cards have precision clocks on them. So my immediate thought - can I use them to sync my app with precision down to 100ns perhaps (mental note to myself)? any ideas?

P.S. Or audio card on that matter... P.P.S. PLEASE answer the question - can I hook up to a graphic/audio card internal clock, not the windows vs linux discussion. thank you


回答1:


No, you cannot "use them to sync my app with precision down to 100ns perhaps". Interrupt processing jitter can be greater than 100ns. You'd need to use the very highest-priority interrupt and never let interrupts be disabled.

Then you want this in .NET? Non-deterministic garbage collection and precision timing just aren't compatible. Pick a platform more suited to your requirements.



来源:https://stackoverflow.com/questions/9040967/access-graphic-card-clock-programmatically

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!