metric

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2025 License: MIT Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LTStatus

type LTStatus struct {
	NumModules int64 `toml:"num_modules" json:"num_modules"`
}

LTStatus contains status about library tracker.

type MTStatus

type MTStatus struct {
	NumGlobals int64 `toml:"num_globals" json:"num_globals"`
	NumLocals  int64 `toml:"num_locals"  json:"num_locals"`
	NumBlocks  int64 `toml:"num_blocks"  json:"num_blocks"`
	NumRegions int64 `toml:"num_regions" json:"num_regions"`
	NumPages   int64 `toml:"num_pages"   json:"num_pages"`
	NumHeaps   int64 `toml:"num_heaps"   json:"num_heaps"`
}

MTStatus contains status about memory tracker.

type Metrics

type Metrics struct {
	Library  LTStatus `toml:"library"  json:"library"`
	Memory   MTStatus `toml:"memory"   json:"memory"`
	Thread   TTStatus `toml:"thread"   json:"thread"`
	Resource RTStatus `toml:"resource" json:"resource"`
	Sysmon   SMStatus `toml:"sysmon"   json:"sysmon"`
	Watchdog WDStatus `toml:"watchdog" json:"watchdog"`
}

Metrics contains status about runtime submodules.

type RTStatus

type RTStatus struct {
	NumMutexs         int64 `toml:"num_mutexs"          json:"num_mutexs"`
	NumEvents         int64 `toml:"num_events"          json:"num_events"`
	NumSemaphores     int64 `toml:"num_semaphores"      json:"num_semaphores"`
	NumWaitableTimers int64 `toml:"num_waitable_timers" json:"num_waitable_timers"`
	NumFiles          int64 `toml:"num_files"           json:"num_files"`
	NumDirectories    int64 `toml:"num_directories"     json:"num_directories"`
	NumIOCPs          int64 `toml:"num_iocps"           json:"num_iocps"`
	NumKeys           int64 `toml:"num_keys"            json:"num_keys"`
	NumSockets        int64 `toml:"num_sockets"         json:"num_sockets"`
}

RTStatus contains status about resource tracker.

type SMStatus

type SMStatus struct {
	NumNormal  int64 `toml:"num_normal"  json:"num_normal"`
	NumRecover int64 `toml:"num_recover" json:"num_recover"`
	NumPanic   int64 `toml:"num_panic"   json:"num_panic"`
}

SMStatus contains status about sysmon.

type TTStatus

type TTStatus struct {
	NumThreads  int64 `toml:"num_threads"   json:"num_threads"`
	NumTLSIndex int64 `toml:"num_tls_index" json:"num_tls_index"`
	NumSuspend  int64 `toml:"num_suspend"   json:"num_suspend"`
}

TTStatus contains status about thread tracker.

type WDStatus

type WDStatus struct {
	NumKick   int64 `toml:"num_kick"   json:"num_kick"`
	NumNormal int64 `toml:"num_normal" json:"num_normal"`
	NumReset  int64 `toml:"num_reset"  json:"num_reset"`
}

WDStatus contains status about watchdog.

Jump to

Keyboard shortcuts

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