Searched refs:test_runs (Results 1 – 5 of 5) sorted by relevance
137 int test_runs = 0; in main() local142 test_runs = atoi(argv[1]); in main()144 if (test_runs <= 0) { in main()145 test_runs = TEST_RUNS; in main()160 rc = mmap_test(test_runs, alloc_size); in main()164 rc = pageinout_test(test_runs, file_size); in main()168 rc = thrashing_test(test_runs); in main()
16 int mmap_test(int test_runs, unsigned long long alloc_size);17 int pageinout_test(int test_runs, unsigned long long file_size);18 int thrashing_test(int test_runs);
11 int pageinout_test(int test_runs, unsigned long long file_size) { in pageinout_test() argument46 for (i = 0; i < test_runs; i++) { in pageinout_test()78 printf("page-in: %llu MB/s\n", (file_size * test_runs * USEC_PER_SEC) / in pageinout_test()80 printf("page-out (clean): %llu MB/s\n", (file_size * test_runs * USEC_PER_SEC) / in pageinout_test()
13 int thrashing_test(int test_runs) { in thrashing_test() argument50 for (int i = 0; i < test_runs; i++) { in thrashing_test()65 printf("thrashing: %llu MB/s\n", (filesize * ARRAY_SIZE(fds) * test_runs * USEC_PER_SEC) / in thrashing_test()
10 int mmap_test(int test_runs, unsigned long long alloc_size) { in mmap_test() argument23 for (i = 0; i < test_runs; i++) { in mmap_test()