G
Guest
Hi all, i was wondering if its possible to 'time' every single line of code
then output the the results as in a profiler i.e.
Time Line of code
22ms If... etc;
32ms i++;
..... ....
i know you can time a loop or whatever through the Start -> do loop -> stop
proceedure i.e
Start timer
Do....
.....
....
Stop timer
etc
But im looking for a method to time each and every line of code in a
program, either at compile time or at run time.
hope someone has an idea on how to do this, i am perticularly looking for a
code example so i could get the general gist of doing it.
I dont mind if the results are in C# or VB.net
thanks all for your help
Nick
then output the the results as in a profiler i.e.
Time Line of code
22ms If... etc;
32ms i++;
..... ....
i know you can time a loop or whatever through the Start -> do loop -> stop
proceedure i.e
Start timer
Do....
.....
....
Stop timer
etc
But im looking for a method to time each and every line of code in a
program, either at compile time or at run time.
hope someone has an idea on how to do this, i am perticularly looking for a
code example so i could get the general gist of doing it.
I dont mind if the results are in C# or VB.net
thanks all for your help
Nick