T O P I C R E V I E W |
tasch |
Posted - Feb 16 2009 : 02:58:00 AM 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++).
|
3 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Feb 17 2009 : 10:51:06 AM 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. |
tasch |
Posted - Feb 17 2009 : 09:54:18 AM The meassure time should only be approximately and only for an indication about the runtime. |
feline |
Posted - Feb 16 2009 : 12:53:34 PM 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. |