Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
564
export
function
getTotalAPIDuration(): number {
565
return
STATE.totalAPIDuration
566
}
567
568
export
function
getTotalDuration(): number {
569
return
Date.now() - STATE.startTime
Callers
4
submitMessage
Method · 0.85
saveCurrentSessionCosts
Function · 0.85
formatTotalCost
Function · 0.85
buildStatusLineCommandInput
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected