Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 405 Bytes

pass_timings.rst

File metadata and controls

17 lines (10 loc) · 405 Bytes

Pass Timings

.. currentmodule:: llvmlite.binding

.. function:: set_time_passes(enable)

    Enable or disable the pass timers.


.. function:: report_and_reset_timings()

    Returns the pass timings report and resets the LLVM internal timers.

    Pass timers are enabled by ``set_time_passes()``. If the timers are not
    enabled, this function will return an empty string.