ubuntu% gcc cache.c; time ./a.out ./a.out 0.41s user 0.03s system 99% cpu 0.444 total ubuntu% gcc -DBAD cache.c; time ./a.out ./a.out 1.98s user 0.03s system 99% cpu 2.020 total ubuntu% gcc cache.c; valgrind --tool=cachegrind ./a.out ==11733== Cachegrind, an I1/D1/L2 cache profiler. ==11733== Copyright (C) 2002-2005, and GNU GPL'd, by Nicholas Nethercote et al. ==11733== Using LibVEX rev 1367, a