Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Index ¶ Constants func Now() int64 func Since(start int64) time.Duration Constants ¶ View Source const ( // from /usr/include/linux/time.h CLOCK_MONOTONIC = 1 ) Variables ¶ This section is empty. Functions ¶ func Now ¶ func Now() int64 TODO(sgotti) for the moment just use a syscall so it'll work on all linux architectures. It's slower than using a vdso but we don't have such performance needs. Let's wait for a stdlib native monotonic clock. func Since ¶ func Since(start int64) time.Duration Since return the duration since the starting time Types ¶ This section is empty. Source Files ¶ View all Source files timer.go timer_linux.go Click to show internal directories. Click to hide internal directories.