Add profiling with Remotery
This commit is contained in:
parent
c37be6798f
commit
6331a2bf79
50 changed files with 16864 additions and 11 deletions
|
|
@ -4,6 +4,15 @@
|
|||
#include <math.h>
|
||||
#include <memory>
|
||||
|
||||
/* Utility macros */
|
||||
|
||||
#define TIMED_BLOCK_2(c, flags) rmt_ScopedCPUSample(Counter##c, flags)
|
||||
#define TIMED_BLOCK_1(c, flags) TIMED_BLOCK_2(c, flags)
|
||||
#define TIMED_BLOCK(flags) TIMED_BLOCK_1(__COUNTER__, flags)
|
||||
|
||||
// #define TIMED_BLOCK_(counter, flags) rmt_ScopedCPUSample(counter, flags)
|
||||
// #define TIMED_BLOCK(flags) TIMED_BLOCK_(__COUNTER__, flags)
|
||||
|
||||
/* Utility functions */
|
||||
double degrees_to_radians(double d)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue