cache_timing.c 367 Bytes
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>

#include "util.h"

const size_t REPEATS = 100000;

int main() {
    uint64_t min_miss = UINT64_MAX;
    uint64_t max_hit = 0;

    // TODO: Implement the algorithm as described in the specification here

    printf("min miss = %" PRIu64 "\n", min_miss);
    printf("max hit  = %" PRIu64 "\n", max_hit);
}