|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Getting the execution time for a module or application
I need to get the time of execution for a module, function, query etc etc from VIsual Basice, actually using version 6.
for example before beggining a function i need the starttime and then when the function ends i need the final time so then i can do endtime - startime and get the time of execution.. i Have tried donig with the functions Second(Time) but it doesnt show it in milliseconds.. so i was wondering if you have a pice of code for helping me put or maybe you can guide !!!.. thanks in advance! |
|
#2
|
|||
|
|||
|
I haven't used either of these but they sound nice
.http://www.pscode.com/vb/scripts/Sh...=31266&lngWId=1 and http://www.pscode.com/vb/scripts/Sh...=39300&lngWId=1 The second link is code that is based off of the first, I'm not sure if there are any major diferences or not. |
|
#3
|
|||
|
|||
|
Thanks man... it works pretty good!
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > Getting the execution time for a module or application |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|