xref: /xnu-11215.61.5/tools/tests/perf_index/test_fault_helper.h (revision 4f1223e81cd707a65cc109d0b8ad6653699da3c4)
1*4f1223e8SApple OSS Distributions #ifndef __TEST_FAULT_HELPER_H_
2*4f1223e8SApple OSS Distributions #define __TEST_FAULT_HELPER_H_
3*4f1223e8SApple OSS Distributions 
4*4f1223e8SApple OSS Distributions typedef enum {
5*4f1223e8SApple OSS Distributions 	TESTZFOD,
6*4f1223e8SApple OSS Distributions 	TESTFAULT
7*4f1223e8SApple OSS Distributions } testtype_t;
8*4f1223e8SApple OSS Distributions 
9*4f1223e8SApple OSS Distributions int test_fault_setup();
10*4f1223e8SApple OSS Distributions int test_fault_helper(int thread_id, int num_threads, long long length, testtype_t testtype);
11*4f1223e8SApple OSS Distributions 
12*4f1223e8SApple OSS Distributions #endif
13