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

[PATCH rt-tests v3 19/33] ptesematest: 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/ptsematest/ptsematest.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/src/ptsematest/ptsematest.c b/src/ptsematest/ptsematest.c
index a32bfc1698f0..471f1b307c14 100644
--- a/src/ptsematest/ptsematest.c
+++ b/src/ptsematest/ptsematest.c
@@ -468,6 +468,7 @@ int main(int argc, char *argv[])
 	maindelay.tv_sec = 0;
 	maindelay.tv_nsec = 50000000; /* 50 ms */
 
+	rt_test_start();
 	while (!shutdown) {
 		for (i = 0; i < num_threads; i++)
 			shutdown |= receiver[i].shutdown | sender[i].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