Click here to Skip to main content
15,887,135 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Drag n Drop not accepting file outside of application Pin
TheHelenLee12-Sep-11 14:36
TheHelenLee12-Sep-11 14:36 
AnswerRe: Drag n Drop not accepting file outside of application Pin
TheHelenLee12-Sep-11 16:18
TheHelenLee12-Sep-11 16:18 
QuestionMicrosecond timer Pin
azhari2411-Sep-11 15:24
azhari2411-Sep-11 15:24 
AnswerRe: Microsecond timer Pin
David Crow11-Sep-11 17:24
David Crow11-Sep-11 17:24 
GeneralRe: Microsecond timer Pin
azhari2412-Sep-11 2:37
azhari2412-Sep-11 2:37 
AnswerRe: Microsecond timer Pin
CPallini11-Sep-11 22:17
mveCPallini11-Sep-11 22:17 
GeneralRe: Microsecond timer Pin
azhari2412-Sep-11 2:38
azhari2412-Sep-11 2:38 
AnswerRe: Microsecond timer Pin
Erudite_Eric12-Sep-11 1:25
Erudite_Eric12-Sep-11 1:25 
Clock granularity on Windows is about 9 milliseconds. And thats if you are lucky. It is not a real time OS, so even that is not guaranteed. Especially form user mode. If you have any kind of hardware activity your user mode thread is going to get slung off the CPU.

Even in the kernel you cant get this kind of timing, the granularity is the same, and although their threads have higher priority than user mode, any kind of interrupt or dispatch level activity is also gong to suspend your thread.

It is quesitonable whether you want 1 microsoecond timing; the clock rate of the UART is probably not that fast (thnik 115200 bps), and that's per bit. The UART is going to asemble those into bytes, dividing the speed by at least 8 (depending on start and stop bits), and pack them in a buffer (if the UART hasnt got a receive buffer its a really shonky piece of HW). FFIOs are normally 8 bytes minimum so your rate of needing to service the receive data on the UART is divided by another 8.


What is the problem you are trying to solve here? Perhaps if you told us that we can offer some advice.
==============================

Nothing to say.

GeneralRe: Microsecond timer Pin
azhari2412-Sep-11 2:39
azhari2412-Sep-11 2:39 
AnswerRe: Microsecond timer Pin
azhari2412-Sep-11 3:08
azhari2412-Sep-11 3:08 
GeneralRe: Microsecond timer Pin
Erudite_Eric12-Sep-11 4:14
Erudite_Eric12-Sep-11 4:14 
AnswerRe: Microsecond timer Pin
jschell12-Sep-11 8:40
jschell12-Sep-11 8:40 
GeneralRe: Microsecond timer Pin
enhzflep12-Sep-11 8:48
enhzflep12-Sep-11 8:48 
GeneralRe: Microsecond timer [modified] Pin
Erudite_Eric12-Sep-11 20:42
Erudite_Eric12-Sep-11 20:42 
GeneralRe: Microsecond timer Pin
pandit8413-Sep-11 3:59
pandit8413-Sep-11 3:59 
GeneralRe: Microsecond timer Pin
azhari2413-Sep-11 9:46
azhari2413-Sep-11 9:46 
GeneralRe: Microsecond timer Pin
jschell13-Sep-11 11:42
jschell13-Sep-11 11:42 
GeneralRe: Microsecond timer [modified] Pin
azhari2413-Sep-11 18:57
azhari2413-Sep-11 18:57 
GeneralRe: Microsecond timer Pin
Erudite_Eric13-Sep-11 22:46
Erudite_Eric13-Sep-11 22:46 
GeneralRe: Microsecond timer Pin
azhari2413-Sep-11 18:58
azhari2413-Sep-11 18:58 
GeneralRe: Microsecond timer Pin
azhari2413-Sep-11 18:54
azhari2413-Sep-11 18:54 
QuestionGetting the handle of a PictureBox in MFC Pin
Tom Moore11-Sep-11 2:16
Tom Moore11-Sep-11 2:16 
AnswerRe: Getting the handle of a PictureBox in MFC Pin
Randor 11-Sep-11 3:34
professional Randor 11-Sep-11 3:34 
QuestionHow to use the hook function of Windows FileOpen dialog Pin
clever10110-Sep-11 1:29
clever10110-Sep-11 1:29 
AnswerRe: How to use the hook function of Windows FileOpen dialog Pin
Philippe Mori10-Sep-11 16:25
Philippe Mori10-Sep-11 16:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.