Versions in this module Expand all Collapse all v0 v0.9.2202 Apr 21, 2024 v0.8.2202 Apr 19, 2024 v0.7.2202 Apr 19, 2024retracted Changes in this version + const EvSTWDone + const EvSTWStart + func MutatorUtilizationV2(events []tracev2.Event, flags UtilFlags) [][]MutatorUtil + func ReadVersion(r io.Reader) (ver int, off int, err error) + func RelatedGoroutinesV2(events []tracev2.Event, goid tracev2.GoID) map[tracev2.GoID]struct + type GoroutineExecStats struct + BlockTimeByReason map[string]time.Duration + ExecTime time.Duration + RangeTime map[string]time.Duration + SchedWaitTime time.Duration + SyscallBlockTime time.Duration + SyscallTime time.Duration + TotalTime time.Duration + func (s GoroutineExecStats) NonOverlappingStats() map[string]time.Duration + func (s GoroutineExecStats) UnknownTime() time.Duration + type GoroutineSummary struct + CreationTime tracev2.Time + EndTime tracev2.Time + ID tracev2.GoID + Name string + PC uint64 + Regions []*UserRegionSummary + StartTime tracev2.Time + type Summarizer struct + func NewSummarizer() *Summarizer + func (s *Summarizer) Event(ev *tracev2.Event) + func (s *Summarizer) Finalize() *Summary + type Summary struct + Goroutines map[tracev2.GoID]*GoroutineSummary + Tasks map[tracev2.TaskID]*UserTaskSummary + type UserRegionSummary struct + End *tracev2.Event + Name string + Start *tracev2.Event + TaskID tracev2.TaskID + type UserTaskSummary struct + Children []*UserTaskSummary + End *tracev2.Event + Goroutines map[tracev2.GoID]*GoroutineSummary + ID tracev2.TaskID + Logs []*tracev2.Event + Name string + Parent *UserTaskSummary + Regions []*UserRegionSummary + Start *tracev2.Event + func (s *UserTaskSummary) Complete() bool + func (s *UserTaskSummary) Descendents() []*UserTaskSummary v0.6.2010 Oct 12, 2023 v0.5.208 Sep 10, 2023 v0.4.210-rc.2 Jun 30, 2023 v0.4.206 Jul 14, 2023 v0.3.205 Jun 10, 2023 v0.2.196 Feb 14, 2023 v0.2.3 Nov 6, 2022 v0.2.0 Oct 31, 2022 Changes in this version + const EvBatch + const EvCPUSample + 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 ProfileP + 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 IsSystemGoroutine(entryFn string) bool + 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) v0.1.0-go.1.18.5.beta.3 Aug 11, 2022 v0.1.0-go.1.18.5.beta.2 Aug 11, 2022