New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mtime.Span.to_uint64_s would be nice. #25

Closed
haesbaert opened this Issue Jan 11, 2018 · 1 comment

Comments

Projects
None yet
1 participant
@haesbaert

haesbaert commented Jan 11, 2018

Would be nice to get a Span in seconds without having to go through a float.

Most network protocols talk in seconds, the most common operation is checking if something is too old on a second granularity. In this case the jitter is so high it doesn't matter if you round up or down.

Did I miss something or should I work on this ?

@haesbaert

This comment has been minimized.

Show comment
Hide comment
@haesbaert

haesbaert Jan 11, 2018

Nevermind, I realize using nanoseconds and converting just when I need to print fits nicely with Span and so on, closing this.

Really cool stuff btw !

haesbaert commented Jan 11, 2018

Nevermind, I realize using nanoseconds and converting just when I need to print fits nicely with Span and so on, closing this.

Really cool stuff btw !

@haesbaert haesbaert closed this Jan 11, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment