test: fix timerjitter data style error

Fix timerjitter output formatting for date/time fields to match
expected format and improve test result readability.

Signed-off-by: tengshuangshuang <tengshuangshuang@xiaomi.com>
This commit is contained in:
tengshuangshuang 2024-12-05 17:48:11 +08:00 committed by Donny(董九柱)
parent 6249f22f97
commit df48348fca

View file

@ -192,7 +192,8 @@ static FAR void *timerjitter(FAR void *arg)
diff = calc_diff(&now, &next);
if (param->print)
{
printf("diff %lu, now %lu.%lu\n", diff, now.tv_sec, now.tv_nsec);
printf("diff %"PRId64", now %"PRId64".%09lu\n", diff, now.tv_sec,
now.tv_nsec);
}
if (diff > param->max)