cost iconcost 1.0.2

cost project measures the cost (in clock cycles and nanoseconds) of fundamental operations in computer programs.
cost project measures the cost (in clock cycles and nanoseconds) of fundamental operations in computer programs.

The operations range from simple integer mathematics to C library functions. It is relatively simple to add new tests, even for programmers new to C.

It was inspired by 7.6 of The Practice of Programming (ISBN 0-201-61586-X), by Kernighan & Pike.

To build it, unpack the tar-file with "tar -xzf cost-1.0.2.tar.gz". Enter the cost directory and give the "make" command. If that works, give the command "./cost" to run the program.

Requirements:

Requires a Pentium (or newer) x86 CPU for the timing functions. (An Athlon also works).

Do not add optimizations to CFLAGS in the makefile; most tests will be optimized out that way.

last updated on:
June 7th, 2006, 16:49 GMT
price:
FREE!
developed by:
Roland Smith
license type:
GPL (GNU General Public License) 
category:
ROOT \ Utilities

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

3 Screenshots
costcostcost

Add your review!

SUBMIT