FLINT3.7.0-dev

timeit_start, timeit_stop

Synopsis#include <flint/profiler.h>
void timeit_start(timeit_t t)source
void timeit_stop(timeit_t t)source

Start and stop the timer. After timeit_stop, t->cpu is the processor time of the process (from clock) and t->wall the wall time (from gettimeofday) elapsed since timeit_start, both in milliseconds. Processor time adds up over all threads of the process, so for a parallel computation it can exceed the wall time.

Cite this page

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