Lines Matching refs:printf

32printf(_("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 GHz", ((unsigned int) speed/1000000), in print_speed()
96 printf("%u.%03u MHz", ((unsigned int) speed/1000), in print_speed()
99 printf("%lu kHz", speed); in print_speed()
105 printf("%u.%02u GHz", ((unsigned int) speed/1000000), in print_speed()
111 printf("%u MHz", ((unsigned int) speed/1000)); in print_speed()
116 printf("%u.%01u MHz", ((unsigned int) speed/1000), in print_speed()
130 printf("%u.%06u ms", ((unsigned int) duration/1000000), in print_duration()
133 printf("%u us", ((unsigned int) duration/1000)); in print_duration()
135 printf("%u.%03u us", ((unsigned int) duration/1000), in print_duration()
138 printf("%lu ns", duration); in print_duration()
144 printf("%u.%02u ms", ((unsigned int) duration/1000000), in print_duration()
150 printf("%u us", ((unsigned int) duration / 1000)); in print_duration()
155 printf("%u.%01u us", ((unsigned int) duration/1000), in print_duration()
158 printf("%lu ns", duration); in print_duration()
171 printf(_("Error while evaluating Boost Capabilities" in get_boost_mode_x86()
181 printf(_(" boost state support:\n")); in get_boost_mode_x86()
183 printf(_(" Supported: %s\n"), support ? _("yes") : _("no")); in get_boost_mode_x86()
184 printf(_(" Active: %s\n"), active ? _("yes") : _("no")); in get_boost_mode_x86()
194 printf(_(" Boost States: %d\n"), b_states); in get_boost_mode_x86()
195 printf(_(" Total States: %d\n"), pstate_no); in get_boost_mode_x86()
200 printf(_(" Pstate-Pb%d: %luMHz (boost state)" in get_boost_mode_x86()
203 printf(_(" Pstate-P%d: %luMHz\n"), in get_boost_mode_x86()
222 printf(_(" %.0f MHz max turbo 4 active cores\n"), in get_boost_mode_x86()
227 printf(_(" %.0f MHz max turbo 3 active cores\n"), in get_boost_mode_x86()
232 printf(_(" %.0f MHz max turbo 2 active cores\n"), in get_boost_mode_x86()
237 printf(_(" %.0f MHz max turbo 1 active cores\n"), in get_boost_mode_x86()
256 printf(_(" boost frequency steps: ")); in get_boost_mode()
259 printf(", "); in get_boost_mode()
263 printf("\n"); in get_boost_mode()
275 printf(_(" current CPU frequency: ")); in get_freq_kernel()
277 printf(_(" Unable to call to kernel\n")); in get_freq_kernel()
283 printf("%lu", freq); in get_freq_kernel()
284 printf(_(" (asserted by call to kernel)\n")); in get_freq_kernel()
294 printf(_(" current CPU frequency: ")); in get_freq_hardware()
296 printf("Unable to call hardware\n"); in get_freq_hardware()
302 printf("%lu", freq); in get_freq_hardware()
303 printf(_(" (asserted by call to hardware)\n")); in get_freq_hardware()
314 printf(_("Not Available\n")); in get_hardware_limits()
319 printf(_(" hardware limits: ")); in get_hardware_limits()
321 printf(" - "); in get_hardware_limits()
323 printf("\n"); in get_hardware_limits()
325 printf("%lu %lu\n", min, max); in get_hardware_limits()
336 printf(_(" no or unknown cpufreq driver is active on this CPU\n")); in get_driver()
339 printf(" driver: %s\n", driver); in get_driver()
350 printf(_(" Unable to determine current policy\n")); in get_policy()
353 printf(_(" current policy: frequency should be within ")); in get_policy()
355 printf(_(" and ")); in get_policy()
358 printf(".\n "); in get_policy()
359 printf(_("The governor \"%s\" may decide which speed to use\n" in get_policy()
373 printf(_(" available cpufreq governors: ")); in get_available_governors()
375 printf(_("Not Available\n")); in get_available_governors()
380 printf("%s ", governors->governor); in get_available_governors()
383 printf("%s\n", governors->governor); in get_available_governors()
395 printf(_(" CPUs which need to have their frequency coordinated by software: ")); in get_affected_cpus()
397 printf(_("Not Available\n")); in get_affected_cpus()
402 printf("%d ", cpus->cpu); in get_affected_cpus()
405 printf("%d\n", cpus->cpu); in get_affected_cpus()
416 printf(_(" CPUs which run at the same hardware frequency: ")); in get_related_cpus()
418 printf(_("Not Available\n")); in get_related_cpus()
423 printf("%d ", cpus->cpu); in get_related_cpus()
426 printf("%d\n", cpus->cpu); in get_related_cpus()
441 printf(":%.2f%%", in get_freq_stats()
444 printf("%lu:%llu", in get_freq_stats()
448 printf(", "); in get_freq_stats()
452 printf(" (%lu)\n", total_trans); in get_freq_stats()
462 printf(_(" maximum transition latency: ")); in get_latency()
464 printf(_(" Cannot determine or is not supported.\n")); in get_latency()
470 printf("\n"); in get_latency()
472 printf("%lu\n", latency); in get_latency()
488 printf(_(" available frequency steps: ")); in debug_output_one()
491 printf(", "); in debug_output_one()
495 printf("\n"); in debug_output_one()
585 printf(_("The argument passed to this tool can't be " in cmd_freq_info()
602 printf(_("You can't specify more than one --cpu parameter and/or\n" in cmd_freq_info()
606 printf(_("invalid or unknown argument\n")); in cmd_freq_info()
619 printf(_("analyzing CPU %d:\n"), cpu); in cmd_freq_info()
622 printf(_(" *is offline\n")); in cmd_freq_info()
623 printf("\n"); in cmd_freq_info()