Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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.

Posted

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 ?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...