// type "man gethrtime" to see the man pages for this call // Compile this on akbar with "gcc -lm hires_time.c -o hires_time" // (the -lm flag includes the math library) #include #include int main(){ hrtime_t start,end; int i, iters=100; double x = 100.0;; start=gethrtime(); for (i=0;i