>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.
gr.
Anton
Reply by Rune Allnor●May 18, 20062006-05-18
alessandro.saccoia@gmail.com wrote:
> 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.
Yes, it is called a profiler. Most compiler Integrated Developer
Environments
(IDE) provide one. Some IDE manufacturers make several versions of
their
IDEs. You may have to buy a professional edition IDE, intended for
more serious developers, to get the profiler.
Rune
Reply by bhooshaniyer●May 18, 20062006-05-18
Alessandro--
>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.
>Thanks,
>Alessandro
Yeah, it's called the assembly language manual. Intel used to have
the reference manuals on-line. Take a Google.
--Randy
Reply by ●May 17, 20062006-05-17
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.
Thanks,
Alessandro