summaryrefslogtreecommitdiffstats
path: root/pintos-progos/tests/threads/tests.h
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2012-03-26 12:54:45 +0200
committermanuel <manuel@mausz.at>2012-03-26 12:54:45 +0200
commitb5f0874cd96ee2a62aabc645b9626c2749cb6a01 (patch)
tree1262e4bbe0634de6650be130c36e0538240f4cbf /pintos-progos/tests/threads/tests.h
downloadprogos-b5f0874cd96ee2a62aabc645b9626c2749cb6a01.tar.gz
progos-b5f0874cd96ee2a62aabc645b9626c2749cb6a01.tar.bz2
progos-b5f0874cd96ee2a62aabc645b9626c2749cb6a01.zip
initial pintos checkin
Diffstat (limited to 'pintos-progos/tests/threads/tests.h')
-rw-r--r--pintos-progos/tests/threads/tests.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/pintos-progos/tests/threads/tests.h b/pintos-progos/tests/threads/tests.h
new file mode 100644
index 0000000..cd9d489
--- /dev/null
+++ b/pintos-progos/tests/threads/tests.h
@@ -0,0 +1,41 @@
1#ifndef TESTS_THREADS_TESTS_H
2#define TESTS_THREADS_TESTS_H
3
4void run_test (const char *);
5
6typedef void test_func (void);
7
8extern test_func test_alarm_single;
9extern test_func test_alarm_multiple;
10extern test_func test_alarm_simultaneous;
11extern test_func test_alarm_priority;
12extern test_func test_alarm_zero;
13extern test_func test_alarm_negative;
14extern test_func test_priority_change;
15extern test_func test_priority_donate_one;
16extern test_func test_priority_donate_multiple;
17extern test_func test_priority_donate_multiple2;
18extern test_func test_priority_donate_sema;
19extern test_func test_priority_donate_nest;
20extern test_func test_priority_donate_lower;
21extern test_func test_priority_donate_chain;
22extern test_func test_priority_fifo;
23extern test_func test_priority_preempt;
24extern test_func test_priority_sema;
25extern test_func test_priority_condvar;
26extern test_func test_mlfqs_load_1;
27extern test_func test_mlfqs_load_60;
28extern test_func test_mlfqs_load_avg;
29extern test_func test_mlfqs_recent_1;
30extern test_func test_mlfqs_fair_2;
31extern test_func test_mlfqs_fair_20;
32extern test_func test_mlfqs_nice_2;
33extern test_func test_mlfqs_nice_10;
34extern test_func test_mlfqs_block;
35
36void msg (const char *, ...);
37void fail (const char *, ...);
38void pass (void);
39
40#endif /* tests/threads/tests.h */
41