Documentation ¶
Index ¶
- type Eventer
- func (e *Eventer) Begin(name string, when float64)
- func (e *Eventer) BeginNow(name string)
- func (e *Eventer) BeginNowTid(tid uint32, name string)
- func (e *Eventer) BeginNowTidPid(tid, pid uint32, name string)
- func (e *Eventer) BeginTid(name string, tid uint32, when float64)
- func (e *Eventer) BeginTidPid(name string, tid, pid uint32, when float64)
- func (e *Eventer) Close()
- func (e *Eventer) End(when float64)
- func (e *Eventer) EndNow()
- func (e *Eventer) EndNowTid(tid uint32)
- func (e *Eventer) EndNowTidPid(tid, pid uint32)
- func (e *Eventer) EndTid(tid uint32, when float64)
- func (e *Eventer) EndTidPid(tid, pid uint32, when float64)
- type Flusher
- type Profile
- type TimestampUnit
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Eventer ¶
type Eventer struct {
// contains filtered or unexported fields
}
func (*Eventer) BeginNowTid ¶
func (*Eventer) BeginNowTidPid ¶
func (*Eventer) BeginTidPid ¶
func (*Eventer) EndNowTidPid ¶
type Profile ¶
type Profile struct {
// contains filtered or unexported fields
}
func NewProfile ¶
func NewProfile(w io.Writer, unit TimestampUnit) *Profile
func (*Profile) NewEventer ¶
type TimestampUnit ¶
type TimestampUnit float64
const ( UnitNanoseconds TimestampUnit = 0.001 UnitMicroseconds TimestampUnit = 1 UnitMilliseconds TimestampUnit = 1000 )
Click to show internal directories.
Click to hide internal directories.