Timings way off? 25 hours vs 2.5 hours
dannytuppeny
Posts: 18
I've been profiling an application recently but the timings seem to be off by a factor of 10. The process takes 2.5 hours and the profiler reports 90,000 seconds (25 hours).
It's a multi-threaded app, but the Time(inc children) that I'm looking at is for a method that is executed within a single thread.
My machine is a Core 2 Duo (dual core) should that have any effect on timing.
Any ideas what causes this?
It's a multi-threaded app, but the Time(inc children) that I'm looking at is for a method that is executed within a single thread.
My machine is a Core 2 Duo (dual core) should that have any effect on timing.
Any ideas what causes this?
Comments
There is a know issue with dual-core processors, which you can read about here. It's probably something to do with the way the CPU handles certain timing instructions.
If Profiler's time is less than your 'stopwatch', that is the norm; Profiler is supposed to subtract its' own overhead, in other words show how fast the code would execute while not under the 'influence' of the Profiler!