MCPcopy Index your code
hub / github.com/jetify-com/devbox / Timer

Function Timer

internal/debug/time.go:26–34  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

24}
25
26func Timer(name string) *timer {
27 if !timerEnabled {
28 return nil
29 }
30 return &timer{
31 name: name,
32 time: time.Now(),
33 }
34}
35
36func FunctionTimer() *timer {
37 if !timerEnabled {

Callers 2

MainFunction · 0.92
FunctionTimerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected