Home
last modified time | relevance | path

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

/linux-6.12.1/tools/power/x86/turbostat/
Dturbostat.c4149 const ssize_t expected_read_size = (num_perf_counters + 1) * sizeof(unsigned long long); in get_rapl_counters() local
4152 if (actual_read_size != expected_read_size) in get_rapl_counters()
4153 err(-1, "%s: failed to read perf_data (%zu %zu)", __func__, expected_read_size, in get_rapl_counters()
4250 ssize_t expected_read_size = num_perf_counters * sizeof(unsigned long long); in get_cstate_counters() local
4255 expected_read_size += sizeof(unsigned long long); in get_cstate_counters()
4265 expected_read_size += sizeof(unsigned long long); in get_cstate_counters()
4275 if (actual_read_size_total != expected_read_size) in get_cstate_counters()
4276 …err(-1, "%s: failed to read perf_data (%zu %zu)", __func__, expected_read_size, actual_read_size_t… in get_cstate_counters()
4386 const ssize_t expected_read_size = (num_perf_counters + 1) * sizeof(unsigned long long); in get_smi_aperf_mperf() local
4389 if (actual_read_size != expected_read_size) in get_smi_aperf_mperf()
[all …]