TIMEIT_ONCE_START, TIMEIT_ONCE_STOP
Synopsis
#include <flint/profiler.h>TIMEIT_ONCE_STARTsourceTIMEIT_ONCE_STOPsourceRun 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).
@misc{flint-doc-profiler-TIMEIT-ONCE-START,
author = {{The FLINT team}},
title = {{TIMEIT\_ONCE\_START, TIMEIT\_ONCE\_STOP (profiler.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/profiler/TIMEIT_ONCE_START.html},
note = {Generated 2026-10-20}
}