Message ID | 20210320183829.1318-19-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/pmqtest/pmqtest.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/pmqtest/pmqtest.c b/src/pmqtest/pmqtest.c > index f96b3d0bf400..adf72c10ce83 100644 > --- a/src/pmqtest/pmqtest.c > +++ b/src/pmqtest/pmqtest.c > @@ -583,6 +583,7 @@ int main(int argc, char *argv[]) > sigemptyset(&sigset); > pthread_sigmask(SIG_SETMASK, &sigset, NULL); > > + rt_test_start(); > do { > int newsamples = 0, newtimeoutcount = 0; > int minsamples = INT_MAX; > -- > 2.30.2 > > Signed-off-by: John Kacur <jkacur@redhat.com>
diff --git a/src/pmqtest/pmqtest.c b/src/pmqtest/pmqtest.c index f96b3d0bf400..adf72c10ce83 100644 --- a/src/pmqtest/pmqtest.c +++ b/src/pmqtest/pmqtest.c @@ -583,6 +583,7 @@ int main(int argc, char *argv[]) sigemptyset(&sigset); pthread_sigmask(SIG_SETMASK, &sigset, NULL); + rt_test_start(); do { int newsamples = 0, newtimeoutcount = 0; int minsamples = INT_MAX;
Use rt_test_start() to record a timestamp when the test starts. Signed-off-by: Daniel Wagner <dwagner@suse.de> --- src/pmqtest/pmqtest.c | 1 + 1 file changed, 1 insertion(+)