|
|
@ -2054,13 +2054,11 @@ void show_cpu_and_mem_usage(void) |
|
|
|
{ |
|
|
|
{ |
|
|
|
uint32_t sum_xrun = 0; |
|
|
|
uint32_t sum_xrun = 0; |
|
|
|
uint16_t sum_render_time_max = 0; |
|
|
|
uint16_t sum_render_time_max = 0; |
|
|
|
uint32_t sum_overload = 0; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for (uint8_t instance_id = 0; instance_id < NUM_DEXED; instance_id++) |
|
|
|
for (uint8_t instance_id = 0; instance_id < NUM_DEXED; instance_id++) |
|
|
|
{ |
|
|
|
{ |
|
|
|
sum_xrun += MicroDexed[instance_id]->xrun; |
|
|
|
sum_xrun += MicroDexed[instance_id]->xrun; |
|
|
|
sum_render_time_max += MicroDexed[instance_id]->render_time_max; |
|
|
|
sum_render_time_max += MicroDexed[instance_id]->render_time_max; |
|
|
|
sum_overload += MicroDexed[instance_id]->overload; |
|
|
|
|
|
|
|
MicroDexed[instance_id]->render_time_max = 0; |
|
|
|
MicroDexed[instance_id]->render_time_max = 0; |
|
|
|
} |
|
|
|
} |
|
|
|
if (AudioProcessorUsageMax() > 99.9) |
|
|
|
if (AudioProcessorUsageMax() > 99.9) |
|
|
@ -2087,10 +2085,7 @@ void show_cpu_and_mem_usage(void) |
|
|
|
Serial.print(sum_render_time_max, DEC); |
|
|
|
Serial.print(sum_render_time_max, DEC); |
|
|
|
Serial.print(F("|XRUN:")); |
|
|
|
Serial.print(F("|XRUN:")); |
|
|
|
Serial.print(sum_xrun, DEC); |
|
|
|
Serial.print(sum_xrun, DEC); |
|
|
|
Serial.print(F("|OVERLOAD:")); |
|
|
|
Serial.print(F("|PEAKR:")); |
|
|
|
Serial.println(sum_overload, DEC); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Serial.print(F("PEAKR:")); |
|
|
|
|
|
|
|
Serial.print(peak_r, DEC); |
|
|
|
Serial.print(peak_r, DEC); |
|
|
|
Serial.print(F("|PEAKL:")); |
|
|
|
Serial.print(F("|PEAKL:")); |
|
|
|
Serial.print(peak_l, DEC); |
|
|
|
Serial.print(peak_l, DEC); |
|
|
|