I am debugging a program and having problems finding what is slowing it down. The program loops through a file, changes the format, and saves the data to a new file. There are several calls to my other dll's in this process. THe problem is that i'm trying to find out how long a call is taking to execute. I have been using code like this
the problem is in the resolution. This method obviously only has 1 second resolution so what i end up with is thousands of lines that all say 0 seconds. I need to know which calls are taking .975 seconds and which are taking .001 seconds. Does anyone have a simple way they do this? I just need this for debugging so i dont want to spend a long time figuring out API calls to do this. Thanks for any help. Ruairi
Could your manufacturing facility benefit from real time process monitoring? Would you like your employees to be able to see up to the minute goal and actual production?
For innovative, low cost solutions check out my website.
Code:
StartTime = Time
SomeDLL.AMethod Var1, Var2, Var3
EndTime = Time
Print #77, "Calling SomeDLL.AMethod " & DateDiff("s", StartTime, EndTime) & " seconds "
Could your manufacturing facility benefit from real time process monitoring? Would you like your employees to be able to see up to the minute goal and actual production?
For innovative, low cost solutions check out my website.