Home
last modified time | relevance | path

Searched refs:test_runs (Results 1 – 5 of 5) sorted by relevance

/system/extras/tests/pagingtest/
Dpagingtest.c143 int test_runs = 0; in main() local
148 test_runs = atoi(argv[1]); in main()
150 if (test_runs <= 0) { in main()
151 test_runs = TEST_RUNS; in main()
166 rc = mmap_test(test_runs, alloc_size); in main()
170 rc = pageinout_test(test_runs, true, file_size); in main()
174 rc = pageinout_test(test_runs, false, file_size); in main()
178 rc = thrashing_test(test_runs, true); in main()
182 rc = thrashing_test(test_runs, false); in main()
Dpagingtest.h16 int mmap_test(int test_runs, unsigned long long alloc_size);
17 int pageinout_test(int test_runs, bool cache, unsigned long long file_size);
18 int thrashing_test(int test_runs, bool cache);
Dpageinout_test.c12 int pageinout_test(int test_runs, bool cache, unsigned long long file_size) { in pageinout_test() argument
56 for (i = 0; i < test_runs; i++) { in pageinout_test()
89 (file_size * test_runs * USEC_PER_SEC) / in pageinout_test()
92 (file_size * test_runs * USEC_PER_SEC) / in pageinout_test()
Dthrashing_test.c14 int thrashing_test(int test_runs, bool cache) { in thrashing_test() argument
59 for (int i = 0; i < test_runs; i++) { in thrashing_test()
73 (filesize * ARRAY_SIZE(fds) * test_runs * USEC_PER_SEC) / in thrashing_test()
Dmmap_test.c10 int mmap_test(int test_runs, unsigned long long alloc_size) { in mmap_test() argument
22 for (i = 0; i < test_runs; i++) { in mmap_test()