Red Gate forums :: View topic - Waiting for Synchronization time exceeds real time
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Performance Profiler 8
ANTS Performance Profiler 8 forum

Waiting for Synchronization time exceeds real time

Search in ANTS Performance Profiler 8 forum
Post new topic   Reply to topic
Jump to:  
Author Message
kmavis



Joined: 12 Nov 2013
Posts: 2
Location: NE Indiana, USA

PostPosted: Tue Nov 12, 2013 10:08 pm    Post subject: Waiting for Synchronization time exceeds real time Reply with quote

As an example I am looking at a profile that I timed with a stopwatch app to run for 2:24 (m:ss). I am looking at the Call tree, displaying Methods with Source for the main thread with Timing options set to Wall-Clock and Seconds. The top line in the call tree is named (Waiting for synchronization) and the Time(seconds) column says 313.425. My understanding is that the Time column expresses the time spent by the app being profiled in that named method. Of course, I know that "Waiting for Synchronization" is not an actual method, but rather a state. Regardless, how could that state have lasted for 5:13.425 (m:ss) when the app being profiled only ran for 2:24?

TIA, I'm a relative noob to ANTS, and honestly, performance profiling in general. Any help will be appreciated.
Back to top
View user's profile Send private message
Chris.Allen



Joined: 12 Mar 2009
Posts: 586

PostPosted: Thu Nov 14, 2013 1:43 pm    Post subject: Reply with quote

"Hmmmmmmmm", is about all i can say right now Wink Is this a simple test console application?. if its small enough- could you post it and I'll test it? if its not, maybe you could mail it to us at support@red-gate.com (text files only)
Back to top
View user's profile Send private message
kmavis



Joined: 12 Nov 2013
Posts: 2
Location: NE Indiana, USA

PostPosted: Thu Nov 14, 2013 2:26 pm    Post subject: Reply with quote

I wish it were something I could send you. But it is not small at all, it is part of a solution with 20+ projects in it. And then there is the dB with 40+ tables, etc. One of the other members on my team suggested that...

"All the waiting done by async methods prolly gets tossed into “Waiting for synchronization”. That’d mean you get that while other stuff is happening and lots of it if several things were waiting at the same time. Like when the DataCache fires off a couple dozen (WAG) call for data and then waits on them without blocking the UI."

Is that a possible explanation?
Back to top
View user's profile Send private message
Chris.Allen



Joined: 12 Mar 2009
Posts: 586

PostPosted: Tue Nov 19, 2013 4:17 pm    Post subject: Reply with quote

Yes, that reminds me too- all thread wait time is cumulative so there are occasions when the total time waiting exceeds real time.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group