package format
Import Path
internal/trace/traceviewer/format (on go.dev)
Dependency Relation
imports 0 packages, and imported by one package
Involved Source Files
Package traceviewer provides definitions of the JSON data structures
used by the Chrome trace viewer.
The official description of the format is in this file:
https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU/preview
Note: This can't be part of the parent traceviewer package as that would
throw. go_bootstrap cannot depend on the cgo version of package net in ./make.bash.
Package-Level Type Names (total 10)
Arg any
BindPoint string
Category string
Cname string
Dur float64
EndStack int
ID uint64
Name string
PID uint64
Phase string
Scope string
Stack int
TID uint64
Time float64
func internal/trace/traceviewer.(*Emitter).Event(ev *Event)
func internal/trace/traceviewer.(*Emitter).OptionalEvent(ev *Event)
Package-Level Constants (total 3)
const ProcsSection = 0 // where Goroutines or per-P timelines are presented. const StatsSection = 1 // where counters are presented. const TasksSection = 2 // where Task hierarchy & timeline is presented.
The pages are generated with Golds v0.7.0-preview. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |