G
Guest
I am running a sample application that gives me performance time for each
action. I am using Stopwatch class (found in System.Diagnostics namespace in
..Net 2.0)
to get the Elapsed time. If I run my app in our server that has mutiple cups
(4 cpu box) it gives me negative elapsed time and it is unpredictable.
Anyone knows how to make stopwatch work corretly in multi-cpu servers?
It works fine in my development system that has only 1 cpu.
Thanks!!!
action. I am using Stopwatch class (found in System.Diagnostics namespace in
..Net 2.0)
to get the Elapsed time. If I run my app in our server that has mutiple cups
(4 cpu box) it gives me negative elapsed time and it is unpredictable.
Anyone knows how to make stopwatch work corretly in multi-cpu servers?
It works fine in my development system that has only 1 cpu.
Thanks!!!