sched

package
v0.0.0-...-c17b281 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SchedulerTrace

func SchedulerTrace(out []byte, detailed bool) (n int)

SchedulerTrace collects the output of the standard scheduler trace debug output line

Types

type InternalStats

type InternalStats struct {
	GoMaxProcs  int32
	IdleProcs   int32
	ThreadCount int32
	IdleThreads int32
	RunQueue    int32
}

InternalStats represents the data typically displayed in a scheduler trace.

func RuntimeInternals

func RuntimeInternals() (rv InternalStats)

RuntimeInternals parses a scheduler trace line into an InternalStats struct

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL