diff mbox series

[rt-tests,v3,20/33] rt-migrate-test: Record start of test execution

Message ID 20210320183829.1318-21-dwagner@suse.de
State New
Headers show
Series JSON cleanups and more tests updated | expand

Commit Message

Daniel Wagner March 20, 2021, 6:38 p.m. UTC
Use rt_test_start() to record a timestamp when the test starts.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
---
 src/rt-migrate-test/rt-migrate-test.c | 1 +
 1 file changed, 1 insertion(+)

Comments

John Kacur May 7, 2021, 4:44 p.m. UTC | #1
On Sat, 20 Mar 2021, Daniel Wagner wrote:

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

> 

> Signed-off-by: Daniel Wagner <dwagner@suse.de>

> ---

>  src/rt-migrate-test/rt-migrate-test.c | 1 +

>  1 file changed, 1 insertion(+)

> 

> diff --git a/src/rt-migrate-test/rt-migrate-test.c b/src/rt-migrate-test/rt-migrate-test.c

> index cdfbfafb200b..8f628d347a23 100644

> --- a/src/rt-migrate-test/rt-migrate-test.c

> +++ b/src/rt-migrate-test/rt-migrate-test.c

> @@ -621,6 +621,7 @@ int main (int argc, char **argv)

>  

>  	setup_ftrace_marker();

>  

> +	rt_test_start();

>  	for (loop=0; loop < nr_runs; loop++) {

>  		unsigned long long end;

>  

> -- 

> 2.30.2

> 

> 

Signed-off-by: John Kacur <jkacur@redhat.com>
diff mbox series

Patch

diff --git a/src/rt-migrate-test/rt-migrate-test.c b/src/rt-migrate-test/rt-migrate-test.c
index cdfbfafb200b..8f628d347a23 100644
--- a/src/rt-migrate-test/rt-migrate-test.c
+++ b/src/rt-migrate-test/rt-migrate-test.c
@@ -621,6 +621,7 @@  int main (int argc, char **argv)
 
 	setup_ftrace_marker();
 
+	rt_test_start();
 	for (loop=0; loop < nr_runs; loop++) {
 		unsigned long long end;