Remove cycle based storing timer, prefer TimerRAII

..besides with dummy backend one can measure performance
on instruction level granularity with valgrind.
This commit is contained in:
Robin Gareus
2025-11-09 16:32:24 +01:00
parent b3bf623c4b
commit 289f7b10d2
6 changed files with 0 additions and 102 deletions

View File

@@ -881,8 +881,6 @@ def options(opt):
help='Build with debugging for the STL')
opt.add_option('--rt-alloc-debug', action='store_true', default=False, dest='rt_alloc_debug',
help='Build with debugging for memory allocation in the real-time thread')
opt.add_option('--pt-timing', action='store_true', default=False, dest='pt_timing',
help='Build with logging of timing in the process thread(s)')
opt.add_option('--denormal-exception', action='store_true', default=False, dest='denormal_exception',
help='Raise a floating point exception if a denormal is detected')
opt.add_option('--test', action='store_true', default=False, dest='build_tests',
@@ -1354,9 +1352,6 @@ int main () { __int128 x = 0; return 0; }
if opts.rt_alloc_debug:
conf.define('DEBUG_RT_ALLOC', 1)
conf.env['DEBUG_RT_ALLOC'] = True
if opts.pt_timing:
conf.define('PT_TIMING', 1)
conf.env['PT_TIMING'] = True
if opts.denormal_exception:
conf.define('DEBUG_DENORMAL_EXCEPTION', 1)
conf.env['DEBUG_DENORMAL_EXCEPTION'] = True
@@ -1532,7 +1527,6 @@ const char* const ardour_config_info = "\\n\\
write_config_text('NI-Maschine', opts.maschine)
write_config_text('OGG', conf.is_defined('HAVE_OGG'))
write_config_text('Phone home', conf.is_defined('PHONE_HOME'))
write_config_text('Process thread timing', conf.is_defined('PT_TIMING'))
write_config_text('Program name', opts.program_name)
write_config_text('Samplerate', conf.is_defined('HAVE_SAMPLERATE'))
write_config_text('PT format', conf.is_defined('PTFORMAT'))