Files
squeezelite-esp32/main/perf_trace.c
Sebastien Leclerc 832180a4e4 Ring buffer implementation
First stab at implementing a ring buffer. Now tuning should be done.
The statistics report causes jitters and can be deactivated by lowering
the output verbosity.
2019-06-06 08:41:28 -04:00

15 lines
592 B
C

#include "squeezelite.h"
#include "perf_trace.h"
/*************************************
* Some performance analysis bits
*/
//perf_stats * stats[]={
// { .min=LONG_MAX, .max=LONG_MIN, .current=0, .name="output", .fmt=BUFFER_TYPE },
// { .min=LONG_MAX, .max=LONG_MIN, .current=0, .name="stream", .fmt=BUFFER_TYPE },
// { .min=LONG_MAX, .max=LONG_MIN, .current=0, .name="i2sbuffer", .fmt=BUFFER_TYPE },
// { .min=LONG_MAX, .max=LONG_MIN, .current=0, .name="i2s_write", .fmt=DURATION_TYPE },
// { .min=LONG_MAX, .max=LONG_MIN, .current=0, .name="output_fill", .fmt=DURATION_TYPE }
//};