Searched refs:per_cpu_msr_sum (Results 1 – 1 of 1) sorted by relevance
451 struct msr_sum_array *per_cpu_msr_sum; variable3397 if (!per_cpu_msr_sum) in get_msr_sum()3407 msr_last = per_cpu_msr_sum[cpu].entries[idx].last; in get_msr_sum()3409 *msr = msr_last + per_cpu_msr_sum[cpu].entries[idx].sum; in get_msr_sum()3440 msr_last = per_cpu_msr_sum[cpu].entries[i].last; in update_msr_sum()3441 per_cpu_msr_sum[cpu].entries[i].last = msr_cur & 0xffffffff; in update_msr_sum()3444 per_cpu_msr_sum[cpu].entries[i].sum += msr_last; in update_msr_sum()3461 per_cpu_msr_sum = calloc(topo.max_cpu_num + 1, sizeof(struct msr_sum_array)); in msr_sum_record()3462 if (!per_cpu_msr_sum) { in msr_sum_record()3499 free(per_cpu_msr_sum); in msr_sum_record()