Skip to content

use monotonic clock instead of system clock #13

@bergey

Description

@bergey

What do you think about using a monotonic clock like the one in System.Clock instead of getCurrentTime? System clocks occasionally move backwards in order to correct clock skew, which makes a mess of latency statistics.

(To be clear, I haven't yet seen this issue with this particular library, but it's a known challenge.)

Happy to follow up with a PR if you like the idea.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions