Results 1 to 19 of 19

Thread: How to accurately time code execution

Threaded View

  1. #15

    Thread Starter
    Addicted Member Witis's Avatar
    Join Date
    Jan 2011
    Location
    VB Forums Online Freedom Mode: Operational
    Posts
    213

    Re: How to accurately time code execution

    Hi Doogle, I'll try it in a sec, although didn't you mention a 10% variation in 100 ns already, I think that might be it also?
    Edit: I wasn't able to use currency - overflow error, doubles should be ok as only working with integers therefore no rounding errors as far as I am aware...

    Hi Cube8, give Doogle's suggestion a go. The example in post 10 has been updated and is now in a workable form to test the execution time.
    Last edited by Witis; Nov 22nd, 2011 at 01:46 AM.
    All men have an inherent right to life, the right to self determination including freedom from forced or compulsory labour, a right to hold opinions and the freedom of expression, and the right to a fair trial and freedom from torture. Be aware that these rights are universal and inalienable (cannot be given, taken or otherwise transferred or removed) although you do risk losing the aforementioned rights should you fail to uphold them e.g Charles Taylor; United Nations sources: http://www.un.org/en/documents/udhr/, http://www.ohchr.org/EN/Professional...ages/CCPR.aspx. Also Charles I was beheaded on the 30th of January of 1649 for trying to replace parliamentary democracy with an absolute monarchy, the same should happen to Dr Phil and Stephen Fry; source: http://www.vbforums.com/showthread.p...ute-Monarchism.

    The plural of sun is stars you Catholic turkeys.

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