[Mono-list] A substitute to the high definition clockQueryPerformanceCounter

HannibAl Bundie hannibalbundie@hotmail.com
Mon, 26 Apr 2004 10:18:36 +0200


Thanks for your answer.

Unfortunately, I don't think GetTickCount is enough for my application. 
Nevertheless, I'm ok to try with this function. But, if I'm not wrong, 
GetTickCount is also dependent of windows because it needs kernel32 ?
I'm a newbie in C# and particulary in Mono. So, if you have personnaly 
succeeded in using GetTickCount under linux system I would like you tell me 
how you do it.

Thanks


>From: Mark Gimelfarb <mark@dawebber.com>
>To: mono-list@lists.ximian.com
>Subject: Re: [Mono-list] A substitute to the high definition 
>clockQueryPerformanceCounter ?
>Date: Fri, 23 Apr 2004 22:53:52 -0500
>
>
>Have you tried GetTickCount? The best resolution you can achieve is only
>1ms, but it should be enough for most "usual" tasks.
>
>Regards,
>	Mark.
>
>
>On Fri, 2004-04-23 at 07:07, HannibAl Bundie wrote:
> > Hi,
> >
> > I need a high definition clock but unfortunately,  that which I used on
> > windows (QueryPerformanceCounter / QueryPerformanceFrequency) is 
>dependent
> > on this OS.
> > So is there an alternative (in Mono.Posix or other stuff like this) to
> > QueryPerformance ?
> >
> > Any suggestion would be greatly appreciated.
> >
> > Thanks
> >
> > _________________________________________________________________
> > Is your PC infected? Get a FREE online computer virus scan from McAfee
> > Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
> >
> > _______________________________________________
> > Mono-list maillist  -  Mono-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
>
>_______________________________________________
>Mono-list maillist  -  Mono-list@lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-list

_________________________________________________________________
Recevez par e-mail des émoticônes pour MSN Messenger 
http://g.msn.fr/FR1001/2275?url=http://www.msn.fr/ilovemessenger/premium/Default.asp?Ath=f