summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/dsp_load_calculator.h
AgeCommit message (Collapse)Author
2019-10-02Prefer portable (MSVC?) getenv (amend 5ea54be)Robin Gareus
2019-10-02Allow ARDOUR_AVG_DSP_LOAD for non-debug buildsRobin Gareus
2019-08-03Update libardour GPL boilerplate and (C) from git logRobin Gareus
2019-07-26Prefix all env variable with "ARDOUR_"Robin Gareus
In particular "CONCURRENCY" can be problematic. But in general it's good practice to use a namespace prefix for app-specifics.
2019-02-14Optimize DSP-load calculation, pre-calculate fall-off onceRobin Gareus
2017-08-04Graph profiling: allow to override max DSP thread count & calc avg.Robin Gareus
2015-10-03DSP load fall-off from 100%.Robin Gareus
get_dsp_load_unbound() will return large values >100% for testing, but actual fall-off is from 100%.
2015-10-03fix float calc:Robin Gareus
divide large number. not multiply a small.
2015-10-02fix unbound DSP calc.Robin Gareus
2015-09-16fix DSP load bounds 0..1 and add unbound APIRobin Gareus
2015-09-16Add DSPLoadCalculator::set_max_time() to set max time based on samplerate ↵Tim Mayberry
and period size
2015-09-16Move implementation for DSPLoadCalculator back into headerTim Mayberry
It can be inline now that it is much simpler
2015-09-16Use same algorithm as CA and ALSA backends in DSPLoadCalculationTim Mayberry
Stop using an averaging of the values until we can establish whether it is really necessary.
2015-09-16Add check for invalid timer values from the DummyBackendTim Mayberry
Needed for systems where the Windows QPC timer returns erratic values
2015-09-16Change types in DSPLoadCalculator to signed integer after change in ↵Tim Mayberry
utils::get_microsecond
2015-09-13Fix typo in DSPLoadCalculator causing assertions on Windows debug buildsTim Mayberry
2015-09-10Make sure that the DSPLoadCalculator class is exportableJohn Emmas
2015-09-10Add DSPLoadCalculator class to libardourTim Mayberry
This is similar to the class in the PortaudioBackend but uses an average of the values if raw load is under 80%