Exforsys
+ Reply to Thread
Results 1 to 5 of 5

Kindly give Effective Answer to Measure Efficiency

This is a discussion on Kindly give Effective Answer to Measure Efficiency within the C and C++ forums, part of the Programming Talk category; Hi All, I have with me several C program collections. In this collection I have more than one program to ...

  1. #1
    norman is offline Member Array
    Join Date
    May 2006
    Answers
    43

    Kindly give Effective Answer to Measure Efficiency

    Hi All,
    I have with me several C program collections. In this collection I have more than one program to achieve the same purpose. That is for instance for doing sorting in of an array I have more than one way of doing this. Like this I have so many programs. I want to reorder this collection based on efficiency of each program. How do I measure efficiency of each program? What are all attributes I have to check to measure the efficiency?

    Regards,
    Norman


  2. #2
    blenda is offline Member Array
    Join Date
    May 2006
    Answers
    36
    Hi,
    One of the main attribute for measuring efficiency of any program would be to time taken to execute the program. But someone would have to clarify us how to measure the time taken for executing a C program

    Regards,
    Blenda


  3. #3
    Hrithick is offline Junior Member Array
    Join Date
    Aug 2006
    Location
    Earth
    Answers
    1
    Hi, u'll always have to sacrifice one out of two important criteria to achieve better performance / efiiciency. "Memory space and running time". A program that optimally sacrifices these two for a given problem must be the most optimal one.


  4. #4
    phsum07 is offline Junior Member Array
    Join Date
    Aug 2006
    Answers
    1

  5. #5
    caradoc is offline Senior Member Array
    Join Date
    Apr 2006
    Answers
    122
    Blenda and Hrithick thanks for your brief explanation.If there are any other attributes we have to check to measure the efficiency mention it here in this discussion so that we can get a more detailed view in this related area.


    •    Sponsored Ads



Latest Article

Network Security Risk Assessment and Measurement

Read More...