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()
193 printf(_(" Boost States: %d\n"), b_states); in get_boost_mode_x86()
194 printf(_(" Total States: %d\n"), pstate_no); in get_boost_mode_x86()
199 printf(_(" Pstate-Pb%d: %luMHz (boost state)" in get_boost_mode_x86()
202 printf(_(" Pstate-P%d: %luMHz\n"), in get_boost_mode_x86()
221 printf(_(" %.0f MHz max turbo 4 active cores\n"), in get_boost_mode_x86()
226 printf(_(" %.0f MHz max turbo 3 active cores\n"), in get_boost_mode_x86()
231 printf(_(" %.0f MHz max turbo 2 active cores\n"), in get_boost_mode_x86()
236 printf(_(" %.0f MHz max turbo 1 active cores\n"), in get_boost_mode_x86()
255 printf(_(" boost frequency steps: ")); in get_boost_mode()
258 printf(", "); in get_boost_mode()
262 printf("\n"); in get_boost_mode()
274 printf(_(" current CPU frequency: ")); in get_freq_kernel()
276 printf(_(" Unable to call to kernel\n")); in get_freq_kernel()
282 printf("%lu", freq); in get_freq_kernel()
283 printf(_(" (asserted by call to kernel)\n")); in get_freq_kernel()
293 printf(_(" current CPU frequency: ")); in get_freq_hardware()
295 printf("Unable to call hardware\n"); in get_freq_hardware()
301 printf("%lu", freq); in get_freq_hardware()
302 printf(_(" (asserted by call to hardware)\n")); in get_freq_hardware()
313 printf(_("Not Available\n")); in get_hardware_limits()
318 printf(_(" hardware limits: ")); in get_hardware_limits()
320 printf(" - "); in get_hardware_limits()
322 printf("\n"); in get_hardware_limits()
324 printf("%lu %lu\n", min, max); in get_hardware_limits()
335 printf(_(" no or unknown cpufreq driver is active on this CPU\n")); in get_driver()
338 printf(" driver: %s\n", driver); in get_driver()
349 printf(_(" Unable to determine current policy\n")); in get_policy()
352 printf(_(" current policy: frequency should be within ")); in get_policy()
354 printf(_(" and ")); in get_policy()
357 printf(".\n "); in get_policy()
358 printf(_("The governor \"%s\" may decide which speed to use\n" in get_policy()
372 printf(_(" available cpufreq governors: ")); in get_available_governors()
374 printf(_("Not Available\n")); in get_available_governors()
379 printf("%s ", governors->governor); in get_available_governors()
382 printf("%s\n", governors->governor); in get_available_governors()
394 printf(_(" CPUs which need to have their frequency coordinated by software: ")); in get_affected_cpus()
396 printf(_("Not Available\n")); in get_affected_cpus()
401 printf("%d ", cpus->cpu); in get_affected_cpus()
404 printf("%d\n", cpus->cpu); in get_affected_cpus()
415 printf(_(" CPUs which run at the same hardware frequency: ")); in get_related_cpus()
417 printf(_("Not Available\n")); in get_related_cpus()
422 printf("%d ", cpus->cpu); in get_related_cpus()
425 printf("%d\n", cpus->cpu); in get_related_cpus()
440 printf(":%.2f%%", in get_freq_stats()
443 printf("%lu:%llu", in get_freq_stats()
447 printf(", "); in get_freq_stats()
451 printf(" (%lu)\n", total_trans); in get_freq_stats()
461 printf(_(" maximum transition latency: ")); in get_latency()
463 printf(_(" Cannot determine or is not supported.\n")); in get_latency()
469 printf("\n"); in get_latency()
471 printf("%lu\n", latency); in get_latency()
487 printf(_(" available frequency steps: ")); in debug_output_one()
490 printf(", "); in debug_output_one()
494 printf("\n"); in debug_output_one()
584 printf(_("The argument passed to this tool can't be " in cmd_freq_info()
601 printf(_("You can't specify more than one --cpu parameter and/or\n" in cmd_freq_info()
605 printf(_("invalid or unknown argument\n")); in cmd_freq_info()
618 printf(_("analyzing CPU %d:\n"), cpu); in cmd_freq_info()
621 printf(_(" *is offline\n")); in cmd_freq_info()
622 printf("\n"); in cmd_freq_info()