capi

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2025 License: Apache-2.0, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurrentTimestamp added in v0.4.0

func CurrentTimestamp() uint64

Types

type InstrumentHooks

type InstrumentHooks struct {
	// contains filtered or unexported fields
}

func NewInstrumentHooks

func NewInstrumentHooks() *InstrumentHooks

func (*InstrumentHooks) AddBenchmarkTimestamps added in v0.4.0

func (i *InstrumentHooks) AddBenchmarkTimestamps(startTimestamp, endTimestamp uint64)

func (*InstrumentHooks) Close

func (i *InstrumentHooks) Close()

func (*InstrumentHooks) IsInstrumented

func (i *InstrumentHooks) IsInstrumented() bool

func (*InstrumentHooks) SetExecutedBenchmark

func (i *InstrumentHooks) SetExecutedBenchmark(pid uint32, name string)

func (*InstrumentHooks) SetIntegration

func (i *InstrumentHooks) SetIntegration(name, version string)

func (*InstrumentHooks) StartBenchmark

func (i *InstrumentHooks) StartBenchmark()

func (*InstrumentHooks) StopBenchmark

func (i *InstrumentHooks) StopBenchmark()

Jump to

Keyboard shortcuts

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