gioui.orggioui.org/io/profile Index | Files

package profile

import "gioui.org/io/profile"

Package profiles provides access to rendering profiles.

Index

Types

type Event

type Event struct {
	// Timings. Very likely to change.
	Timings string
}

Event contains profile data from a single rendered frame.

func (Event) ImplementsEvent

func (p Event) ImplementsEvent()

type Op

type Op struct {
	Tag event.Tag
}

Op registers a handler for receiving Events.

func (Op) Add

func (p Op) Add(o *op.Ops)

Source Files

profile.go

Version
v0.3.1
Published
Oct 2, 2023
Platform
linux/amd64
Imports
3 packages
Last checked
5 hours ago

Tools for package owners.