E
ed via DotNetMonster.com
Hi All:
My program is working nicely, thank you Paul Tobey and Chris Tacke for
helping me in my previous posts.
I have a quick question about the ticks. I am trying to count how many ticks
(if possible) it takes to execute a piece of routine. I have something
simillar like the following in my program:
dtBegin as long
dtEnd as long
dtDiff as long
routine entry
dtBegin = DateTime.now.ticks
routine runs
dtEnd = DateTime.now.ticks
dtDiff = dtEnd - dtBegin
program counter returns
somehow, the dtDiff is always 0. <- so um, my routine is running at less than
100 nano-seconds?
Is there some way to effectively measure the execution speed with relatively
easy implementation?
by the way, I am trying to measure my routine in compact framework.
Thanks for reading, any help is appreciated.
My program is working nicely, thank you Paul Tobey and Chris Tacke for
helping me in my previous posts.
I have a quick question about the ticks. I am trying to count how many ticks
(if possible) it takes to execute a piece of routine. I have something
simillar like the following in my program:
dtBegin as long
dtEnd as long
dtDiff as long
routine entry
dtBegin = DateTime.now.ticks
routine runs
dtEnd = DateTime.now.ticks
dtDiff = dtEnd - dtBegin
program counter returns
somehow, the dtDiff is always 0. <- so um, my routine is running at less than
100 nano-seconds?
Is there some way to effectively measure the execution speed with relatively
easy implementation?
by the way, I am trying to measure my routine in compact framework.
Thanks for reading, any help is appreciated.