Exforsys

Online Training

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 ...


Go Back   Exforsys > Programming Talk > C and C++

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-17-2006, 06:31 PM
Member
 
Join Date: May 2006
Posts: 45
norman is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-17-2006, 08:09 PM
Member
 
Join Date: May 2006
Posts: 47
blenda is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 08-13-2006, 12:37 AM
Junior Member
 
Join Date: Aug 2006
Location: Earth
Posts: 1
Hrithick is on a distinguished road
Send a message via Yahoo to Hrithick
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 12-05-2006, 06:52 AM
Senior Member
 
Join Date: Apr 2006
Posts: 144
caradoc is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 04:31 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.