Re: Fast performing Timer APIs in WinCE...



I agree with Chris, this does not compute. But since this is a driver, and
you are the OEM, if your CPU has an extra timer interrupt that you can use,
then use one of the timer interrupts. This way you have full control and
skip a lot of overhead.

--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com
My BLOG http://geekswithblogs.net/bruceeitman

EuroTech Inc.
www.EuroTech.com

<kamali.srinivasan@xxxxxxxxx> wrote in message
news:4412b29f-d25d-4be6-9b74-3d84b95a1f5b@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
hello,
I am looking for Timer APIs in WinCE6.0.I need to start a timer
with some timeout value and i need a callback to be signalled after
the timeout value expires.We need to use these timer APIs in our
storage driver .Since it is a driver we cannot use the Timer APIs like
SetTimer ,KillTimer as they are application timers and require a
message loop.Thus we went in for using the timer driver APIs (Mmtimer
library) like timeSetEvent() and timeKillEvent() but on using them the
read/Write performance of the storage driver is bad even after
disabling the cache manager.Is there any other timer APIs which would
speed up the performance.I would really appreciate if someone could
help me out.

Regards
Kamali


.



Relevant Pages

  • Re: device driver for the SGI system clock, mmtimer
    ... Here is the driver with the interrupt support "killed". ... The timer hardware was designed around the multimedia timer specification by ... +static int mmtimer_ioctl; ... * of the page where the registers are mapped) for the counter in question. ...
    (Linux-Kernel)
  • [PATCH] Remove if_watchdog use
    ... private timer to drive a stats timer and I merely hooked into that timer. ... other cases a new callout needed to be added to the driver. ... Hooks into the stat timer to drive the watchdog timer. ...
    (freebsd-current)
  • [PATCH] Remove if_watchdog use
    ... private timer to drive a stats timer and I merely hooked into that timer. ... other cases a new callout needed to be added to the driver. ... Hooks into the stat timer to drive the watchdog timer. ...
    (freebsd-net)
  • Re: High resolution timer
    ... Just modify the GPT driver to not ... implement the timer functionality directly into your driver. ... start and stop the clock generating the interrupt from your driver code. ... microseconds. ...
    (microsoft.public.windowsce.platbuilder)
  • [PATCH] documentation: move hpet.txt to timers/ subdirectory
    ... info on using the Hayes ESP serial driver. ... -The High Precision Event Timer hardware is the future replacement ... -Each HPET can have up to 32 timers. ... There is a user space API and a kernel space API. ...
    (Linux-Kernel)