Lines Matching defs:imc
159 perror("Failed to open imc counter type file");
164 perror("Could not get imc type");
178 perror("Failed to open imc config file");
183 perror("Could not get imc cas count read");
196 perror("Failed to open imc config file");
201 perror("Could not get imc cas count write");
238 * imc counters are named as "uncore_imc_<n>", hence
280 int imc, j;
287 for (imc = 0; imc < imcs; imc++) {
289 membw_initialize_perf_event_attr(imc, j);
308 int imc, j, ret;
312 for (imc = 0; imc < imcs; imc++) {
314 ret = open_perf_event(imc, cpu_no, j);
319 membw_ioctl_perf_event_ioc_reset_enable(imc, j);
325 for (imc = 0; imc < imcs; imc++) {
327 membw_ioctl_perf_event_ioc_disable(imc, j);
334 for (imc = 0; imc < imcs; imc++) {
336 &imc_counters_config[imc][READ];
338 &imc_counters_config[imc][WRITE];
371 for (imc = 0; imc < imcs; imc++) {
372 close(imc_counters_config[imc][READ].fd);
373 close(imc_counters_config[imc][WRITE].fd);
526 * @bw_imc: perf imc counter value
605 * another source which is perf imc value or could
606 * be something else if perf imc event is not available.