Home
last modified time | relevance | path

Searched refs:expected_read_size (Results 1 – 1 of 1) sorted by relevance

/linux-6.15/tools/power/x86/turbostat/
H A Dturbostat.c4430 const ssize_t expected_read_size = (num_perf_counters + 1) * sizeof(unsigned long long); in get_rapl_counters() local
4433 if (actual_read_size != expected_read_size) in get_rapl_counters()
4434 err(-1, "%s: failed to read perf_data (%zu %zu)", __func__, expected_read_size, in get_rapl_counters()
4533 ssize_t expected_read_size = num_perf_counters * sizeof(unsigned long long); in get_cstate_counters() local
4538 expected_read_size += sizeof(unsigned long long); in get_cstate_counters()
4548 expected_read_size += sizeof(unsigned long long); in get_cstate_counters()
4558 if (actual_read_size_total != expected_read_size) in get_cstate_counters()
4559 …err(-1, "%s: failed to read perf_data (%zu %zu)", __func__, expected_read_size, actual_read_size_t… in get_cstate_counters()
4669 const ssize_t expected_read_size = (num_perf_counters + 1) * sizeof(unsigned long long); in get_smi_aperf_mperf() local
4672 if (actual_read_size != expected_read_size) in get_smi_aperf_mperf()
[all …]