Documentation ¶
Overview ¶
Package threadtype
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Cpu = ThreadType{"cpu"} Wait = ThreadType{"wait"} Block = ThreadType{"block"} Gpu = ThreadType{"gpu"} Mem = ThreadType{"mem"} )
Functions ¶
This section is empty.
Types ¶
type ThreadType ¶
type ThreadType struct {
Name string
}
func (ThreadType) MarshalText ¶
func (t ThreadType) MarshalText() (text []byte, err error)
func (ThreadType) String ¶
func (t ThreadType) String() string
func (*ThreadType) UnmarshalText ¶
func (t *ThreadType) UnmarshalText(text []byte) error
Click to show internal directories.
Click to hide internal directories.