Documentation ¶
Overview ¶
Package metric provides utilities for tracking the performance of an application.
Functions in this package should only be used from the main thread.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeginFrame ¶
func BeginFrame()
BeginFrame starts a new frame. This should be called at the beginning of each game frame.
Types ¶
type Region ¶
type Region struct {
// contains filtered or unexported fields
}
Region represents a monitoring region and is using during profiling.
func BeginRegion ¶
BeginRegion starts a new monitoring region. The region must be ended with a call to End.
Click to show internal directories.
Click to hide internal directories.