cost

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

cost Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Roland Smith
  • Publisher web site:
  • http://www.xs4all.nl/~rsmith/software/#libar

cost Tags


cost Description

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.


cost Related Software