Archived

This topic is now archived and is closed to further replies.

Krippy2k

GetTickCount ???

Recommended Posts

Krippy2k    134
Hi there I was wondering if anybody could answer a question here. I notice when I run my program that anywhere from 20-40% of my execution time is spent in GetTickCount in the Kernel32.dll (according to VTune). However, I am not calling this anywhere in my code. First I thought it might have something to do with the timeGetTime() call that I do once per frame, but when I eliminate that call completely the usage of GetTickCount is still there and I don''t notice any performance improvement. Is this something that my video driver might be doing? Or SwapBuffers? I am using OpenGL, Direct Input and DirectAudio. My video card is a Geforce 2 GTS Pro. I am not using any custom or 3rd party libraries other than these. Thanks for any insight Krippy

Share this post


Link to post
Share on other sites
jakovo    476
some times DirectX uses GetTickCount() internaly...

you should get a deeper look at your code (and how DirectX works) and see where DirectX is using internaly this function.

nice day

Share this post


Link to post
Share on other sites