R
Rich
Hello,
I am trying to measure the elapsed time between 2
processes. If I declare startTime As Double, endTime as
Double and say
startTime = Timer
....
process1
....
process2
....
endTime = Timer
this works fine. But if I use Imports System.Threading,
the program won't compile with ...=Timer. I want to
measure the elapsed time when I run the 2 processes on
different threads. Could someone explain the correct
syntax or way to accomplish this? I have tried
startTime = System.Timers.Timer
but not working. Should I use a dateTime var and then do
like a dateDiff thing?
TIA,
Rich
I am trying to measure the elapsed time between 2
processes. If I declare startTime As Double, endTime as
Double and say
startTime = Timer
....
process1
....
process2
....
endTime = Timer
this works fine. But if I use Imports System.Threading,
the program won't compile with ...=Timer. I want to
measure the elapsed time when I run the 2 processes on
different threads. Could someone explain the correct
syntax or way to accomplish this? I have tried
startTime = System.Timers.Timer
but not working. Should I use a dateTime var and then do
like a dateDiff thing?
TIA,
Rich