Message ID | 20210320183829.1318-18-dwagner@suse.de |
---|---|
State | New |
Headers | show |
Series | JSON cleanups and more tests updated | expand |
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/oslat/oslat.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/oslat/oslat.c b/src/oslat/oslat.c > index ac54d05697ef..2f02f5399405 100644 > --- a/src/oslat/oslat.c > +++ b/src/oslat/oslat.c > @@ -854,6 +854,7 @@ int main(int argc, char *argv[]) > printf("Test starts...\n"); > /* Reset n_threads to always run on all the cores */ > g.n_threads = g.n_threads_total; > + rt_test_start(); > run_expt(threads, g.runtime); > > if (!g.quiet) > -- > 2.30.2 > > Signed-off-by: John Kacur <jkacur@redhat.com>
diff --git a/src/oslat/oslat.c b/src/oslat/oslat.c index ac54d05697ef..2f02f5399405 100644 --- a/src/oslat/oslat.c +++ b/src/oslat/oslat.c @@ -854,6 +854,7 @@ int main(int argc, char *argv[]) printf("Test starts...\n"); /* Reset n_threads to always run on all the cores */ g.n_threads = g.n_threads_total; + rt_test_start(); run_expt(threads, g.runtime); if (!g.quiet)
Use rt_test_start() to record a timestamp when the test starts. Signed-off-by: Daniel Wagner <dwagner@suse.de> --- src/oslat/oslat.c | 1 + 1 file changed, 1 insertion(+)