MCPcopy
hub / github.com/github/gh-ost / ElapsedTime

Method ElapsedTime

go/base/context.go:555–557  ·  view source on GitHub ↗

ElapsedTime returns time since very beginning of the process

()

Source from the content-addressed store, hash-verified

553
554// ElapsedTime returns time since very beginning of the process
555func (mctx *MigrationContext) ElapsedTime() time.Duration {
556 return time.Since(mctx.StartTime)
557}
558
559// MarkRowCopyStartTime
560func (mctx *MigrationContext) MarkRowCopyStartTime() {

Callers 2

printStatusMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected