• Austin Clements's avatar
    runtime: report MemStats.PauseEnd in UNIX time · ad60cd8b
    Austin Clements authored
    Currently we report MemStats.PauseEnd in nanoseconds, but with no
    particular 0 time. On Linux, the 0 time is when the host started. On
    Darwin, it's the UNIX epoch. This is also inconsistent with the other
    absolute time in MemStats, LastGC, which is always reported in
    nanoseconds since 1970.
    
    Fix PauseEnd so it's always reported in nanoseconds since 1970, like
    LastGC.
    
    Fixes one of the issues raised in #10323.
    
    Change-Id: Ie2fe3169d45113992363a03b764f4e6c47e5c6a8
    Reviewed-on: https://go-review.googlesource.com/11801
    Run-TryBot: Austin Clements <austin@google.com>
    Reviewed-by: 's avatarRuss Cox <rsc@golang.org>
    ad60cd8b
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...