Print Page | Close Window

Calculate Processing time for Async

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2010
Forum Discription: For .NET 4.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=4041
Printed Date: 07-Sep-2025 at 7:18am


Topic: Calculate Processing time for Async
Posted By: PeterProva
Subject: Calculate Processing time for Async
Date Posted: 13-Mar-2013 at 8:38am
Hi Guys,
 
Is there any way to calculate Processing time on Async using Devforce?
 
Thx



Replies:
Posted By: sbelini
Date Posted: 13-Mar-2013 at 9:36am
Hi Peter,

I'm assuming you intend to time from the async method call until the callback.
You could try using Stopwatch. ( http://msdn.microsoft.com/en-us/library/system.diagnostics.stopwatch.aspx - http://msdn.microsoft.com/en-us/library/system.diagnostics.stopwatch.aspx )

sbelini.




Print Page | Close Window