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

Function getTotalDuration

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

Source from the content-addressed store, hash-verified

572}
573
574export function getTotalDuration(): number {
575 return Date.now() - STATE.startTime
576}
577
578export function getTotalAPIDurationWithoutRetries(): number {
579 return STATE.totalAPIDurationWithoutRetries

Callers 3

saveCurrentSessionCostsFunction · 0.85
formatTotalCostFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected