* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#define _GNU_SOURCE
#include <stdio.h>
#include <pthread.h>
#include <stdlib.h>
int main(int argc, char **argv)
{
unsigned long i;
- cycles_t time1, time2;
- cycles_t time_tot = 0;
+ caa_cycles_t time1, time2;
+ caa_cycles_t time_tot = 0;
double cpl;
for (i = 0; i < TESTS; i++) {
printf("CALIBRATION : %g cycles per loop\n", cpl);
printf("time_tot = %llu, LOOPS = %d, TESTS = %d\n",
- time_tot, LOOPS, TESTS);
+ (unsigned long long) time_tot, LOOPS, TESTS);
return 0;
}