Re: I'm searching for c profiler which will...



Richard Heathfield a écrit :
peter_k said:


Hi,

I'm searching for c profiler which will show me how many times each
line was called... I mean something like this...

int main() {
1 int x,a=0;
5 for(x=0;x<5;++x) {
5 ++a;
5 }
1 x=9;
1 return 0;
0 x=3;
0 }


Microsoft Visual C++ versions up to and including 1.5x incorporate such a profiler.

My VC++1.5 CD is still for sale. As far as I can make out, the last time I mentioned it here was 23rd August 2001, when I said:

"The net price is one million pounds sterling (net because it doesn't
include postage and packing costs, or VAT at 17.5%, which you will also
have to meet). For the money, you get the original CD-ROM, the original
box it came in, and as much of the rather meagre printed documentation
as I can find in a 20-minute search of my study.

If you're interested, let me know."

One day, I guess, someone will be desperate enough to meet my price. :-)



The profiler worked up to MSVC 4.2. Then, for mysterious reasons it was dropped. Neither MSVC 6.0 nor MSVC 2005 feature a profiler.

Maybe if you wait some time, you will be lucky...
.



Relevant Pages

  • Re: Im searching for c profiler which will...
    ... I'm searching for c profiler which will show me how many times each ... int main{ ... For the money, you get the original CD-ROM, the original ...
    (comp.lang.c)
  • Re: FK Constraint Violation upon INSERT
    ... Using this as the value for the resynch command... ... In profiler I get this under RPC: ... int', 0 ... keyword_question.questionid, ...
    (microsoft.public.access.adp.sqlserver)
  • code takes too long to execute
    ... Hey all, well, I finally got a profiler to work and my code was simple ... public void buildEdgeList(Element elem) { ... public void traverseEdges{ ... public int findAdjacentFace{ ...
    (comp.lang.java.programmer)
  • Re: Im searching for c profiler which will...
    ... I'm searching for c profiler which will show me how many times each ... Once you decide on which OS you want to run such a profiler, ... try finding newsgroups that deal in one ... int main{ ...
    (comp.lang.c)
  • Re: Im searching for c profiler which will...
    ... I'm searching for c profiler which will show me how many times each ... int main{ ... In the project configuration you should set "Enable profiling" in the compiler configuration panel. ...
    (comp.lang.c)