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)
/* sort by: | */
Blocked string
Events []*Event Frames map[string]Frame TimeUnit string
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)
Name string Parent int func internal/trace/traceviewer.WalkStackFrames(allFrames map[string]Frame, id int, fn func(id int))
Allocated uint64 NextGC uint64
Name string
Index int
InSyscall int64 Running int64
ThreadID uint64
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.