January 17th, 2014, 07:17 AM
Help with DateTime and timing hiccups
I'm using DateTime to track elapsed time, which I realize now may not have been the best idea.
The issue I'm having, is that something is causing my timer calls to be delayed by 13~20 seconds. (Or so I think)
What I'm seeing is that the program's timestamp ticks by that much time. The CPU usage seems to be minimal (so it's probably not that the code hangs for that long).
Further, if I have two instances of the program running then they will both jump at the same time.
The other weird thing, is that while monitoring the processes with perfmon, during the pause time, the CPU usage goes blank, like the process didn't exist.
This all started a day or so ago, and it was fine until then.
Here's a link to the image of the perfmon.
Does anyone have any ideas on what may be causing this phenomenon?
Last edited by Sharsnik; January 17th, 2014 at 08:41 AM.
January 17th, 2014, 10:13 PM
Re: Help with DateTime and timing hiccups
Are there other processes running on the system with higher priority threads. If so, the high priority threads may be preventing the threads in your app from running.
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!