Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { // Start is the timestamp when the STW event started. Start time.Duration // End is the timestamp when the STW event ended. End time.Duration // Type is the type of the STW event. Type EventType // P is the P that initiated the STW event. P uint64 }
Event represents a single STW event.
type EventType ¶
type EventType string
EventType is the type of an STW event.
var ( Unknown EventType = "unknown" MarkTermination EventType = "mark termination" SweepTermination EventType = "sweep termination" WriteHeapDump EventType = "write heap dump" GoroutineProfile EventType = "goroutine profile" GoroutineProfileCleanup EventType = "goroutine profile cleanup" AllGoroutinesStackTrace EventType = "all goroutines stack trace" ReadMemStats EventType = "read mem stats" AllThreadsSyscall EventType = "AllThreadsSyscall" GOMAXPROCS EventType = "GOMAXPROCS" StartTrace EventType = "start trace" StopTrace EventType = "stop trace" CountPagesInUse EventType = "CountPagesInUse (test)" ReadMetricsSlow EventType = "ReadMetricsSlow (test)" ReadMemStatsSlow EventType = "ReadMemStatsSlow (test)" PageCachePagesLeaked EventType = "PageCachePagesLeaked (test)" ResetDebugLog EventType = "ResetDebugLog (test)" )
List of known STW event types.
Click to show internal directories.
Click to hide internal directories.