|
Sound Byte Libs 0.5.1-340-gab5b79a
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
|
RAII scope that measures a block of code in cycles. Usage: volatile uint32_t elapsed; { CycleScope s(elapsed); ... }
Definition at line 48 of file cycles.hpp.
#include <cycles.hpp>
Public Member Functions | |
| CycleScope (volatile uint32_t &out) | |
Public Attributes | |
| uint32_t | start_ |
| volatile uint32_t & | result_ |
|
inlineexplicit |
Definition at line 52 of file cycles.hpp.
|
inline |
Definition at line 53 of file cycles.hpp.
| uint32_t sbl::system::profiling::CycleScope::start_ |
Definition at line 49 of file cycles.hpp.
| volatile uint32_t& sbl::system::profiling::CycleScope::result_ |
Definition at line 50 of file cycles.hpp.