1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Query on C programming

Discussion in 'C' started by deepneel25, Aug 22, 2007.

  1. deepneel25

    deepneel25 New Member

    Joined:
    Aug 22, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Please help me on the following query!!

    Can we measure the size of functions in a C program???
     
  2. DaWei

    DaWei New Member

    Joined:
    Dec 6, 2006
    Messages:
    835
    Likes Received:
    5
    Trophy Points:
    0
    Occupation:
    Semi-retired EE
    Location:
    Texan now in Central NY
    Home Page:
    You can examine the emitted machine or assembly code.
     
  3. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,283
    Likes Received:
    364
    Trophy Points:
    83
    I am not sure what you are trying to measure but as far I can see the measure should be the time and you can do that.
     
  4. seeguna

    seeguna New Member

    Joined:
    Jun 20, 2007
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Technical Consultant
    Location:
    Chennai
    What u want to measure?????????

    More clearance needed..............
     
  5. DaWei

    DaWei New Member

    Joined:
    Dec 6, 2006
    Messages:
    835
    Likes Received:
    5
    Trophy Points:
    0
    Occupation:
    Semi-retired EE
    Location:
    Texan now in Central NY
    Home Page:
    There's a correlation between code size and execution time, but it is not a directly proportional thing.
     

Share This Page