Lines Matching refs:printf
33 …printf(_("Couldn't count the number of CPUs (%s: %s), assuming 1\n"), "/proc/stat", strerror(errno… in count_cpus()
65 printf(_(" minimum CPU frequency - maximum CPU frequency - governor\n")); in proc_cpufreq_output()
79 printf("CPU%3d %9lu kHz (%3d %%) - %9lu kHz (%3d %%) - %s\n", in proc_cpufreq_output()
94 printf("%u.%06u GHz", ((unsigned int) speed/1000000), in print_speed()
97 printf("%u.%03u MHz", ((unsigned int) speed/1000), in print_speed()
100 printf("%lu kHz", speed); in print_speed()
106 printf("%u.%02u GHz", ((unsigned int) speed/1000000), in print_speed()
112 printf("%u MHz", ((unsigned int) speed/1000)); in print_speed()
117 printf("%u.%01u MHz", ((unsigned int) speed/1000), in print_speed()
131 printf("%u.%06u ms", ((unsigned int) duration/1000000), in print_duration()
134 printf("%u us", ((unsigned int) duration/1000)); in print_duration()
136 printf("%u.%03u us", ((unsigned int) duration/1000), in print_duration()
139 printf("%lu ns", duration); in print_duration()
145 printf("%u.%02u ms", ((unsigned int) duration/1000000), in print_duration()
151 printf("%u us", ((unsigned int) duration / 1000)); in print_duration()
156 printf("%u.%01u us", ((unsigned int) duration/1000), in print_duration()
159 printf("%lu ns", duration); in print_duration()
178 printf(_("Error while evaluating Boost Capabilities" in get_boost_mode()
188 printf(_(" boost state support:\n")); in get_boost_mode()
190 printf(_(" Supported: %s\n"), support ? _("yes") : _("no")); in get_boost_mode()
191 printf(_(" Active: %s\n"), active ? _("yes") : _("no")); in get_boost_mode()
200 printf(_(" Boost States: %d\n"), b_states); in get_boost_mode()
201 printf(_(" Total States: %d\n"), pstate_no); in get_boost_mode()
204 printf(_(" Pstate-Pb%d: %luMHz (boost state)" in get_boost_mode()
207 printf(_(" Pstate-P%d: %luMHz\n"), in get_boost_mode()
226 printf(_(" %.0f MHz max turbo 4 active cores\n"), in get_boost_mode()
231 printf(_(" %.0f MHz max turbo 3 active cores\n"), in get_boost_mode()
236 printf(_(" %.0f MHz max turbo 2 active cores\n"), in get_boost_mode()
241 printf(_(" %.0f MHz max turbo 1 active cores\n"), in get_boost_mode()
252 printf(_(" current CPU frequency: ")); in get_freq_kernel()
254 printf(_(" Unable to call to kernel\n")); in get_freq_kernel()
260 printf("%lu", freq); in get_freq_kernel()
261 printf(_(" (asserted by call to kernel)\n")); in get_freq_kernel()
271 printf(_(" current CPU frequency: ")); in get_freq_hardware()
273 printf("Unable to call hardware\n"); in get_freq_hardware()
279 printf("%lu", freq); in get_freq_hardware()
280 printf(_(" (asserted by call to hardware)\n")); in get_freq_hardware()
291 printf(_("Not Available\n")); in get_hardware_limits()
296 printf(_(" hardware limits: ")); in get_hardware_limits()
298 printf(" - "); in get_hardware_limits()
300 printf("\n"); in get_hardware_limits()
302 printf("%lu %lu\n", min, max); in get_hardware_limits()
313 printf(_(" no or unknown cpufreq driver is active on this CPU\n")); in get_driver()
316 printf(" driver: %s\n", driver); in get_driver()
327 printf(_(" Unable to determine current policy\n")); in get_policy()
330 printf(_(" current policy: frequency should be within ")); in get_policy()
332 printf(_(" and ")); in get_policy()
335 printf(".\n "); in get_policy()
336 printf(_("The governor \"%s\" may decide which speed to use\n" in get_policy()
350 printf(_(" available cpufreq governors: ")); in get_available_governors()
352 printf(_("Not Available\n")); in get_available_governors()
357 printf("%s ", governors->governor); in get_available_governors()
360 printf("%s\n", governors->governor); in get_available_governors()
372 printf(_(" CPUs which need to have their frequency coordinated by software: ")); in get_affected_cpus()
374 printf(_("Not Available\n")); in get_affected_cpus()
379 printf("%d ", cpus->cpu); in get_affected_cpus()
382 printf("%d\n", cpus->cpu); in get_affected_cpus()
393 printf(_(" CPUs which run at the same hardware frequency: ")); in get_related_cpus()
395 printf(_("Not Available\n")); in get_related_cpus()
400 printf("%d ", cpus->cpu); in get_related_cpus()
403 printf("%d\n", cpus->cpu); in get_related_cpus()
418 printf(":%.2f%%", in get_freq_stats()
421 printf("%lu:%llu", in get_freq_stats()
425 printf(", "); in get_freq_stats()
429 printf(" (%lu)\n", total_trans); in get_freq_stats()
439 printf(_(" maximum transition latency: ")); in get_latency()
441 printf(_(" Cannot determine or is not supported.\n")); in get_latency()
447 printf("\n"); in get_latency()
449 printf("%lu\n", latency); in get_latency()
465 printf(_(" available frequency steps: ")); in debug_output_one()
468 printf(", "); in debug_output_one()
472 printf("\n"); in debug_output_one()
562 printf(_("The argument passed to this tool can't be " in cmd_freq_info()
579 printf(_("You can't specify more than one --cpu parameter and/or\n" in cmd_freq_info()
583 printf(_("invalid or unknown argument\n")); in cmd_freq_info()
596 printf(_("analyzing CPU %d:\n"), cpu); in cmd_freq_info()
599 printf(_(" *is offline\n")); in cmd_freq_info()
600 printf("\n"); in cmd_freq_info()