From 1cbbd7f545870e128ebfc14b3cb93d57be79c773 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 18 Jun 2015 16:27:29 +0200 Subject: [PATCH] cmd/trace: fix time scale Integrate the latest trace-viewer changes. It now handles nanoseconds without any issues (thanks to @egonelbre!). So change timestamps from microseconds to nanoseconds. Change-Id: I010f27effde7e80c9992e6f276f6912354d27df4 Reviewed-on: https://go-review.googlesource.com/11244 Reviewed-by: Brad Fitzpatrick Reviewed-by: Egon Elbre --- misc/trace/README.md | 2 +- misc/trace/trace_viewer_lean.html | 1935 +++++++++++++++-------------- src/cmd/trace/trace.go | 25 +- 3 files changed, 1013 insertions(+), 949 deletions(-) diff --git a/misc/trace/README.md b/misc/trace/README.md index 992b438dc7c..8561c79bfd2 100644 --- a/misc/trace/README.md +++ b/misc/trace/README.md @@ -2,7 +2,7 @@ This directory contains helper file for trace viewer (`go tool trace`). `trace_viewer_lean.html` was generated by following [instructions](https://github.com/google/trace-viewer/wiki/Embedding) -on revision `3c695b420a09db9933686fa958f1765c373c372e` using: +on revision `280626ef607decf36291e290d5f0322b173e8a7f` using: ``` trace-viewer$ ./vulcanize_trace_viewer --config=lean trace-viewer$ cp bin/trace_viewer_lean.html $GOROOT/misc/trace/ diff --git a/misc/trace/trace_viewer_lean.html b/misc/trace/trace_viewer_lean.html index 5491fd3a4e7..5d40bc58050 100644 --- a/misc/trace/trace_viewer_lean.html +++ b/misc/trace/trace_viewer_lean.html @@ -2,12 +2,111 @@ -