Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Source code timing
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

tasch
New Member

2 Posts

Posted - Feb 16 2009 :  02:58:00 AM  Show Profile  Reply with Quote
Sometimes it is very important to meassure execution time between a couple of source code lines. It can bery helpful to set two points (like a breakpoint) and VA can meassure time between and print it out in debug window (visual studio 6, c++).

feline
Whole Tomato Software

United Kingdom
19004 Posts

Posted - Feb 16 2009 :  12:53:34 PM  Show Profile  Reply with Quote
Are you talking about code profiling? If so you would need to actually use a dedicated code profiler, this is something that VA is very unlikely to try and offer.

zen is the art of being at one with the two'ness
Go to Top of Page

tasch
New Member

2 Posts

Posted - Feb 17 2009 :  09:54:18 AM  Show Profile  Reply with Quote
The meassure time should only be approximately and only for an indication about the runtime.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19004 Posts

Posted - Feb 17 2009 :  10:51:06 AM  Show Profile  Reply with Quote
I suspect the only way you can work out the run time is to actually run the code and time it, which is what a code profiler does.

For an algorithm you can calculate how fast / slow it should be, but for general code the situation is a lot less clear.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000