> is there a tool for windows that does the same as the matlab profiler
> does, I need to accurately measure the CPU time for every instruction.
Yes, it is called a profiler. Most compiler Integrated Developer
(IDE) provide one. Some IDE manufacturers make several versions of
IDEs. You may have to buy a professional edition IDE, intended for
more serious developers, to get the profiler.
Reply by banton●May 18, 20062006-05-18
>Hi, is there a tool for windows that does the same as the matlab profiler
>does, I need to accurately measure the CPU time for every instruction.
When you say instructions, you probably don't mean machine instructions.
In the C world people usually talk about statements and function calls.
If you really mean machine instructions, get the intel cpu manuals and
look at the assembly code generated by the compiler.
Otherwise use a profiler. If you work with gnu tools (e.g. mingw)
there are two programs for profiling: gcov and gprof.