Documentation
¶
Index ¶
- type CallProfile
- func (m *CallProfile) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *CallProfile) CloneVT() *CallProfile
- func (this *CallProfile) EqualMessageVT(thatMsg any) bool
- func (this *CallProfile) EqualVT(that *CallProfile) bool
- func (x *CallProfile) GetKeys() []*KeyCalls
- func (x *CallProfile) GetMethods() []*MethodCalls
- func (x *CallProfile) GetOverflow() uint64
- func (x *CallProfile) MarshalJSON() ([]byte, error)
- func (x *CallProfile) MarshalProtoJSON(s *json.MarshalState)
- func (x *CallProfile) MarshalProtoText() string
- func (m *CallProfile) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CallProfile) MarshalToVT(dAtA []byte) (int, error)
- func (m *CallProfile) MarshalVT() (dAtA []byte, err error)
- func (*CallProfile) ProtoMessage()
- func (x *CallProfile) Reset()
- func (m *CallProfile) SizeVT() (n int)
- func (x *CallProfile) String() string
- func (x *CallProfile) UnmarshalJSON(b []byte) error
- func (x *CallProfile) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *CallProfile) UnmarshalVT(dAtA []byte) error
- type Counts
- func (m *Counts) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Counts) CloneVT() *Counts
- func (this *Counts) EqualMessageVT(thatMsg any) bool
- func (this *Counts) EqualVT(that *Counts) bool
- func (x *Counts) GetCalls() uint64
- func (x *Counts) GetFailed() uint64
- func (x *Counts) GetRefused() uint64
- func (x *Counts) MarshalJSON() ([]byte, error)
- func (x *Counts) MarshalProtoJSON(s *json.MarshalState)
- func (x *Counts) MarshalProtoText() string
- func (m *Counts) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Counts) MarshalToVT(dAtA []byte) (int, error)
- func (m *Counts) MarshalVT() (dAtA []byte, err error)
- func (*Counts) ProtoMessage()
- func (x *Counts) Reset()
- func (m *Counts) SizeVT() (n int)
- func (x *Counts) String() string
- func (x *Counts) UnmarshalJSON(b []byte) error
- func (x *Counts) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Counts) UnmarshalVT(dAtA []byte) error
- type HotStack
- func (m *HotStack) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *HotStack) CloneVT() *HotStack
- func (this *HotStack) EqualMessageVT(thatMsg any) bool
- func (this *HotStack) EqualVT(that *HotStack) bool
- func (x *HotStack) GetFrames() []*StackFrame
- func (x *HotStack) GetSamples() uint32
- func (x *HotStack) MarshalJSON() ([]byte, error)
- func (x *HotStack) MarshalProtoJSON(s *json.MarshalState)
- func (x *HotStack) MarshalProtoText() string
- func (m *HotStack) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *HotStack) MarshalToVT(dAtA []byte) (int, error)
- func (m *HotStack) MarshalVT() (dAtA []byte, err error)
- func (*HotStack) ProtoMessage()
- func (x *HotStack) Reset()
- func (m *HotStack) SizeVT() (n int)
- func (x *HotStack) String() string
- func (x *HotStack) UnmarshalJSON(b []byte) error
- func (x *HotStack) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *HotStack) UnmarshalVT(dAtA []byte) error
- type KeyCalls
- func (m *KeyCalls) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *KeyCalls) CloneVT() *KeyCalls
- func (this *KeyCalls) EqualMessageVT(thatMsg any) bool
- func (this *KeyCalls) EqualVT(that *KeyCalls) bool
- func (x *KeyCalls) GetCounts() *Counts
- func (x *KeyCalls) GetKey() string
- func (x *KeyCalls) GetMethod() string
- func (x *KeyCalls) MarshalJSON() ([]byte, error)
- func (x *KeyCalls) MarshalProtoJSON(s *json.MarshalState)
- func (x *KeyCalls) MarshalProtoText() string
- func (m *KeyCalls) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *KeyCalls) MarshalToVT(dAtA []byte) (int, error)
- func (m *KeyCalls) MarshalVT() (dAtA []byte, err error)
- func (*KeyCalls) ProtoMessage()
- func (x *KeyCalls) Reset()
- func (m *KeyCalls) SizeVT() (n int)
- func (x *KeyCalls) String() string
- func (x *KeyCalls) UnmarshalJSON(b []byte) error
- func (x *KeyCalls) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *KeyCalls) UnmarshalVT(dAtA []byte) error
- type MethodCalls
- func (m *MethodCalls) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *MethodCalls) CloneVT() *MethodCalls
- func (this *MethodCalls) EqualMessageVT(thatMsg any) bool
- func (this *MethodCalls) EqualVT(that *MethodCalls) bool
- func (x *MethodCalls) GetCounts() *Counts
- func (x *MethodCalls) GetMethod() string
- func (x *MethodCalls) MarshalJSON() ([]byte, error)
- func (x *MethodCalls) MarshalProtoJSON(s *json.MarshalState)
- func (x *MethodCalls) MarshalProtoText() string
- func (m *MethodCalls) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *MethodCalls) MarshalToVT(dAtA []byte) (int, error)
- func (m *MethodCalls) MarshalVT() (dAtA []byte, err error)
- func (*MethodCalls) ProtoMessage()
- func (x *MethodCalls) Reset()
- func (m *MethodCalls) SizeVT() (n int)
- func (x *MethodCalls) String() string
- func (x *MethodCalls) UnmarshalJSON(b []byte) error
- func (x *MethodCalls) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *MethodCalls) UnmarshalVT(dAtA []byte) error
- type SlowFrame
- func (m *SlowFrame) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *SlowFrame) CloneVT() *SlowFrame
- func (this *SlowFrame) EqualMessageVT(thatMsg any) bool
- func (this *SlowFrame) EqualVT(that *SlowFrame) bool
- func (x *SlowFrame) GetHostMicros() uint64
- func (x *SlowFrame) GetSamples() *StackSamples
- func (x *SlowFrame) GetSkipped() uint32
- func (x *SlowFrame) GetSlowestHostCall() string
- func (x *SlowFrame) GetSlowestHostCallMicros() uint64
- func (x *SlowFrame) GetTookMicros() uint64
- func (x *SlowFrame) MarshalJSON() ([]byte, error)
- func (x *SlowFrame) MarshalProtoJSON(s *json.MarshalState)
- func (x *SlowFrame) MarshalProtoText() string
- func (m *SlowFrame) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SlowFrame) MarshalToVT(dAtA []byte) (int, error)
- func (m *SlowFrame) MarshalVT() (dAtA []byte, err error)
- func (*SlowFrame) ProtoMessage()
- func (x *SlowFrame) Reset()
- func (m *SlowFrame) SizeVT() (n int)
- func (x *SlowFrame) String() string
- func (x *SlowFrame) UnmarshalJSON(b []byte) error
- func (x *SlowFrame) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *SlowFrame) UnmarshalVT(dAtA []byte) error
- type StackFrame
- func (m *StackFrame) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *StackFrame) CloneVT() *StackFrame
- func (this *StackFrame) EqualMessageVT(thatMsg any) bool
- func (this *StackFrame) EqualVT(that *StackFrame) bool
- func (x *StackFrame) GetColumn() uint32
- func (x *StackFrame) GetFile() string
- func (x *StackFrame) GetFunction() string
- func (x *StackFrame) GetLine() uint32
- func (x *StackFrame) MarshalJSON() ([]byte, error)
- func (x *StackFrame) MarshalProtoJSON(s *json.MarshalState)
- func (x *StackFrame) MarshalProtoText() string
- func (m *StackFrame) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StackFrame) MarshalToVT(dAtA []byte) (int, error)
- func (m *StackFrame) MarshalVT() (dAtA []byte, err error)
- func (*StackFrame) ProtoMessage()
- func (x *StackFrame) Reset()
- func (m *StackFrame) SizeVT() (n int)
- func (x *StackFrame) String() string
- func (x *StackFrame) UnmarshalJSON(b []byte) error
- func (x *StackFrame) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *StackFrame) UnmarshalVT(dAtA []byte) error
- type StackSamples
- func (m *StackSamples) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *StackSamples) CloneVT() *StackSamples
- func (this *StackSamples) EqualMessageVT(thatMsg any) bool
- func (this *StackSamples) EqualVT(that *StackSamples) bool
- func (x *StackSamples) GetStacks() []*HotStack
- func (x *StackSamples) GetTotal() uint32
- func (x *StackSamples) MarshalJSON() ([]byte, error)
- func (x *StackSamples) MarshalProtoJSON(s *json.MarshalState)
- func (x *StackSamples) MarshalProtoText() string
- func (m *StackSamples) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StackSamples) MarshalToVT(dAtA []byte) (int, error)
- func (m *StackSamples) MarshalVT() (dAtA []byte, err error)
- func (*StackSamples) ProtoMessage()
- func (x *StackSamples) Reset()
- func (m *StackSamples) SizeVT() (n int)
- func (x *StackSamples) String() string
- func (x *StackSamples) UnmarshalJSON(b []byte) error
- func (x *StackSamples) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *StackSamples) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallProfile ¶
type CallProfile struct {
// Methods holds the calls of each method the mod called.
Methods []*MethodCalls `protobuf:"bytes,1,rep,name=methods,proto3" json:"methods,omitempty"`
// Keys holds the calls under each key the mod's calls named.
Keys []*KeyCalls `protobuf:"bytes,2,rep,name=keys,proto3" json:"keys,omitempty"`
// Overflow counts the keys the host did not keep, one for each call that
// named a new key after the mod had named as many distinct keys as the
// host keeps. A mod that names many distinct keys is itself worth reading.
Overflow uint64 `protobuf:"varint,3,opt,name=overflow,proto3" json:"overflow,omitempty"`
// contains filtered or unexported fields
}
CallProfile counts the host calls one mod made over an interval, so a host operator sees what the mod reaches. A host sends one profile for each interval in which the mod called, with only the methods and keys it called in that interval; adding the profiles gives the totals.
func (*CallProfile) CloneMessageVT ¶
func (m *CallProfile) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*CallProfile) CloneVT ¶
func (m *CallProfile) CloneVT() *CallProfile
func (*CallProfile) EqualMessageVT ¶
func (this *CallProfile) EqualMessageVT(thatMsg any) bool
func (*CallProfile) EqualVT ¶
func (this *CallProfile) EqualVT(that *CallProfile) bool
func (*CallProfile) GetKeys ¶
func (x *CallProfile) GetKeys() []*KeyCalls
func (*CallProfile) GetMethods ¶
func (x *CallProfile) GetMethods() []*MethodCalls
func (*CallProfile) GetOverflow ¶
func (x *CallProfile) GetOverflow() uint64
func (*CallProfile) MarshalJSON ¶
func (x *CallProfile) MarshalJSON() ([]byte, error)
MarshalJSON marshals the CallProfile to JSON.
func (*CallProfile) MarshalProtoJSON ¶
func (x *CallProfile) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the CallProfile message to JSON.
func (*CallProfile) MarshalProtoText ¶
func (x *CallProfile) MarshalProtoText() string
func (*CallProfile) MarshalToSizedBufferVT ¶
func (m *CallProfile) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CallProfile) MarshalToVT ¶
func (m *CallProfile) MarshalToVT(dAtA []byte) (int, error)
func (*CallProfile) MarshalVT ¶
func (m *CallProfile) MarshalVT() (dAtA []byte, err error)
func (*CallProfile) ProtoMessage ¶
func (*CallProfile) ProtoMessage()
func (*CallProfile) Reset ¶
func (x *CallProfile) Reset()
func (*CallProfile) SizeVT ¶
func (m *CallProfile) SizeVT() (n int)
func (*CallProfile) String ¶
func (x *CallProfile) String() string
func (*CallProfile) UnmarshalJSON ¶
func (x *CallProfile) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the CallProfile from JSON.
func (*CallProfile) UnmarshalProtoJSON ¶
func (x *CallProfile) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the CallProfile message from JSON.
func (*CallProfile) UnmarshalVT ¶
func (m *CallProfile) UnmarshalVT(dAtA []byte) error
type Counts ¶
type Counts struct {
// Calls counts every call.
Calls uint64 `protobuf:"varint,1,opt,name=calls,proto3" json:"calls,omitempty"`
// Failed counts the calls the host answered with an error.
Failed uint64 `protobuf:"varint,2,opt,name=failed,proto3" json:"failed,omitempty"`
// Refused counts the failed calls the host refused at its boundary before
// reaching the game: a method the host does not have, a request outside the
// mod's scope, a console command a mod may not run, or a file name outside
// the mod's files.
Refused uint64 `protobuf:"varint,3,opt,name=refused,proto3" json:"refused,omitempty"`
// contains filtered or unexported fields
}
Counts are the calls under one method or key.
func (*Counts) CloneMessageVT ¶
func (m *Counts) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Counts) EqualMessageVT ¶
func (*Counts) GetRefused ¶
func (*Counts) MarshalJSON ¶
MarshalJSON marshals the Counts to JSON.
func (*Counts) MarshalProtoJSON ¶
func (x *Counts) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Counts message to JSON.
func (*Counts) MarshalProtoText ¶
func (*Counts) MarshalToSizedBufferVT ¶
func (*Counts) ProtoMessage ¶
func (*Counts) ProtoMessage()
func (*Counts) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Counts from JSON.
func (*Counts) UnmarshalProtoJSON ¶
func (x *Counts) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Counts message from JSON.
func (*Counts) UnmarshalVT ¶
type HotStack ¶ added in v0.1.69
type HotStack struct {
// Frames is the stack from the innermost call, the one running when
// sampled, outward. A host keeps the innermost frames only.
Frames []*StackFrame `protobuf:"bytes,1,rep,name=frames,proto3" json:"frames,omitempty"`
// Samples counts the samples that found exactly this stack.
Samples uint32 `protobuf:"varint,2,opt,name=samples,proto3" json:"samples,omitempty"`
// contains filtered or unexported fields
}
HotStack is a call stack and how often it was sampled.
func (*HotStack) CloneMessageVT ¶ added in v0.1.69
func (m *HotStack) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*HotStack) EqualMessageVT ¶ added in v0.1.69
func (*HotStack) GetFrames ¶ added in v0.1.69
func (x *HotStack) GetFrames() []*StackFrame
func (*HotStack) GetSamples ¶ added in v0.1.69
func (*HotStack) MarshalJSON ¶ added in v0.1.69
MarshalJSON marshals the HotStack to JSON.
func (*HotStack) MarshalProtoJSON ¶ added in v0.1.69
func (x *HotStack) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the HotStack message to JSON.
func (*HotStack) MarshalProtoText ¶ added in v0.1.69
func (*HotStack) MarshalToSizedBufferVT ¶ added in v0.1.69
func (*HotStack) MarshalToVT ¶ added in v0.1.69
func (*HotStack) ProtoMessage ¶ added in v0.1.69
func (*HotStack) ProtoMessage()
func (*HotStack) UnmarshalJSON ¶ added in v0.1.69
UnmarshalJSON unmarshals the HotStack from JSON.
func (*HotStack) UnmarshalProtoJSON ¶ added in v0.1.69
func (x *HotStack) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the HotStack message from JSON.
func (*HotStack) UnmarshalVT ¶ added in v0.1.69
type KeyCalls ¶
type KeyCalls struct {
// Method names the method, or is empty for a name the host has no method
// for.
Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
// Key is what the calls reach, or the name an unknown method was called
// by. A host may shorten a long key, and replaces one that is not UTF-8
// with "(not UTF-8)".
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
// Counts are the key's calls. A call that names several keys counts under
// each, and is refused under the key the host refused.
Counts *Counts `protobuf:"bytes,3,opt,name=counts,proto3" json:"counts,omitempty"`
// contains filtered or unexported fields
}
KeyCalls is the calls of one method that named one key: what the call reaches, such as the class and field "CCitadelPlayerPawn.m_iHealth" a ReadField call reads, or the command "citadel_active_lane" a ServerCommand line runs.
func (*KeyCalls) CloneMessageVT ¶
func (m *KeyCalls) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*KeyCalls) EqualMessageVT ¶
func (*KeyCalls) MarshalJSON ¶
MarshalJSON marshals the KeyCalls to JSON.
func (*KeyCalls) MarshalProtoJSON ¶
func (x *KeyCalls) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the KeyCalls message to JSON.
func (*KeyCalls) MarshalProtoText ¶
func (*KeyCalls) MarshalToSizedBufferVT ¶
func (*KeyCalls) ProtoMessage ¶
func (*KeyCalls) ProtoMessage()
func (*KeyCalls) UnmarshalJSON ¶
UnmarshalJSON unmarshals the KeyCalls from JSON.
func (*KeyCalls) UnmarshalProtoJSON ¶
func (x *KeyCalls) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the KeyCalls message from JSON.
func (*KeyCalls) UnmarshalVT ¶
type MethodCalls ¶
type MethodCalls struct {
// Method names the method, such as "ReadField". An empty method counts the
// calls to names the host has no method for, each named by a key.
Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
// Counts are the method's calls.
Counts *Counts `protobuf:"bytes,2,opt,name=counts,proto3" json:"counts,omitempty"`
// contains filtered or unexported fields
}
MethodCalls is the calls of one Host method.
func (*MethodCalls) CloneMessageVT ¶
func (m *MethodCalls) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*MethodCalls) CloneVT ¶
func (m *MethodCalls) CloneVT() *MethodCalls
func (*MethodCalls) EqualMessageVT ¶
func (this *MethodCalls) EqualMessageVT(thatMsg any) bool
func (*MethodCalls) EqualVT ¶
func (this *MethodCalls) EqualVT(that *MethodCalls) bool
func (*MethodCalls) GetCounts ¶
func (x *MethodCalls) GetCounts() *Counts
func (*MethodCalls) GetMethod ¶
func (x *MethodCalls) GetMethod() string
func (*MethodCalls) MarshalJSON ¶
func (x *MethodCalls) MarshalJSON() ([]byte, error)
MarshalJSON marshals the MethodCalls to JSON.
func (*MethodCalls) MarshalProtoJSON ¶
func (x *MethodCalls) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the MethodCalls message to JSON.
func (*MethodCalls) MarshalProtoText ¶
func (x *MethodCalls) MarshalProtoText() string
func (*MethodCalls) MarshalToSizedBufferVT ¶
func (m *MethodCalls) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*MethodCalls) MarshalToVT ¶
func (m *MethodCalls) MarshalToVT(dAtA []byte) (int, error)
func (*MethodCalls) MarshalVT ¶
func (m *MethodCalls) MarshalVT() (dAtA []byte, err error)
func (*MethodCalls) ProtoMessage ¶
func (*MethodCalls) ProtoMessage()
func (*MethodCalls) Reset ¶
func (x *MethodCalls) Reset()
func (*MethodCalls) SizeVT ¶
func (m *MethodCalls) SizeVT() (n int)
func (*MethodCalls) String ¶
func (x *MethodCalls) String() string
func (*MethodCalls) UnmarshalJSON ¶
func (x *MethodCalls) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the MethodCalls from JSON.
func (*MethodCalls) UnmarshalProtoJSON ¶
func (x *MethodCalls) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the MethodCalls message from JSON.
func (*MethodCalls) UnmarshalVT ¶
func (m *MethodCalls) UnmarshalVT(dAtA []byte) error
type SlowFrame ¶ added in v0.1.69
type SlowFrame struct {
// TookMicros is the slowest frame's time, in microseconds of the mod's own
// CPU time.
TookMicros uint64 `protobuf:"varint,1,opt,name=took_micros,json=tookMicros,proto3" json:"tookMicros,omitempty"`
// HostMicros is the part of the slowest frame spent in host calls.
HostMicros uint64 `protobuf:"varint,2,opt,name=host_micros,json=hostMicros,proto3" json:"hostMicros,omitempty"`
// SlowestHostCall names the host call that took longest in that frame, or
// is empty when the frame made none.
SlowestHostCall string `protobuf:"bytes,3,opt,name=slowest_host_call,json=slowestHostCall,proto3" json:"slowestHostCall,omitempty"`
// SlowestHostCallMicros is that call's time.
SlowestHostCallMicros uint64 `` /* 126-byte string literal not displayed */
// Skipped counts the frames the host skipped since the last report to repay
// the slow ones.
Skipped uint32 `protobuf:"varint,5,opt,name=skipped,proto3" json:"skipped,omitempty"`
// Samples holds the stacks sampled during the slowest frame, empty when the
// frame ended before the first sample.
Samples *StackSamples `protobuf:"bytes,6,opt,name=samples,proto3" json:"samples,omitempty"`
// contains filtered or unexported fields
}
SlowFrame is one report of the frames a mod spent too long on: the slowest frame since the last report, with where it spent the time.
func (*SlowFrame) CloneMessageVT ¶ added in v0.1.69
func (m *SlowFrame) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*SlowFrame) EqualMessageVT ¶ added in v0.1.69
func (*SlowFrame) GetHostMicros ¶ added in v0.1.69
func (*SlowFrame) GetSamples ¶ added in v0.1.69
func (x *SlowFrame) GetSamples() *StackSamples
func (*SlowFrame) GetSkipped ¶ added in v0.1.69
func (*SlowFrame) GetSlowestHostCall ¶ added in v0.1.69
func (*SlowFrame) GetSlowestHostCallMicros ¶ added in v0.1.69
func (*SlowFrame) GetTookMicros ¶ added in v0.1.69
func (*SlowFrame) MarshalJSON ¶ added in v0.1.69
MarshalJSON marshals the SlowFrame to JSON.
func (*SlowFrame) MarshalProtoJSON ¶ added in v0.1.69
func (x *SlowFrame) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the SlowFrame message to JSON.
func (*SlowFrame) MarshalProtoText ¶ added in v0.1.69
func (*SlowFrame) MarshalToSizedBufferVT ¶ added in v0.1.69
func (*SlowFrame) MarshalToVT ¶ added in v0.1.69
func (*SlowFrame) ProtoMessage ¶ added in v0.1.69
func (*SlowFrame) ProtoMessage()
func (*SlowFrame) UnmarshalJSON ¶ added in v0.1.69
UnmarshalJSON unmarshals the SlowFrame from JSON.
func (*SlowFrame) UnmarshalProtoJSON ¶ added in v0.1.69
func (x *SlowFrame) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the SlowFrame message from JSON.
func (*SlowFrame) UnmarshalVT ¶ added in v0.1.69
type StackFrame ¶ added in v0.1.69
type StackFrame struct {
// Function is the function's name, or empty for an anonymous function.
Function string `protobuf:"bytes,1,opt,name=function,proto3" json:"function,omitempty"`
// File is the source file the function is in, as the runtime reports it: the
// mod's bundle for a script mod. Empty for a compiled mod, whose
// functions carry no file.
File string `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"`
// Line is the line in the file the call was at, from 1, or 0 when the
// runtime could not say. The innermost frame of a script is often at 0,
// since the runtime only knows a line once the function calls out.
Line uint32 `protobuf:"varint,3,opt,name=line,proto3" json:"line,omitempty"`
// Column is the column on that line, from 1, or 0 when unknown.
Column uint32 `protobuf:"varint,4,opt,name=column,proto3" json:"column,omitempty"`
// contains filtered or unexported fields
}
StackFrame is one function on a mod's call stack when it was sampled.
func (*StackFrame) CloneMessageVT ¶ added in v0.1.69
func (m *StackFrame) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*StackFrame) CloneVT ¶ added in v0.1.69
func (m *StackFrame) CloneVT() *StackFrame
func (*StackFrame) EqualMessageVT ¶ added in v0.1.69
func (this *StackFrame) EqualMessageVT(thatMsg any) bool
func (*StackFrame) EqualVT ¶ added in v0.1.69
func (this *StackFrame) EqualVT(that *StackFrame) bool
func (*StackFrame) GetColumn ¶ added in v0.1.69
func (x *StackFrame) GetColumn() uint32
func (*StackFrame) GetFile ¶ added in v0.1.69
func (x *StackFrame) GetFile() string
func (*StackFrame) GetFunction ¶ added in v0.1.69
func (x *StackFrame) GetFunction() string
func (*StackFrame) GetLine ¶ added in v0.1.69
func (x *StackFrame) GetLine() uint32
func (*StackFrame) MarshalJSON ¶ added in v0.1.69
func (x *StackFrame) MarshalJSON() ([]byte, error)
MarshalJSON marshals the StackFrame to JSON.
func (*StackFrame) MarshalProtoJSON ¶ added in v0.1.69
func (x *StackFrame) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the StackFrame message to JSON.
func (*StackFrame) MarshalProtoText ¶ added in v0.1.69
func (x *StackFrame) MarshalProtoText() string
func (*StackFrame) MarshalToSizedBufferVT ¶ added in v0.1.69
func (m *StackFrame) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StackFrame) MarshalToVT ¶ added in v0.1.69
func (m *StackFrame) MarshalToVT(dAtA []byte) (int, error)
func (*StackFrame) MarshalVT ¶ added in v0.1.69
func (m *StackFrame) MarshalVT() (dAtA []byte, err error)
func (*StackFrame) ProtoMessage ¶ added in v0.1.69
func (*StackFrame) ProtoMessage()
func (*StackFrame) Reset ¶ added in v0.1.69
func (x *StackFrame) Reset()
func (*StackFrame) SizeVT ¶ added in v0.1.69
func (m *StackFrame) SizeVT() (n int)
func (*StackFrame) String ¶ added in v0.1.69
func (x *StackFrame) String() string
func (*StackFrame) UnmarshalJSON ¶ added in v0.1.69
func (x *StackFrame) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the StackFrame from JSON.
func (*StackFrame) UnmarshalProtoJSON ¶ added in v0.1.69
func (x *StackFrame) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the StackFrame message from JSON.
func (*StackFrame) UnmarshalVT ¶ added in v0.1.69
func (m *StackFrame) UnmarshalVT(dAtA []byte) error
type StackSamples ¶ added in v0.1.69
type StackSamples struct {
// Total counts every sample taken, including those of stacks not listed.
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
// Stacks holds the stacks with the most samples, most first.
Stacks []*HotStack `protobuf:"bytes,2,rep,name=stacks,proto3" json:"stacks,omitempty"`
// contains filtered or unexported fields
}
StackSamples is the stacks sampled while one call of a mod ran slowly.
func (*StackSamples) CloneMessageVT ¶ added in v0.1.69
func (m *StackSamples) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*StackSamples) CloneVT ¶ added in v0.1.69
func (m *StackSamples) CloneVT() *StackSamples
func (*StackSamples) EqualMessageVT ¶ added in v0.1.69
func (this *StackSamples) EqualMessageVT(thatMsg any) bool
func (*StackSamples) EqualVT ¶ added in v0.1.69
func (this *StackSamples) EqualVT(that *StackSamples) bool
func (*StackSamples) GetStacks ¶ added in v0.1.69
func (x *StackSamples) GetStacks() []*HotStack
func (*StackSamples) GetTotal ¶ added in v0.1.69
func (x *StackSamples) GetTotal() uint32
func (*StackSamples) MarshalJSON ¶ added in v0.1.69
func (x *StackSamples) MarshalJSON() ([]byte, error)
MarshalJSON marshals the StackSamples to JSON.
func (*StackSamples) MarshalProtoJSON ¶ added in v0.1.69
func (x *StackSamples) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the StackSamples message to JSON.
func (*StackSamples) MarshalProtoText ¶ added in v0.1.69
func (x *StackSamples) MarshalProtoText() string
func (*StackSamples) MarshalToSizedBufferVT ¶ added in v0.1.69
func (m *StackSamples) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StackSamples) MarshalToVT ¶ added in v0.1.69
func (m *StackSamples) MarshalToVT(dAtA []byte) (int, error)
func (*StackSamples) MarshalVT ¶ added in v0.1.69
func (m *StackSamples) MarshalVT() (dAtA []byte, err error)
func (*StackSamples) ProtoMessage ¶ added in v0.1.69
func (*StackSamples) ProtoMessage()
func (*StackSamples) Reset ¶ added in v0.1.69
func (x *StackSamples) Reset()
func (*StackSamples) SizeVT ¶ added in v0.1.69
func (m *StackSamples) SizeVT() (n int)
func (*StackSamples) String ¶ added in v0.1.69
func (x *StackSamples) String() string
func (*StackSamples) UnmarshalJSON ¶ added in v0.1.69
func (x *StackSamples) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the StackSamples from JSON.
func (*StackSamples) UnmarshalProtoJSON ¶ added in v0.1.69
func (x *StackSamples) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the StackSamples message from JSON.
func (*StackSamples) UnmarshalVT ¶ added in v0.1.69
func (m *StackSamples) UnmarshalVT(dAtA []byte) error