Result of jit_hooks.stats_get_loop_run_times is always empty
Created originally on Bitbucket by magnusmorton_old (Magnus Morton)
I've noticed that the result of jit_hooks.stats_get_loop_run_times(None)
is always empty now, even when jit_hooks.stats_set_debug(None, True)
has been called and some loops have been compiled and executed.
I suspect the problem is that the appropriate debug instructions are not getting injected into the traces in the first place. in jit/backend/x86/assembler.py in assemble_loop
:
#!python
if log:
operations = self._inject_debugging_code(looptoken, operations,
'e', looptoken.number)
log
seems to always be false.
The latest revision I know for sure had the correct behaviour was 79086:32f5175b444e
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information