Lines Matching defs:level
19 get_level_info(uint64_t topology, unsigned level)
21 return (topology >> (56 - level * 8)) & 0xff;
27 unsigned level;
34 for (level = 0; level < 8; level++) {
35 unsigned info = get_level_info(topology, level);
37 if ((info & 0xc) == 0) continue; // cache does not exist at this level
57 printf("L%u topology: %s; %s\n", level+1, type, scope);
58 printf("L%u cache line size data: %"PRId64"\n", level+1,
59 ecag(1, level, 0));
60 printf("L%u cache line size insn: %"PRId64"\n", level+1,
61 ecag(1, level, 1));
62 printf("L%u total cachesize data: %"PRId64"\n", level+1,
63 ecag(2, level, 0));
64 printf("L%u total cachesize insn: %"PRId64"\n", level+1,
65 ecag(2, level, 1));
66 printf("L%u set. assoc. data: %"PRId64"\n", level+1,
67 ecag(3, level, 0));
68 printf("L%u set. assoc. insn: %"PRId64"\n", level+1,
69 ecag(3, level, 1));