7 #ifndef UBICLIB_TEST_H_
8 #define UBICLIB_TEST_H_
20 #define UBICLIB_TEST_HEAPTEST_LIFETIME_TYPE__UNIFORM 1
21 #define UBICLIB_TEST_HEAPTEST_LIFETIME_TYPE__EXPONENTIAL 2
22 #define UBICLIB_TEST_HEAPTEST_LIFETIME_TYPE__NORMAL 3
24 #define UBICLIB_TEST_HEAPTEST_SIZE_TYPE__UNIFORM 1
25 #define UBICLIB_TEST_HEAPTEST_SIZE_TYPE__EXPONENTIAL 2
26 #define UBICLIB_TEST_HEAPTEST_SIZE_TYPE__NORMAL 3
28 #define UBICLIB_TEST_HEAPTEST_DATA_LENGTH 4000
30 extern double ubiclib_test_heaptest_urx1_a[UBICLIB_TEST_HEAPTEST_DATA_LENGTH];
31 extern double ubiclib_test_heaptest_urx2_a[UBICLIB_TEST_HEAPTEST_DATA_LENGTH];
32 extern double ubiclib_test_heaptest_erx1_a[UBICLIB_TEST_HEAPTEST_DATA_LENGTH];
33 extern double ubiclib_test_heaptest_erx2_a[UBICLIB_TEST_HEAPTEST_DATA_LENGTH];
34 extern double ubiclib_test_heaptest_nrx1_a[UBICLIB_TEST_HEAPTEST_DATA_LENGTH];
35 extern double ubiclib_test_heaptest_nrx2_a[UBICLIB_TEST_HEAPTEST_DATA_LENGTH];
40 unsigned int heapsize;
41 unsigned int data_length;
42 unsigned int lifetime_max;
43 unsigned int stepcount_max;
44 unsigned int size_max;
45 unsigned int size_min;
46 unsigned int mean_step;
47 unsigned int mean_min;
48 unsigned int testcount_max;
49 unsigned int critlock;
50 unsigned int blockcheck;
51 unsigned int skipfirsfull;
54 unsigned int algorithm_type;
56 unsigned int lifetime_type;
58 unsigned int size_type;
100 void ubiclib_test_heaptest(
void *arg);
102 ubi_err_t ubiclib_test_test_all(
void);
104 ubi_err_t ubik_test_cbuf_test_00(
void);
Definition: ubiclib_test.h:38
Definition: ubiclib_test.h:65