KITLinterruptthread



Hi all,
Iam testing GetIdletime functionality with following code

DWORD dwSleepStartMS = GetTickCount();
DWORD dwIdleStartMS = GetIdleTime();

Sleep (dwSleepTime);

DWORD dwIdleEndMS = GetIdleTime();
DWORD dwSleepEndMS = GetTickCount();

I executed this test case on tinykernel, but difference of GetIdletime
(dwIdleEndMS-dwIdleStartMS)
very less than dwsleepTime,
(if sleep time is 30000 milli sec then GetIdletime diff producing 25698)

I have checked in thread window status, there KITLInterruptthread consuming
more time,
I want Idletime at least near to sleeptime, how can achive this
please suggest solution

.



Relevant Pages

  • Re: KITLinterruptthread
    ... resume your thread becuase Sleep will not return. ... DWORD dwSleepStartMS = GetTickCount; ... DWORD dwIdleStartMS = GetIdleTime; ... I executed this test case on tinykernel, but difference of GetIdletime ...
    (microsoft.public.windowsce.embedded)
  • KITLinterruptthread
    ... DWORD dwSleepStartMS = GetTickCount; ... DWORD dwIdleStartMS = GetIdleTime; ... Sleep; ... I executed this test case on tinykernel, but difference of GetIdletime ...
    (microsoft.public.windowsce.embedded)
  • KITLinterruptthread
    ... DWORD dwSleepStartMS = GetTickCount; ... DWORD dwIdleStartMS = GetIdleTime; ... Sleep; ... I executed this test case on tinykernel, but difference of GetIdletime ...
    (microsoft.public.windowsce.embedded)