Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/runtime/mstats.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,10 @@ type MemStats struct {

// GCSys is bytes of memory in garbage collection metadata.
GCSys uint64

// NumGC is the number of completed GC cycles.
//
// TinyGo does not track GC cycle counts; present for API compatibility so
// callers that read runtime.MemStats.NumGC compile (it stays 0).
NumGC uint32
}