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

Function getTotalAPIDuration

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

Source from the content-addressed store, hash-verified

568}
569
570export function getTotalAPIDuration(): number {
571 return STATE.totalAPIDuration
572}
573
574export function getTotalDuration(): number {
575 return Date.now() - STATE.startTime

Callers 4

submitMessageMethod · 0.85
saveCurrentSessionCostsFunction · 0.85
formatTotalCostFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected