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

Function getTimestamp

src/utils/telemetry/perfettoTracing.ts:172–174  ·  view source on GitHub ↗

* Get timestamp in microseconds relative to trace start

()

Source from the content-addressed store, hash-verified

170 * Get timestamp in microseconds relative to trace start
171 */
172function getTimestamp(): number {
173 return (Date.now() - startTimeMs) * 1000
174}
175
176/**
177 * Generate a unique span ID

Callers 12

evictStaleSpansFunction · 0.85
startToolPerfettoSpanFunction · 0.85
endToolPerfettoSpanFunction · 0.85
endUserInputPerfettoSpanFunction · 0.85
emitPerfettoInstantFunction · 0.85
emitPerfettoCounterFunction · 0.85
closeOpenSpansFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected