Browse Source

Audio memory usage tracking for more than 255 blocks

teensy4-core
PaulStoffregen 7 years ago
parent
commit
a8ed95773a
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      teensy3/AudioStream.cpp
  2. +2
    -2
      teensy3/AudioStream.h

+ 2
- 2
teensy3/AudioStream.cpp View File



uint16_t AudioStream::cpu_cycles_total = 0; uint16_t AudioStream::cpu_cycles_total = 0;
uint16_t AudioStream::cpu_cycles_total_max = 0; uint16_t AudioStream::cpu_cycles_total_max = 0;
uint8_t AudioStream::memory_used = 0;
uint8_t AudioStream::memory_used_max = 0;
uint16_t AudioStream::memory_used = 0;
uint16_t AudioStream::memory_used_max = 0;







+ 2
- 2
teensy3/AudioStream.h View File

uint16_t cpu_cycles_max; uint16_t cpu_cycles_max;
static uint16_t cpu_cycles_total; static uint16_t cpu_cycles_total;
static uint16_t cpu_cycles_total_max; static uint16_t cpu_cycles_total_max;
static uint8_t memory_used;
static uint8_t memory_used_max;
static uint16_t memory_used;
static uint16_t memory_used_max;
protected: protected:
bool active; bool active;
unsigned char num_inputs; unsigned char num_inputs;

Loading…
Cancel
Save