main(int argc, char *argv[]) { if (argc > 1) { switch (argv[1][0]) { case 'N': getinput = 0; break; case 'n': getinput = 0; break; } } Proc0(); exit(0); }
main () { Proc0 (); }
main() { Proc0(); exit(0); }
run_for_duration(int duration, long num_loops) { clock_t end = clock() + duration * CLOCKS_PER_SEC; do { Proc0(num_loops, duration == 0); } while (clock() < end); }