Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DNNLMARKER string = "mkldnn_verbose" OP string = "exec" INFO string = "info" )
Verbose mode const A valid sample output line is given as: mkldnn_verbose,exec,reorder,jit:uni,undef,in:f32_oihw out:f32_Ohwi16o,num:1,64x3x11x11,0.0219727
Functions ¶
func UpdateStartTime ¶
func UpdateStartTime()
Types ¶
type Trace ¶
type Trace struct {
TraceEvents TraceEvents
// contains filtered or unexported fields
}
func NewProfile ¶
type TraceEvent ¶
type TraceEvent struct {
OpName string // primitive kind
Timestamp int64
ExeTime time.Duration
DataFormat string // input/output data format
Propogation string // propogation
MetaData map[string]string // meta data
}
layer 46 Operation name: inner_product Execution time: 3.75903 Data format: fsrc:nc fwei:oi fbia:x fdst:nc Propogation typeforward_inference Metadata: gemm:blas, mb1ic9216oc4096
type TraceEvents ¶
type TraceEvents []*TraceEvent
func ParseVerbose ¶
func ParseVerbose(fName string) TraceEvents
func (TraceEvents) Len ¶
func (t TraceEvents) Len() int
func (TraceEvents) Less ¶
func (t TraceEvents) Less(i, j int) bool
func (TraceEvents) Swap ¶
func (t TraceEvents) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.