format

Constants & Variables

ProcsSection const #

const ProcsSection = 0

StatsSection const #

const StatsSection = 1

TasksSection const #

const TasksSection = 2

Structs

BlockedArg struct #

type BlockedArg struct {
Blocked string `json:"blocked"`
}

Data struct #

type Data struct {
Events []*Event `json:"traceEvents"`
Frames map[string]Frame `json:"stackFrames"`
TimeUnit string `json:"displayTimeUnit"`
}

Event struct #

type Event struct {
Name string `json:"name,omitempty"`
Phase string `json:"ph"`
Scope string `json:"s,omitempty"`
Time float64 `json:"ts"`
Dur float64 `json:"dur,omitempty"`
PID uint64 `json:"pid"`
TID uint64 `json:"tid"`
ID uint64 `json:"id,omitempty"`
BindPoint string `json:"bp,omitempty"`
Stack int `json:"sf,omitempty"`
EndStack int `json:"esf,omitempty"`
Arg any `json:"args,omitempty"`
Cname string `json:"cname,omitempty"`
Category string `json:"cat,omitempty"`
}

Frame struct #

type Frame struct {
Name string `json:"name"`
Parent int `json:"parent,omitempty"`
}

GoroutineCountersArg struct #

type GoroutineCountersArg struct {
Running uint64
Runnable uint64
GCWaiting uint64
}

HeapCountersArg struct #

type HeapCountersArg struct {
Allocated uint64
NextGC uint64
}

NameArg struct #

type NameArg struct {
Name string `json:"name"`
}

SortIndexArg struct #

type SortIndexArg struct {
Index int `json:"sort_index"`
}

ThreadCountersArg struct #

type ThreadCountersArg struct {
Running int64
InSyscall int64
}

ThreadIDArg struct #

type ThreadIDArg struct {
ThreadID uint64
}

Generated with Arrow