Versions in this module Expand all Collapse all v1 v1.0.14 Dec 26, 2022 v1.0.13 Oct 31, 2022 v1.0.12 Oct 28, 2022 v1.0.6 Oct 24, 2022 v1.0.5 Oct 23, 2022 v1.0.4 Oct 13, 2022 v1.0.3 Oct 13, 2022 v1.0.2 Oct 13, 2022 v1.0.1 Oct 13, 2022 v1.0.0 Oct 13, 2022 Changes in this version + const EvBatch + const EvCount + const EvFrequency + const EvFutileWakeup + const EvGCDone + const EvGCMarkAssistDone + const EvGCMarkAssistStart + const EvGCSTWDone + const EvGCSTWStart + const EvGCStart + const EvGCSweepDone + const EvGCSweepStart + const EvGoBlock + const EvGoBlockCond + const EvGoBlockGC + const EvGoBlockNet + const EvGoBlockRecv + const EvGoBlockSelect + const EvGoBlockSend + const EvGoBlockSync + const EvGoCreate + const EvGoEnd + const EvGoInSyscall + const EvGoPreempt + const EvGoSched + const EvGoSleep + const EvGoStart + const EvGoStartLabel + const EvGoStartLocal + const EvGoStop + const EvGoSysBlock + const EvGoSysCall + const EvGoSysExit + const EvGoSysExitLocal + const EvGoUnblock + const EvGoUnblockLocal + const EvGoWaiting + const EvGomaxprocs + const EvHeapAlloc + const EvHeapGoal + const EvNone + const EvProcStart + const EvProcStop + const EvStack + const EvString + const EvTimerGoroutine + const EvUserLog + const EvUserRegion + const EvUserTaskCreate + const EvUserTaskEnd + const FakeP + const GCP + const NetpollP + const SyscallP + const TimerP + var BreakTimestampsForTesting bool + var ErrTimeOrder = fmt.Errorf("time stamps out of order") + var EventDescriptions = [EvCount]struct{ ... } + func GoroutineStats(events []*Event) map[uint64]*GDesc + func MutatorUtilization(events []*Event, flags UtilFlags) [][]MutatorUtil + func Print(events []*Event) + func PrintEvent(ev *Event) + func RelatedGoroutines(events []*Event, goid uint64) map[uint64]bool + type Event struct + Args [3]uint64 + G uint64 + Link *Event + Off int + P int + SArgs []string + Stk []*Frame + StkID uint64 + Ts int64 + Type byte + func (ev *Event) String() string + type Frame struct + File string + Fn string + Line int + PC uint64 + type GDesc struct + CreationTime int64 + EndTime int64 + ID uint64 + Name string + PC uint64 + Regions []*UserRegionDesc + StartTime int64 + type GExecutionStat struct + BlockTime int64 + ExecTime int64 + GCTime int64 + IOTime int64 + SchedWaitTime int64 + SweepTime int64 + SyscallTime int64 + TotalTime int64 + type MMUCurve struct + func NewMMUCurve(utils [][]MutatorUtil) *MMUCurve + func (c *MMUCurve) Examples(window time.Duration, n int) (worst []UtilWindow) + func (c *MMUCurve) MMU(window time.Duration) (mmu float64) + func (c *MMUCurve) MUD(window time.Duration, quantiles []float64) []float64 + type MutatorUtil struct + Time int64 + Util float64 + type ParseResult struct + Events []*Event + Stacks map[uint64][]*Frame + func Parse(r io.Reader, bin string) (ParseResult, error) + type UserRegionDesc struct + End *Event + Name string + Start *Event + TaskID uint64 + type UtilFlags int + const UtilAssist + const UtilBackground + const UtilPerProc + const UtilSTW + const UtilSweep + type UtilWindow struct + MutatorUtil float64 + Time int64 + type Writer struct + func NewWriter() *Writer + func (w *Writer) Emit(typ byte, args ...uint64)