|
-
Apr 11th, 2005, 05:22 AM
#1
Thread Starter
Member
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?
-
Apr 11th, 2005, 05:26 AM
#2
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
-
Apr 11th, 2005, 05:33 AM
#3
Addicted Member
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
-
Apr 11th, 2005, 05:37 AM
#4
Thread Starter
Member
Re: gettickcount vs. sleep. which one is better?
very helpful link.. thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|