Yes, I was trying to find something with that kind of resolution. These are the numbers he quoted using gettimeofday and QueryPerformanceCounter:
Linux 2.2.16 0.740 usec Linux 2.4.2 0.729 usec SMP 0.806 usec Windows 2000 1.945 usec --- Tum <[EMAIL PROTECTED]> wrote: > You could try the DateTime.Ticks property. > > e.g. > > Console.WriteLine(DateTime.Now.Ticks); > > >From testing, it appears that Mono's implementation > doesn't have the > nano-second resolution of Microsoft's > implementation. > > ^Tum > > > -----Original Message----- > > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > On > > Behalf Of isaac gouy > > Sent: Friday, 13 December 2002 5:52 p.m. > > To: [EMAIL PROTECTED] > > Subject: [Mono-list] gettimeofday from C# > > > > I'd like to do some timings using > > QueryPerformanceCounter on windows and > gettimeofday on > > linux, like: > > > http://www-106.ibm.com/developerworks/linux/library/l-rt1/ > > > > > > Using Mono C# on linux, how would I call > gettimeofday? > > > > > > __________________________________________________ > > Do you Yahoo!? > > Yahoo! Mail Plus - Powerful. Affordable. Sign up > now. > > http://mailplus.yahoo.com > > > > _______________________________________________ > > Mono-list maillist - [EMAIL PROTECTED] > > http://lists.ximian.com/mailman/listinfo/mono-list > __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
