(wait time.Duration)
| 30 | } |
| 31 | |
| 32 | func durationTrace(wait time.Duration) { |
| 33 | name := traceFileName() |
| 34 | startTrace(name) |
| 35 | defer stopTrace() |
| 36 | time.Sleep(wait) |
| 37 | } |
| 38 | |
| 39 | func startTrace(name string) (err error) { |
| 40 | if traceOn && (traceFile != nil) { |
no test coverage detected