]> git.saurik.com Git - apple/xnu.git/blame - tools/tests/perf_index/test_file_helper.h
xnu-3248.60.10.tar.gz
[apple/xnu.git] / tools / tests / perf_index / test_file_helper.h
CommitLineData
fe8ab488
A
1#ifndef __TEST_FILE_HELPER_H_
2#define __TEST_FILE_HELPER_H_
3
4#define MAXFILESIZE 8589934592L
5
6char* setup_tempdir();
7int cleanup_tempdir();
8int test_file_create(char* path, int thread_id, int num_threads, long long length);
9int test_file_read_setup(char* path, int num_threads, long long length, long long max_file_size);
10int test_file_read(char* path, int thread_id, int num_threads, long long length, long long max_file_size);
11int test_file_read_cleanup(char* path, int num_threads, long long length);
12int test_file_write_setup(char* path, int num_threads, long long length);
13int test_file_write(char* path, int thread_id, int num_threads, long long length, long long max_file_size);
14int test_file_write_cleanup(char* path, int num_threads, long long length);
15
16#endif