Message ID | 20210320183829.1318-22-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/sched_deadline/cyclicdeadline.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/sched_deadline/cyclicdeadline.c b/src/sched_deadline/cyclicdeadline.c > index e6811838b62d..a649e5a0fe5e 100644 > --- a/src/sched_deadline/cyclicdeadline.c > +++ b/src/sched_deadline/cyclicdeadline.c > @@ -1213,6 +1213,7 @@ int main(int argc, char **argv) > if (duration) > alarm(duration); > > + rt_test_start(); > loop(sched_data, nr_threads); > > for (i = 0; i < nr_threads; i++) { > -- > 2.30.2 > > Signed-off-by: John Kacur <jkacur@redhat.com>
diff --git a/src/sched_deadline/cyclicdeadline.c b/src/sched_deadline/cyclicdeadline.c index e6811838b62d..a649e5a0fe5e 100644 --- a/src/sched_deadline/cyclicdeadline.c +++ b/src/sched_deadline/cyclicdeadline.c @@ -1213,6 +1213,7 @@ int main(int argc, char **argv) if (duration) alarm(duration); + rt_test_start(); loop(sched_data, nr_threads); for (i = 0; i < nr_threads; i++) {
Use rt_test_start() to record a timestamp when the test starts. Signed-off-by: Daniel Wagner <dwagner@suse.de> --- src/sched_deadline/cyclicdeadline.c | 1 + 1 file changed, 1 insertion(+)