Monday, September 18, 2006

Linux Code Coverage profiling Tool

Compile cpp file with debug options
g++ -ggdb -fprofile-arcs -ftest-coverage -o hello Hello.cpp

Try Running it
./hello

Run Code Coverage tool
gcov Hello.cpp

View the lines that will be executed
vi Hello.cpp.gcov

7 comments:

  1. Anonymous3:30 PM

    All through Thailand, the influences of the administrator of estate are clearly defined in the Law.


    my homepage detektywi warszawa

    ReplyDelete
  2. Anonymous8:28 AM

    Appreciate this post. Let me try it out.

    Take a look at my weblog :: Zinn collection

    ReplyDelete
  3. Anonymous1:39 PM

    I think this is among the so much vital info for me.
    And i am happy studying your article. However should remark on
    few general things, The web site taste is great, the articles is in point of fact excellent :
    D. Good activity, cheers

    Also visit my web site; Chronic profits

    ReplyDelete
  4. Anonymous10:37 PM

    I need to to thank you for this wonderful read!! I definitely enjoyed
    every little bit of it. I have got you book marked to check out new stuff you
    post…

    Also visit my webpage: Bulk USB drives

    ReplyDelete
  5. Anonymous2:17 AM

    At this time it looks like BlogEngine is the top
    blogging platform available right now. (from what I've read) Is that what you're using
    on your blog?

    Have a look at my site ... Rvtl Anti Aging Solution

    ReplyDelete
  6. Anonymous4:41 PM

    When someone writes an paragraph he/she keeps the thought of
    a user in his/her mind that how a user can be aware of it.

    Therefore that's why this paragraph is amazing. Thanks!


    Test Force Muscle Testosterone Booster

    ReplyDelete
  7. Anonymous5:44 PM

    Hello, i think that i saw you visited my web site so i came
    to return the prefer?.I am trying to in finding things to improve my website!
    I guess its good enough to use some of your ideas!
    !



    natural green cleanse review

    ReplyDelete