#include <time.h>
. . .
clock_t
temps_initial, /* Temps initial en micro-secondes */
temps_final; /* Temps final en micro-secondes */
float
temps_cpu; /* Temps total en secondes */
. . .
temps_initial = clock ();
. . .
/* Partie du code à évaluer */
. . .
temps_final = clock ();
temps_cpu = (temps_final - temps_initial) * 1e-6;
...