tcomputerchip Posted April 15, 2003 Posted April 15, 2003 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. Quote
otherside Posted April 15, 2003 Posted April 15, 2003 Here is an easy way to do it 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 ? Quote
*Gurus* Derek Stone Posted April 16, 2003 *Gurus* Posted April 16, 2003 For more accurate resolution you'll want to use the Ticks property of the DateTime class instead. Quote Posting Guidelines
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.