CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2002
    Posts
    132

    Accurate Timers???

    Hi does anyone here have any suggestions of accurate timers?

    i've tried the timers in visual c# but they are not accurate at all. I've also attempted to use the multimedia timers using winmm.dll but i am having some issues that i don't know how to solve. i.e. it would run at a high resolution but then it would die on me every so often.

    So i was wondering if anyone here had any recommendations on how to implement an accurate timer (10ms resolution if possible).

    Thanks

  2. #2
    Join Date
    May 2007
    Posts
    1,546

    Re: Accurate Timers???

    Quote Originally Posted by iso9 View Post
    So i was wondering if anyone here had any recommendations on how to implement an accurate timer (10ms resolution if possible).

    Thanks
    Then the built in timers are more than good enough for your purpose. Which of the (many) timers did you use and how are you measuring how accurate they are?
    www.monotorrent.com For all your .NET bittorrent needs

    NOTE: My code snippets are just snippets. They demonstrate an idea which can be adapted by you to solve your problem. They are not 100% complete and fully functional solutions equipped with error handling.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured