root WRITEUP tictac.h

tictac.h

Tiny portable single-header timing library 2024-09-17

Project Files • GitHub Repo • tictac.h

tictac.h is a tiny single-header library that provides convenience macros for timing program fragments. See the readme for usage examples.

The idea for tictac.h came about when I was working on LTRE and wanted to measure the CPU time taken up by particular portions of functions. I whipped up some quick macros, and then figured they might be useful as their own tiny standalone library.