Lines Matching refs:printf
32 …printf(_("Couldn't count the number of CPUs (%s: %s), assuming 1\n"), "/proc/stat", strerror(errno… in count_cpus()
64 printf(_(" minimum CPU frequency - maximum CPU frequency - governor\n")); in proc_cpufreq_output()
78 printf("CPU%3d %9lu kHz (%3d %%) - %9lu kHz (%3d %%) - %s\n", in proc_cpufreq_output()
93 printf("%u.%06u ms", ((unsigned int) duration/1000000), in print_duration()
96 printf("%u us", ((unsigned int) duration/1000)); in print_duration()
98 printf("%u.%03u us", ((unsigned int) duration/1000), in print_duration()
101 printf("%lu ns", duration); in print_duration()
107 printf("%u.%02u ms", ((unsigned int) duration/1000000), in print_duration()
113 printf("%u us", ((unsigned int) duration / 1000)); in print_duration()
118 printf("%u.%01u us", ((unsigned int) duration/1000), in print_duration()
121 printf("%lu ns", duration); in print_duration()
133 printf(_("Error while evaluating Boost Capabilities" in get_boost_mode_x86()
143 printf(_(" boost state support:\n")); in get_boost_mode_x86()
145 printf(_(" Supported: %s\n"), support ? _("yes") : _("no")); in get_boost_mode_x86()
146 printf(_(" Active: %s\n"), active ? _("yes") : _("no")); in get_boost_mode_x86()
158 printf(_(" Boost States: %d\n"), b_states); in get_boost_mode_x86()
159 printf(_(" Total States: %d\n"), pstate_no); in get_boost_mode_x86()
164 printf(_(" Pstate-Pb%d: %luMHz (boost state)" in get_boost_mode_x86()
167 printf(_(" Pstate-P%d: %luMHz\n"), in get_boost_mode_x86()
186 printf(_(" %.0f MHz max turbo 4 active cores\n"), in get_boost_mode_x86()
191 printf(_(" %.0f MHz max turbo 3 active cores\n"), in get_boost_mode_x86()
196 printf(_(" %.0f MHz max turbo 2 active cores\n"), in get_boost_mode_x86()
201 printf(_(" %.0f MHz max turbo 1 active cores\n"), in get_boost_mode_x86()
220 printf(_(" boost frequency steps: ")); in get_boost_mode()
223 printf(", "); in get_boost_mode()
227 printf("\n"); in get_boost_mode()
239 printf(_(" current CPU frequency: ")); in get_freq_kernel()
241 printf(_(" Unable to call to kernel\n")); in get_freq_kernel()
247 printf("%lu", freq); in get_freq_kernel()
248 printf(_(" (asserted by call to kernel)\n")); in get_freq_kernel()
263 printf(_(" current CPU frequency: ")); in get_freq_hardware()
265 printf("Unable to call hardware\n"); in get_freq_hardware()
271 printf("%lu", freq); in get_freq_hardware()
272 printf(_(" (asserted by call to hardware)\n")); in get_freq_hardware()
283 printf(_("Not Available\n")); in get_hardware_limits()
288 printf(_(" hardware limits: ")); in get_hardware_limits()
290 printf(" - "); in get_hardware_limits()
292 printf("\n"); in get_hardware_limits()
294 printf("%lu %lu\n", min, max); in get_hardware_limits()
305 printf(_(" no or unknown cpufreq driver is active on this CPU\n")); in get_driver()
308 printf(" driver: %s\n", driver); in get_driver()
319 printf(_(" Unable to determine current policy\n")); in get_policy()
322 printf(_(" current policy: frequency should be within ")); in get_policy()
324 printf(_(" and ")); in get_policy()
327 printf(".\n "); in get_policy()
328 printf(_("The governor \"%s\" may decide which speed to use\n" in get_policy()
342 printf(_(" available cpufreq governors: ")); in get_available_governors()
344 printf(_("Not Available\n")); in get_available_governors()
349 printf("%s ", governors->governor); in get_available_governors()
352 printf("%s\n", governors->governor); in get_available_governors()
364 printf(_(" CPUs which need to have their frequency coordinated by software: ")); in get_affected_cpus()
366 printf(_("Not Available\n")); in get_affected_cpus()
371 printf("%d ", cpus->cpu); in get_affected_cpus()
374 printf("%d\n", cpus->cpu); in get_affected_cpus()
385 printf(_(" CPUs which run at the same hardware frequency: ")); in get_related_cpus()
387 printf(_("Not Available\n")); in get_related_cpus()
392 printf("%d ", cpus->cpu); in get_related_cpus()
395 printf("%d\n", cpus->cpu); in get_related_cpus()
410 printf(":%.2f%%", in get_freq_stats()
413 printf("%lu:%llu", in get_freq_stats()
417 printf(", "); in get_freq_stats()
421 printf(" (%lu)\n", total_trans); in get_freq_stats()
435 printf(_(" energy performance preference: %s\n"), epp); in get_epp()
451 printf(_(" maximum transition latency: ")); in get_latency()
453 printf(_(" Cannot determine or is not supported.\n")); in get_latency()
459 printf("\n"); in get_latency()
461 printf("%lu\n", latency); in get_latency()
489 printf(_(" available frequency steps: ")); in debug_output_one()
492 printf(", "); in debug_output_one()
496 printf("\n"); in debug_output_one()
591 printf(_("The argument passed to this tool can't be " in cmd_freq_info()
608 printf(_("You can't specify more than one --cpu parameter and/or\n" in cmd_freq_info()
612 printf(_("invalid or unknown argument\n")); in cmd_freq_info()
625 printf(_("analyzing CPU %d:\n"), cpu); in cmd_freq_info()
628 printf(_(" *is offline\n")); in cmd_freq_info()
629 printf("\n"); in cmd_freq_info()