Thanks for your answer, it's exactly what I need.

ps : Could someone tell me what I must do to reply to a thread and not to create a thread please ?

Thanks

From: Paolo Molaro <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: [Mono-list] A substitute to the high definition clock QueryPerformanceCounter ?
Date: Mon, 26 Apr 2004 15:58:17 +0200


On unixy systems you should likely use gettimeofday ():

        struct timeval {
                public int seconds;
                public int useconds;
        }

        [DllImport ("libc")]
        static extern int gettimeofday (out timeval tv, IntPtr unused);

That works on Linux/x86 and should work on many other systems as well (on
some 64 bit systems the types may be longs, in others the order may be
different, but both things can be easily checked at runtime if needed).

lupus

--
-----------------------------------------------------------------
[EMAIL PROTECTED]                                     debian/rules
[EMAIL PROTECTED]                             Monkeys do it better
_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

_________________________________________________________________
Hotmail : un compte GRATUIT qui vous suit partout et tout le temps ! http://g.msn.fr/FR1000/9493


_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to