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

Method ProfileResultBuilder

tests/profile/profile_result.h:61–65  ·  view source on GitHub ↗

Constructor for building custom results (e.g., comparison tests)

Source from the content-addressed store, hash-verified

59
60 /// Constructor for building custom results (e.g., comparison tests)
61 ProfileResultBuilder(const char* variant, const char* target)
62 : m_result(fl::json::object()) {
63 m_result.set("variant", variant);
64 m_result.set("target", target);
65 }
66
67 /// Add timing data (automatically calculates ns_per_call and calls_per_sec)
68 void add_timing(int total_calls, fl::u32 elapsed_us) {

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected