Lines Matching defs:data

1309 /* Indexes used to map data read from perf and MSRs into global variables */
1329 unsigned long long data[NUM_RAPL_COUNTERS];
1356 unsigned int rci_index; /* Maps data from perf counters to global variables */
1579 /* Indexes used to map data read from perf and MSRs into global variables */
1596 unsigned long long data[NUM_CSTATE_COUNTERS];
1615 unsigned int rci_index; /* Maps data from perf counters to global variables */
1734 /* Indexes used to map data read from perf and MSRs into global variables */
1743 unsigned long long data[NUM_MSR_COUNTERS];
1758 unsigned int rci_index; /* Maps data from perf counters to global variables */
3362 /* print per-core data only for 1st thread in core */
3453 /* print per-package data only for 1st core in package */
4702 rc->raw_value = rci->data[idx];
4737 rci->data[i] = 0;
4748 rci->data[i] = perf_data[pi];
4759 if (get_msr_sum(cpu, rci->msr[i], &rci->data[i]))
4762 if (get_msr(cpu, rci->msr[i], &rci->data[i]))
4766 rci->data[i] &= rci->msr_mask[i];
4768 rci->data[i] >>= abs(rci->msr_shift[i]);
4770 rci->data[i] <<= abs(rci->msr_shift[i]);
4858 * Copy ccstate and pcstate data into unified buffer.
4868 /* Copy ccstate perf data */
4871 /* Copy pcstate perf data */
4886 cci->data[i] = perf_data[pi];
4893 if (get_msr(cpu, cci->msr[i], &cci->data[i]))
4897 fprintf(stderr, "cstate via %s0x%llx %u: %llu\n", "msr", cci->msr[i], i, cci->data[i]);
4904 * Helper to write the data only if the source of
4907 * Otherwise we would overwrite core data with 0 (default value),
4912 out_counter = cci->data[index]; \
4961 ZERO_ARRAY(mci->data);
4985 mci->data[i] = perf_data[pi];
4993 if (get_msr(cpu, mci->msr[i], &mci->data[i]))
4996 mci->data[i] &= mci->msr_mask[i];
4999 fprintf(stderr, "Reading msr counter via msr at %u: %llu\n", i, mci->data[i]);
5006 t->aperf = mci->data[MSR_RCI_INDEX_APERF];
5007 t->mperf = mci->data[MSR_RCI_INDEX_MPERF];
5008 t->smi_count = mci->data[MSR_RCI_INDEX_SMI];
8398 rci->data[i] = 0;
8609 /* Initialize data for reading perf counters from the MSR group. */
9797 * Apply PMT MMIO offset to obtain beginning of the mmaped telemetry data.
9798 * It's not guaranteed that the mmaped memory begins with the telemetry data