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

Method Start

x/x.go:889–893  ·  view source on GitHub ↗

Start starts the timer and clears the list of records.

()

Source from the content-addressed store, hash-verified

887
888// Start starts the timer and clears the list of records.
889func (t *Timer) Start() {
890 t.start = time.Now()
891 t.last = t.start
892 t.records = t.records[:0]
893}
894
895// Record records an event and assigns it the given name.
896func (t *Timer) Record(name string) {

Callers 3

RunMethod · 0.95
purgeBelowMethod · 0.95
RunMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected