Re: Fast performing Timer APIs in WinCE...



That doesn't require that you use timers, it requires that you implement
your wrapper functions, very different requirements. In this case, it could
be that your timer functions do nothing at all.

--
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:c16cb317-64c7-4dc0-8625-e2ead0428257@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Oct 30, 6:50 pm, "Bruce Eitman [eMVP]"
<bruce.eitman.nos...@xxxxxxxxxxxxxxxxxxx> wrote:
Are you saying that you have a requirement that actually says that you
should do this the hard way?

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

EuroTech Inc.www.EuroTech.com

<kamali.sriniva...@xxxxxxxxx> wrote in message

news:a67a36e2-202c-42f8-9a8b-a72088af0cd3@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Oct 28, 2:02 pm, Valter Minute





<v_a_l_t_e_r.m_i_n_u_t_e@xxxxxxxxxxxxx> wrote:
kamali.sriniva...@xxxxxxxxx wrote
innews:24925665-aa90-4782-86da-f7fee84ca876@xxxxxxxxxxxxxxxxxxxxxxxxxxx
m:

[...]

I get around 6 Mbps and 4.50 Mbps for read and write while using
interrupt without timer whereas i get only 4.07 and3.59 Mbps while
using timers.I would really appreciate if someone could throw me
some light on how to use the timer interrupts?

You can do a timed wait on the interrupt event to check for a timeout.
Since, as you said, this is an unikely condition (hardware failure or
something similar, I suppose) you can use the milliseconds resolution
that the standard WaitForSingleObject allows.

--
Valter Minutewww.fortechembeddedlabs.it
Training, support and development for Windows CE
(the reply address of this message is invalid)

hi,
Thanks a lot for your replies.Yeah what you all say is correct.It is
better to use the WaitForSingleObject with a timed wait for the
interrupt event but our requirement is to use the timer APIs.So in
that case are there any other APIs which i am missing out other than
the application timer APIs like SetTimer(),KillTimer() and MMTimer
APIs like timeSetEvent(),timeKillEvent()?- Hide quoted text -

- Show quoted text -

hi,
Our driver is basically being developed in other operating sytems
like linux and symbian as well.So it needs to be portable across
different OS and different hardware platforms.It was a requirement in
linux to use the timer APIs .So We have wrappers for starting the
timer,stopping timer etc.. which will have to implement different OS
specific timer implementations..Since linux driver uses kernel APIs
like add_timer their performance does not get hindered.


.



Relevant Pages

  • Re: Fast performing Timer APIs in WinCE...
    ... Bruce.Eitman AT EuroTech DOT com ... interrupt without timer whereas i get only 4.07 and3.59 Mbps while ... You can do a timed wait on the interrupt event to check for a timeout. ... the application timer APIs like SetTimer,KillTimerand MMTimer ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Fast performing Timer APIs in WinCE...
    ... Bruce.Eitman AT EuroTech DOT com ... interrupt without timer whereas i get only 4.07 and3.59 Mbps while ... the application timer APIs like SetTimer,KillTimerand MMTimer ... linux to use the timer APIs .So We have wrappers for starting the ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Fast performing Timer APIs in WinCE...
    ... be that your timer functions do nothing at all. ... Bruce Eitman (eMVP) ... interrupt without timer whereas i get only 4.07 and3.59 Mbps while ... the application timer APIs like SetTimer,KillTimerand MMTimer ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Timing Code line by line
    ... Can you suggest any APIs please?... ... i jsut downloaded NProf so gunna start ... > you'd be far better off looking for a profiling tool. ... >> Start timer ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: OMAP3530 Timer 4 Virtual Address not able to get.
    ... calling MmMapIoSpace() - kernel, driver, app, bootloader... ... Bruce.Eitman AT Eurotech DOT com ... and i couldn't configure the timer. ... I am trying this process in driver. ...
    (microsoft.public.windowsce.embedded)