]> git.ipfire.org Git - thirdparty/asterisk.git/commit
translate.c: implement new direct comp table mode
authorSebastian Jennen <sj@imagearts.de>
Sun, 25 Feb 2024 20:53:57 +0000 (21:53 +0100)
committerAsterisk Development Team <asteriskteam@digium.com>
Thu, 7 Mar 2024 14:17:23 +0000 (14:17 +0000)
commit77808edbd4e9115e10ac65fde89baa3682f6e8ea
tree1c95ab9d92272f568f7d61ce8970680bdfccc982
parent2868366f0041481d93b3c493a9be9d7b61b7d52f
translate.c: implement new direct comp table mode

The new mode lists for each codec translation the actual real cost in cpu microseconds per second translated audio.
This allows to compare the real cpu usage of translations and helps in evaluation of codec implementation changes regarding performance (regression testing).

- add new table mode
- hide the 999999 comp values, as these only indicate an issue with transcoding
- hide the 0 values, as these also do not contain any information (only indicate a multistep transcoding)

Resolves: #601
(cherry picked from commit a47acba99b43b3f67f8b7e3cd682c3f9850871e8)
main/translate.c