Skip to content

runtime: please expose nanotime #16658

Description

@pi

go version go1.7rc3 windows/amd64
There is no access to monotonic time in standard Go library, but there is private function runtime.nanotime. Please make it public (as System.nanoTime in Java) because time.Now is not monotonic and can be changed during probe (by user or by ntp server sync).

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions