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

Function getTotalAPIDuration

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

Source from the content-addressed store, hash-verified

562}
563
564export function getTotalAPIDuration(): number {
565 return STATE.totalAPIDuration
566}
567
568export function getTotalDuration(): number {
569 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