J
Joseph Lee
Hi,
I am trying to track the time taken for a process to complete.
for loop //for multiple same Process
{
//Do Process
//Get Time
}
By doing this I will get a sequence of time
I have been looking at Timer class and TimeDate class for my problem below.
Timer class seems to be not what i can use as I am not having a process
being executed again and again defined by the timer class.
TimeDate seems to suit better, however due to the process taking lesser than
milliseconds to finish, I would end up have a sequence of same value(
TimeData.Now.Millisecond ).
This is not very nice, so I am wondering whether there is a way to track
nanoseconds or a better way to implement something like my above problem.
Thanks in advance
Joey.
I am trying to track the time taken for a process to complete.
for loop //for multiple same Process
{
//Do Process
//Get Time
}
By doing this I will get a sequence of time
I have been looking at Timer class and TimeDate class for my problem below.
Timer class seems to be not what i can use as I am not having a process
being executed again and again defined by the timer class.
TimeDate seems to suit better, however due to the process taking lesser than
milliseconds to finish, I would end up have a sequence of same value(
TimeData.Now.Millisecond ).
This is not very nice, so I am wondering whether there is a way to track
nanoseconds or a better way to implement something like my above problem.
Thanks in advance
Joey.