mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
debugging timing stats by showing how max values are computed
This commit is contained in:
parent
9d88f370ae
commit
a9f285b82b
2 changed files with 2 additions and 1 deletions
|
|
@ -736,7 +736,7 @@ PortAudioBackend::process_callback(const float* input,
|
||||||
PaStreamCallbackFlags statusFlags)
|
PaStreamCallbackFlags statusFlags)
|
||||||
{
|
{
|
||||||
PBD::WaitTimerRAII tr (dsp_stats[DeviceWait]);
|
PBD::WaitTimerRAII tr (dsp_stats[DeviceWait]);
|
||||||
PBD::TimerRAII tr2 (dsp_stats[RunLoop], true);
|
PBD::TimerRAII tr2 (dsp_stats[RunLoop]);
|
||||||
|
|
||||||
_active = true;
|
_active = true;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -202,6 +202,7 @@ private:
|
||||||
|
|
||||||
if (diff > _max) {
|
if (diff > _max) {
|
||||||
_max = diff;
|
_max = diff;
|
||||||
|
std::cerr << "max reset to " << _max << " from " << m_start_val << " .. " << m_last_val << " (diff = " << diff << ")\n";
|
||||||
}
|
}
|
||||||
if (diff < _min) {
|
if (diff < _min) {
|
||||||
_min = diff;
|
_min = diff;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue