MCPcopy Create free account
hub / github.com/FastLED/FastLED / nsPerCall

Function nsPerCall

tests/fl/gfx/perf_primitives.hpp:18–18  ·  view source on GitHub ↗

Helper: compute ns/call = (total_us * 1000) / iters

Source from the content-addressed store, hash-verified

16
17// Helper: compute ns/call = (total_us * 1000) / iters
18static fl::u32 nsPerCall(fl::u32 us) { return (us * 1000) / kIters; }
19
20FL_TEST_FILE(FL_FILEPATH) {
21

Callers 3

FL_TEST_FILEFunction · 0.85
callsPerSecMethod · 0.85
relativeToBaselineMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected