[Mono-dev] high-resolution timer in Mono?
alexc at majestic12.co.uk
Fri Feb 24 12:16:24 EST 2006
Jonathan Resnick wrote:
>Here's a link to the Mono docs:
Perhaps this restriction is intentional here because its an integer,
looking at Ticks property for
DateTime object -
It appears to have much better resolution, so you should be able to
create DateTime variable with DateTime.Now value
and then use difference between current and originally recorded time -
no need to use System.Environment for this anyway since it would apply
to the whole app
rather than benchmarked part of code.
More information about the Mono-devel-list