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

Function renderFloat

tests/profile/profile_chasing_spirals.cpp:29–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27// These functions are named so callgrind --toggle-collect can target them.
28
29__attribute__((noinline))
30void renderFloat(Animartrix &fx, CRGB *leds, int frames, int start_frame) {
31 for (int i = 0; i < frames; i++) {
32 uint32_t t = static_cast<uint32_t>((start_frame + i) * 16);
33 Fx::DrawContext ctx(t, leds);
34 fx.draw(ctx);
35 }
36}
37
38// Direct class renderers for benchmarking specific implementations
39__attribute__((noinline))

Callers 1

mainFunction · 0.70

Calls 1

drawMethod · 0.45

Tested by

no test coverage detected