aboutsummaryrefslogtreecommitdiffstats
path: root/native/include
diff options
context:
space:
mode:
Diffstat (limited to 'native/include')
-rw-r--r--native/include/cpu_time.h7
-rw-r--r--native/include/edf/baruah.h2
2 files changed, 8 insertions, 1 deletions
diff --git a/native/include/cpu_time.h b/native/include/cpu_time.h
new file mode 100644
index 0000000..2484159
--- /dev/null
+++ b/native/include/cpu_time.h
@@ -0,0 +1,7 @@
1#ifndef CPU_TIME_H
2#define CPU_TIME_H
3
4// How much CPU time used (in seconds)?
5double get_cpu_usage(void);
6
7#endif
diff --git a/native/include/edf/baruah.h b/native/include/edf/baruah.h
index dcd4f14..c79b49d 100644
--- a/native/include/edf/baruah.h
+++ b/native/include/edf/baruah.h
@@ -23,7 +23,7 @@ public:
23 23
24 bool is_schedulable(const TaskSet &ts, bool check_preconditions = true); 24 bool is_schedulable(const TaskSet &ts, bool check_preconditions = true);
25 25
26 static const float MINIMUM_SLACK; 26 static const double MAX_RUNTIME;
27}; 27};
28 28
29#endif 29#endif