timer: Change timer util functions to 64-bit
Since mono_time is now 64-bit, the utility functions interfacing with mono_time should also be 64-bit so precision isn't lost. Fixed build errors related to printing the now int64_t result of stopwatch_duration_[m|u]secs in various places. BUG=b:237082996 BRANCH=All TEST=Boot dewatt Change-Id: I169588f5e14285557f2d03270f58f4c07c0154d5 Signed-off-by: Rob Barnes <robbarnes@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/66170 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
This commit is contained in:
@@ -525,7 +525,7 @@ static enum cb_err bsp_do_flight_plan(struct mp_params *mp_params)
|
||||
release_barrier(&rec->barrier);
|
||||
}
|
||||
|
||||
printk(BIOS_INFO, "%s done after %ld msecs.\n", __func__,
|
||||
printk(BIOS_INFO, "%s done after %lld msecs.\n", __func__,
|
||||
stopwatch_duration_msecs(&sw));
|
||||
return ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user