@@ -86,7 +86,7 @@ struct pmu_event {
} gp_events[] = {
{"core cycles", 0x003c, 1*N, 50*N},
{"instructions", 0x00c0, 10*N, 10.2*N},
- {"ref cycles", 0x013c, 0.1*N, 30*N},
+ {"ref cycles", 0x013c, 0.08*N, 30*N},
{"llc refference", 0x4f2e, 1, 2*N},
{"llc misses", 0x412e, 1, 1*N},
{"branches", 0x00c4, 1*N, 1.1*N},
@@ -223,7 +223,7 @@ static void measure(pmu_counter_t *evt, int count)
static bool verify_event(uint64_t count, struct pmu_event *e)
{
- // printf("%lld >= %lld <= %lld\n", e->min, count, e->max);
+ // printf("%d >= %ld <= %d\n", e->min, count, e->max);
return count >= e->min && count <= e->max;
}