threadprof

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2022 License: ISC Imports: 7 Imported by: 0

Documentation

Overview

Package ghandi interfaces Android devices

Package ghandi interfaces Android devices

Package ghandi interfaces Android devices

Package threadprof provide profiling of threading

Index

Constants

This section is empty.

Variables

View Source
var CountersFactory parl.CountersFactory = &countersFactory{}
View Source
var HistoryFactory parl.HistoryFactory = &historyFactory{}
View Source
var StatuserFactory parl.StatuserFactory = &statuserFactory{}

Functions

This section is empty.

Types

type Counter

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

func (*Counter) CounterValue

func (cn *Counter) CounterValue(reset bool) (values parl.CounterValues)

func (*Counter) Dec

func (cn *Counter) Dec() (cunter parl.Counter)

func (*Counter) Inc

func (cn *Counter) Inc() (counter parl.Counter)

type CounterValue

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

func (*CounterValue) DecRate

func (cv *CounterValue) DecRate() (ops uint64)

func (*CounterValue) Get

func (cv *CounterValue) Get() (value uint64, running uint64, max uint64, incRate uint64, decRate uint64)

func (*CounterValue) IncRate

func (cv *CounterValue) IncRate() (ops uint64)

func (*CounterValue) Max

func (cv *CounterValue) Max() (ops uint64)

func (*CounterValue) Running

func (cv *CounterValue) Running() (ops uint64)

func (*CounterValue) Value

func (cv *CounterValue) Value() (value uint64)

type Counters

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

func (*Counters) Add

func (cs *Counters) Add(name parl.CounterID) (counter parl.Counter)

func (*Counters) GetCounters

func (cs *Counters) GetCounters() (list []parl.CounterID, m map[parl.CounterID]parl.Counter)

func (*Counters) GetOrCreateCounter

func (cs *Counters) GetOrCreateCounter(name parl.CounterID) (counter parl.Counter)

func (*Counters) ResetCounters

func (cs *Counters) ResetCounters()

type Event

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

func (*Event) Event

func (ev *Event) Event(event string)

func (*Event) GetEvents

func (ev *Event) GetEvents() (events []string)

type Events

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

func (*Events) Event

func (te *Events) Event(event string, ID0 ...goid.ThreadID)

func (*Events) GetEvents

func (te *Events) GetEvents() (events map[goid.ThreadID][]string)

type StatuserOn

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

func (*StatuserOn) Set

func (st *StatuserOn) Set(status string) (statuser parl.Statuser)

func (*StatuserOn) Shutdown

func (st *StatuserOn) Shutdown()

Jump to

Keyboard shortcuts

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