gettickcount vs. sleep. which one is better?
my program takes a screenshot every 3 seconds and analyzes it. im currently using the Sleep api to do this.. but im wondering if gettickcount is more efficient. What are the advantages/disadvantages of each one? Which one is easier on the CPU/memory?
Re: gettickcount vs. sleep. which one is better?
I would say the Sleep API call as it does actually stop everything for the set ammount of time.
Cheers,
RyanJ
Re: gettickcount vs. sleep. which one is better?
http://www.visualbasicforum.com/showthread.php?t=8069
^^^ compares and talks about other methods as well
BIOSTALL
Re: gettickcount vs. sleep. which one is better?
very helpful link.. thanks :afrog: