what is the best timer method to time an operation?

  • Thread starter Thread starter 100
  • Start date Start date
1

100

Hi Jeroen,
What about using DateTime.Now at the begining of the operation and again
when everything is done.

HTH
B\rgds
100
 
Hi,

I want to have a timer that counts how long it takes to draw 2 bitmap
files......

I use the compact framework, so I haven't got System.Timers

Please help me...
Greetz
JC
 
getting the systemtime in milliseconds? And
calculate with that values a timespan........ ?

'100' already suggested using DateTime.Now. Look at the Ticks property of
that object.

Jon
 
Yes, but that Timer is very complicated, the timer in System.Timers is
simple, and has everything I need.

Is there maybe an other way? getting the systemtime in milliseconds? And
calculate with that values a timespan........ ?
 
Back
Top