Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PendingEvent ¶
type PendingEvent struct { Name string `json:"name"` // name of the event, as displayed in Trace Viewer Categories string `json:"cat"` // event categories (comma-separated) Type string `json:"ph"` // event type (single character) ClockTimestamp uint64 `json:"ts"` // tracing clock timestamp (microsecond granularity) Duration uint64 `json:"dur"` Pid uint64 `json:"pid"` // process ID for the process that output this event Tid uint64 `json:"tid"` // thread ID for the thread that output this event Args interface{} `json:"args"` // contains filtered or unexported fields }
func Event ¶
func Event(name string, tid int) *PendingEvent
func (*PendingEvent) Done ¶
func (pe *PendingEvent) Done()
Click to show internal directories.
Click to hide internal directories.