Lines Matching refs:c
46 func (c ContextImpl) BeginTrace(name, desc string) {
47 if c.Tracer != nil {
48 c.Tracer.Begin(desc, c.Thread)
50 if c.Metrics != nil {
51 c.Metrics.TimeTracer.Begin(name, desc, c.Thread)
56 func (c ContextImpl) EndTrace() {
57 if c.Tracer != nil {
58 c.Tracer.End(c.Thread)
60 if c.Metrics != nil {
61 c.Metrics.SetTimeMetrics(c.Metrics.TimeTracer.End(c.Thread))
66 func (c ContextImpl) CompleteTrace(name, desc string, begin, end uint64) {
67 if c.Tracer != nil {
68 c.Tracer.Complete(desc, c.Thread, begin, end)
70 if c.Metrics != nil {
72 c.Metrics.SetTimeMetrics(