Thread (73 messages) 73 messages, 3 authors, 2021-05-14
STALE1845d

[PATCH rt-tests v3 16/33] cyclictest: Record start of test execution

From: Daniel Wagner <hidden>
Date: 2021-03-20 18:39:36
Subsystem: the rest · Maintainer: Linus Torvalds

Use rt_test_start() to record a timestamp when the test starts.

Signed-off-by: Daniel Wagner <redacted>
---
 src/cyclictest/cyclictest.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c
index 3f3b91bab53b..033b95a3a19a 100644
--- a/src/cyclictest/cyclictest.c
+++ b/src/cyclictest/cyclictest.c
@@ -615,6 +615,7 @@ static void *timerthread(void *param)
 		setitimer(ITIMER_REAL, &itimer, NULL);
 	}
 
+	rt_test_start();
 	stat->threadstarted++;
 
 	while (!shutdown) {
-- 
2.30.2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help