Fast timer

Started by
1 comment, last by JohnBolton 18 years, 4 months ago
I'm doing a project and I need to put a clock of 1Mhz (period of 1 microsec )in a pin of my parallel port. But programming in Windows the minimum timer interval that I get is 1 milisec. How can I get a faster timer?? Has any function in a standard c++ lib? It's essential to me. Help me please. Thanks. Renato Eng.Eletrica - UFV
Advertisement
http://www.google.com/search?hs=ThS&hl=en&lr=&client=opera&rls=en&q=c%2B%2B+microsecond+timer&btnG=Search

first/second link: http://www.decompile.com/html/windows_timer_api.html

Hope that works for you.
QueryPerformanceCounter
John BoltonLocomotive Games (THQ)Current Project: Destroy All Humans (Wii). IN STORES NOW!

This topic is closed to new replies.

Advertisement