|
-
April 20th, 1999, 07:10 AM
#1
Make a time delay < 1 ms
We use ::Sleep(x) to stop the program for x ms.
But we want to be able to stop the program with less then 1 ms delay.
(We doesn't want to use while(1)...... x++)
How should we do when we are running the program for Windows NT?
Is it possible to make a delay through BIOS commands??
-
April 29th, 1999, 01:48 PM
#2
Re: Make a time delay < 1 ms
hi,
check QueryPerformanceCounter and QueryPerformanceFrequency from SDK
u can have a loop running finding the time lapse !
if ur sure of assembly write a delay routine ( u should find them in basic microprocessor books )
bye
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
|