MCPcopy Index your code
hub / github.com/CapSoftware/Cap / sampleCount

Function sampleCount

apps/desktop/scripts/desktop-memory-soak.js:235–237  ·  view source on GitHub ↗
(durationSeconds, intervalSeconds)

Source from the content-addressed store, hash-verified

233}
234
235function sampleCount(durationSeconds, intervalSeconds) {
236 return Math.max(1, Math.ceil(durationSeconds / intervalSeconds));
237}
238
239function renderTopProcesses(sample) {
240 return sample.processRows

Callers 1

collectPhaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected