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

Method getStats

src/platforms/esp/32/drivers/rmt/rmt_5/buffer_pool.cpp.hpp:173–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173RMTBufferPool::Stats RMTBufferPool::getStats() const FL_NOEXCEPT {
174 Stats stats;
175 stats.numInternalBuffers = mInternalBuffers.size();
176 stats.totalInternalCapacity = 0;
177 for (const auto& slot : mInternalBuffers) {
178 stats.totalInternalCapacity += slot.capacity;
179 }
180 stats.dmaBufferCapacity = mDMABuffer.capacity;
181 stats.dmaBufferInUse = mDMABuffer.inUse;
182 return stats;
183}
184
185} // namespace fl
186

Callers 10

ProcessorClass · 0.80
FL_TEST_FILEFunction · 0.80
auto_gain.hppFile · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected