[Mono-list] gettimeofday from C#

Miguel de Icaza miguel@ximian.com
13 Dec 2002 00:54:49 -0500


Hello,

> 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?

You could use DateTime.Now.

Miguel