From 7b16a551c5ff2d9ffa84306b834741fa613598b6 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Sat, 30 May 2015 13:01:54 +0200 Subject: cyclictest: Convert the offset of the alignment option to microseconds The offset is specified in microseconds according to the documentation, but, the microseconds to nanoseconds conversion is missing so the effective offset has the unit of nanoseconds. Signed-off-by: Anna-Maria Gleixner Signed-off-by: John Kacur --- src/cyclictest/cyclictest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c index 95bdfc3..c3c671c 100644 --- a/src/cyclictest/cyclictest.c +++ b/src/cyclictest/cyclictest.c @@ -1289,9 +1289,9 @@ static void process_options (int argc, char *argv[], int max_cpus) case OPT_ALIGNED: aligned=1; if (optarg != NULL) - offset = atoi(optarg); + offset = atoi(optarg) * 1000; else if (optind