Skip to content
This repository has been archived by the owner on Dec 2, 2021. It is now read-only.

DAOS-4222 fix: Print full microseconds #360

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

paf-49
Copy link

@paf-49 paf-49 commented Feb 25, 2020

The CaRT logging facility currently only prints in
hundredths of seconds, which leaves many log entries
with the same timestamp. Microsecond granularity is
available from the timespec, let's use it.

Before:
02/25-12:44:08.58 hl-d102 DAOS[14202/14202] mem ...

After:
02/25-13:03:06.610936 hl-d102 DAOS[24902/24902] mem

Signed-off-by: Patrick Farrell [email protected]

The CaRT logging facility currently only prints in
hundredths of seconds, which leaves many log entries
with the same timestamp.  Microsecond granularity is
available from the timespec, let's use it.

Before:
02/25-12:44:08.58 hl-d102 DAOS[14202/14202] mem ...

After:
02/25-13:03:06.610936 hl-d102 DAOS[24902/24902] mem

Signed-off-by: Patrick Farrell <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant