Skip to content

cmd/trace: low_resolution_timer warning #16247

@benburkert

Description

@benburkert

Please answer these questions before submitting your issue. Thanks!

  1. What version of Go are you using (go version)?

go version go1.7beta2 darwin/amd64

  1. What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/benburkert"
GORACE=""
GOROOT="/usr/local/Cellar/go/1.7beta2/libexec"
GOTOOLDIR="/usr/local/Cellar/go/1.7beta2/libexec/pkg/tool/darwin_amd64"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/jl/n78jzg3j6nb8nzbn1vvpg9xc0000gn/T/go-build951352621=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
  1. What did you do?

build ./fibtrace from https://play.golang.org/p/tWpeEL4jse

$ go build -o fibtrace fibtrace.go
$ ./fibtrace
$ go tool trace .fibtrace fib.trace

Then browse to the "View trace" page (/trace).

  1. What did you expect to see?

The trace viewer displayed without a warning.

  1. What did you see instead?

The trace viewer with a Import Warning: low_resolution_timer: Trace time is low resolution, trace may be unusable. warning.

trace-warning

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.OS-Darwin

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions