| 1 | # -*- mode: sh; mode: sh-bash -*- |
| 2 | |
| 3 | ble/util/autoload "$_ble_base/lib/core-debug.sh" \ |
| 4 | ble/debug/print-variables \ |
| 5 | ble/debug/stopwatch/start \ |
| 6 | ble/debug/stopwatch/stop \ |
| 7 | ble/debug/profiler/start \ |
| 8 | ble/debug/profiler/stop \ |
| 9 | ble/debug/xtrace.advice |
| 10 | |
| 11 | bleopt/declare -v debug_profiler_opts line:func |
| 12 | |
| 13 | # In the profiler output for the function-call tree (a.tree.txt), only the |
| 14 | # levels that took more than this time are recorded. |
| 15 | bleopt/declare -n debug_profiler_tree_threshold 5.0 |