MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / NewTimer

Function NewTimer

utils/timer/timer.go:35–39  ·  view source on GitHub ↗

NewTimer returns a new stop watch timer instance.

()

Source from the content-addressed store, hash-verified

33
34// NewTimer returns a new stop watch timer instance.
35func NewTimer() *Timer {
36 return &Timer{
37 start: time.Now(),
38 }
39}
40
41// Add records a time pivot.
42func (t *Timer) Add(name string) {

Callers 4

ApplyMethod · 0.92
FetchMethod · 0.92
followerApplyMethod · 0.92
TestTimerFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestTimerFunction · 0.68