commit | 552028dd209efd1a2461fe39b28534fff3901af0 | [log] [tgz] |
---|---|---|
author | Marcin Niestroj <m.niestroj@grinn-global.com> | Thu Mar 04 21:10:43 2021 +0100 |
committer | Anas Nashif <anas.nashif@intel.com> | Tue Apr 20 18:21:26 2021 -0400 |
tree | 8f46fbf2d6a63c8a8a1a15a5e035bb11ea2dc536 | |
parent | de16299c6290e7b5d58d57ad8a7b8857ef1b323b [diff] |
logging: add log_output_timestamp_to_us() helper function So far we only have log_msg_timestamp_get() function, which returns internal timestamp representation. This is either clock cycles or uptime in ms, depending on main clock precision. Introduce log_output_timestamp_to_us() helper function, which allows to convert internal logging timestamp to us. Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>