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

Function renderQ31_Direct

tests/profile/profile_chasing_spirals.cpp:39–48  ·  view source on GitHub ↗

Direct class renderers for benchmarking specific implementations

Source from the content-addressed store, hash-verified

37
38// Direct class renderers for benchmarking specific implementations
39__attribute__((noinline))
40void renderQ31_Direct(IAnimartrix2Viz &viz,
41 Context &ctx,
42 int frames, int start_frame) {
43 for (int i = 0; i < frames; i++) {
44 uint32_t t = static_cast<uint32_t>((start_frame + i) * 16);
45 setTime(ctx, t);
46 viz.draw(ctx);
47 }
48}
49
50int main(int argc, char *argv[]) {
51 bool do_float = true;

Callers 1

mainFunction · 0.70

Calls 2

setTimeFunction · 0.85
drawMethod · 0.45

Tested by

no test coverage detected