MCPcopy
hub / github.com/claude-code-best/claude-code / getTotalDuration

Function getTotalDuration

src/bootstrap/state.ts:568–570  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

566}
567
568export function getTotalDuration(): number {
569 return Date.now() - STATE.startTime
570}
571
572export function getTotalAPIDurationWithoutRetries(): number {
573 return STATE.totalAPIDurationWithoutRetries

Callers 3

saveCurrentSessionCostsFunction · 0.85
formatTotalCostFunction · 0.85

Calls 1

nowMethod · 0.80

Tested by

no test coverage detected