FLINT3.7.0-dev

TIMEIT_ONCE_START, TIMEIT_ONCE_STOP

Synopsis#include <flint/profiler.h>
TIMEIT_ONCE_STARTsource
TIMEIT_ONCE_STOPsource

Run the code between the two macros exactly once and print the elapsed processor and wall time with timeit_print. The result is imprecise if the code runs for less than a few milliseconds.

Cite this page

The FLINT team, “TIMEIT_ONCE_START, TIMEIT_ONCE_STOP (profiler.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/profiler/TIMEIT_ONCE_START.html (generated 2026-10-20).