Measure Process Time

tcomputerchip

Newcomer
Joined
Nov 6, 2002
Messages
13
Location
MA
I am having some problems with one of my converters taking a very long time to convert small binary files (<200 K in total). It takes about 8 sec / file.

I was wondering if there is a way to measure the time it takes to complete the process. If so, could you provide example code.

Thanks.
 
Here is an easy way to do it

Code:
Dim ProcStart as System.DateTime
ProcStart = System.DateTime.Now
<-- here put the proccess -->
Dim ProcTime As int16
PrcTime=System.DateTime.Now.Subtract(ProcStart).TotalSeconds
What is that you trying ?
 
Back
Top