Re: IVF 10.0 Win/VS 2005 Profiling



John S wrote:
I can find all sorts of information on using Profile Guided Optimization
using /Qprof-gen and then /Qprof-use. But this is for optimizing during
compile. What I need is to see line times for an older version of a
project versus a newer version.

Intel's documentation does not seem to be very lucid on this.

Some progress: Need to use /Qprof-genx; compile with this flag; Run code;
Use profmerge.exe to turn *.dyn into *.dpi file; Use the codecov.exe to
create coverage information in html format.

But would like to get actual time spent by line or subroutine call. All I
can find in the codecov.exe options are a -counts option which report counts
by line. Need something like this, but with actual time.

As you've seen, the purpose of these profiling options is to get data on
relative frequency of branches etc. Running in an un-optimized mode, it
is not useful for actual timings.
As Steve already mentioned, Intel's primary offering for time and event
profiling is VTune; secondary offering is PTU (see
softwarecommunity.intel.com/forums). Other possibilities would be
oprofile based profilers, or a compiler which supports gprof (as Intel
linux compilers do),...
.



Relevant Pages

  • Re: using gprof to profile C programs
    ... For profiling I always compile and link with the following compiler options: ... Actually I have my Makefiles created by my own Makefile-generator ...
    (comp.os.linux.development.apps)
  • DJGPP: build for profiling
    ... I want to compile for profiling. ... but ''ld' complains it can't find -lstdc++. ... to have 'libstdcxx' and aeven renamed that to: ... This only happens when I include -pg for profiling. ...
    (comp.os.msdos.programmer)
  • Re: ziad, still speaking, affords almost okay, as the promotion documents at all their preservation
    ... They are escaping on board the staircase now, won't compile ... Can did Ghassan reverse the documentation till the southern ... All future successful electorates will hitherto ...
    (sci.crypt)
  • Re: Fortran subroutines in Cadence
    ... it in a sub-circuit and use bsources or Verilog-A to add new ... use ADMS or Spectre's Compiled Verilog-A flow to compile the ... The more difficult but the most flexible approach is to use CMI ... CMI you must have access to the CMI documentation, headers, ...
    (comp.cad.cadence)
  • Re: pydoc enforcement.
    ... I was thinking about something at commit time for a VCS... ... And I wasn't thinking of the default action throwing compile errors, ... have so little documentation that it really does force reading a LOT ... > class Foo(object): ...
    (comp.lang.python)