Skip to content

Commit e5bdbb3

Browse files
committed
Initial addition of cyclicdeadline and deadline_test
cyclicdeadline is a test that is similar to cyclictest but instead of using SCHED_FIFO and nanosleep() to measure jitter, it uses SCHED_DEADLINE and has the deadline be the wakeup interval. deadline_test tries to create tasks under SCHED_DEADLINE that runs a measured amount per peroid. It checks to see if it succeeds in executing the measured runtime within a given period. Both these tests are currently very crude, and will continue having an overhaul. Signed-off-by: Steven Rostedt <[email protected]>
1 parent 74f31e6 commit e5bdbb3

File tree

3 files changed

+2870
-0
lines changed

3 files changed

+2870
-0
lines changed

Diff for: Makefile

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
CC = gcc
2+
CFLAGS = -g -Wall
3+
4+
all: deadline_test cyclicdeadline
5+
6+
deadline_test: deadline_test.o
7+
$(CC) $^ -o $@ -lpthread -lrt
8+
9+
cyclicdeadline: cyclicdeadline.o
10+
$(CC) $^ -o $@ -lpthread -lrt
11+

0 commit comments

Comments
 (0)