1 #include <stdlib.h> 2 #include "iTLB_benchmark_function.h" 3 main(int argc,char * argv[])4int main(int argc, char *argv[]) { 5 unsigned long loops = 1000; 6 if (argc > 1) { 7 loops = strtoul(argv[1], NULL, 10); 8 if (loops < 1) { 9 loops = 1; 10 } 11 } 12 13 while (--loops) { 14 iTLB_bechmark_function(); 15 } 16 17 return 0; 18 } 19