MCPcopy
hub / github.com/dgraph-io/dgraph / Total

Method Total

x/x.go:906–908  ·  view source on GitHub ↗

Total returns the duration since the timer was started.

()

Source from the content-addressed store, hash-verified

904
905// Total returns the duration since the timer was started.
906func (t *Timer) Total() time.Duration {
907 return time.Since(t.start).Round(time.Millisecond)
908}
909
910func (t *Timer) String() string {
911 sort.Slice(t.records, func(i, j int) bool {

Callers 4

RunMethod · 0.95
purgeBelowMethod · 0.95
StringMethod · 0.95
RunMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected