Processing Time for an acitivity in vb.net
| Below code is used to get the total time taken to do any opertions in vb.net
Imports System.Diagnostics Sub GetProcessTime()Dim TimeWatch As New Stopwatch TimeWatch.Start()Process_database() TimeWatch.Stop()MsgBox(\"Time Taken for Operation := \" & TimeWatch.ElapsedMilliseconds.ToString) End Sub |
|
