• Home
  • Raw
  • Download

Lines Matching refs:outf

38 FILE *outf;  variable
648 fprintf(outf, in help()
1294 if (outf == stderr) in flush_output_stdout()
1297 filep = outf; in flush_output_stdout()
1306 fputs(output_buffer, outf); in flush_output_stderr()
1307 fflush(outf); in flush_output_stderr()
1485 fprintf(outf, "cpu%d MPERF 0!\n", old->cpu_id); in delta_thread()
1883 fprintf(outf, "cpu%d: BIOS BUG: apic 0x%x x2apic 0x%x\n", in get_apic_id()
1901 fprintf(outf, "get_counters: Could not migrate to CPU %d\n", cpu); in get_counters()
2193 fprintf(outf, "cpu%d: MSR_PLATFORM_INFO: 0x%08llx\n", base_cpu, msr); in dump_nhm_platform_info()
2196 fprintf(outf, "%d * %.1f = %.1f MHz max efficiency frequency\n", in dump_nhm_platform_info()
2200 fprintf(outf, "%d * %.1f = %.1f MHz base frequency\n", in dump_nhm_platform_info()
2204 fprintf(outf, "cpu%d: MSR_IA32_POWER_CTL: 0x%08llx (C1E auto-promotion: %sabled)\n", in dump_nhm_platform_info()
2218 fprintf(outf, "cpu%d: MSR_TURBO_RATIO_LIMIT2: 0x%08llx\n", base_cpu, msr); in dump_hsw_turbo_ratio_limits()
2222 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 18 active cores\n", in dump_hsw_turbo_ratio_limits()
2227 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 17 active cores\n", in dump_hsw_turbo_ratio_limits()
2240 fprintf(outf, "cpu%d: MSR_TURBO_RATIO_LIMIT1: 0x%08llx\n", base_cpu, msr); in dump_ivt_turbo_ratio_limits()
2244 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 16 active cores\n", in dump_ivt_turbo_ratio_limits()
2249 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 15 active cores\n", in dump_ivt_turbo_ratio_limits()
2254 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 14 active cores\n", in dump_ivt_turbo_ratio_limits()
2259 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 13 active cores\n", in dump_ivt_turbo_ratio_limits()
2264 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 12 active cores\n", in dump_ivt_turbo_ratio_limits()
2269 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 11 active cores\n", in dump_ivt_turbo_ratio_limits()
2274 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 10 active cores\n", in dump_ivt_turbo_ratio_limits()
2279 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 9 active cores\n", in dump_ivt_turbo_ratio_limits()
2306 fprintf(outf, "cpu%d: MSR_TURBO_RATIO_LIMIT: 0x%08llx\n", base_cpu, msr); in dump_turbo_ratio_limits()
2310 fprintf(outf, "cpu%d: MSR_TURBO_RATIO_LIMIT1: 0x%08llx\n", base_cpu, core_counts); in dump_turbo_ratio_limits()
2318 fprintf(outf, "%d * %.1f = %.1f MHz max turbo %d active cores\n", in dump_turbo_ratio_limits()
2324 fprintf(outf, "%d * %.1f = %.1f MHz max turbo %d active cores\n", in dump_turbo_ratio_limits()
2330 fprintf(outf, "%d * %.1f = %.1f MHz max turbo %d active cores\n", in dump_turbo_ratio_limits()
2336 fprintf(outf, "%d * %.1f = %.1f MHz max turbo %d active cores\n", in dump_turbo_ratio_limits()
2342 fprintf(outf, "%d * %.1f = %.1f MHz max turbo %d active cores\n", in dump_turbo_ratio_limits()
2348 fprintf(outf, "%d * %.1f = %.1f MHz max turbo %d active cores\n", in dump_turbo_ratio_limits()
2354 fprintf(outf, "%d * %.1f = %.1f MHz max turbo %d active cores\n", in dump_turbo_ratio_limits()
2360 fprintf(outf, "%d * %.1f = %.1f MHz max turbo %d active cores\n", in dump_turbo_ratio_limits()
2372 fprintf(outf, "cpu%d: MSR_ATOM_CORE_RATIOS: 0x%08llx\n", base_cpu, msr & 0xFFFFFFFF); in dump_atom_turbo_ratio_limits()
2376 fprintf(outf, "%d * %.1f = %.1f MHz minimum operating frequency\n", in dump_atom_turbo_ratio_limits()
2381 fprintf(outf, "%d * %.1f = %.1f MHz low frequency mode (LFM)\n", in dump_atom_turbo_ratio_limits()
2386 fprintf(outf, "%d * %.1f = %.1f MHz base frequency\n", in dump_atom_turbo_ratio_limits()
2390 fprintf(outf, "cpu%d: MSR_ATOM_CORE_TURBO_RATIOS: 0x%08llx\n", base_cpu, msr & 0xFFFFFFFF); in dump_atom_turbo_ratio_limits()
2394 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 4 active cores\n", in dump_atom_turbo_ratio_limits()
2399 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 3 active cores\n", in dump_atom_turbo_ratio_limits()
2404 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 2 active cores\n", in dump_atom_turbo_ratio_limits()
2409 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 1 active core\n", in dump_atom_turbo_ratio_limits()
2426 fprintf(outf, "cpu%d: MSR_TURBO_RATIO_LIMIT: 0x%08llx\n", in dump_knl_turbo_ratio_limits()
2467 fprintf(outf, in dump_knl_turbo_ratio_limits()
2479 fprintf(outf, "cpu%d: MSR_PKG_CST_CONFIG_CONTROL: 0x%08llx", base_cpu, msr); in dump_nhm_cst_cfg()
2481 fprintf(outf, " (%s%s%s%s%slocked, pkg-cstate-limit=%d (%s)", in dump_nhm_cst_cfg()
2492 fprintf(outf, ", automatic c-state conversion=%s", in dump_nhm_cst_cfg()
2496 fprintf(outf, ")\n"); in dump_nhm_cst_cfg()
2507 fprintf(outf, "cpu%d: MSR_CONFIG_TDP_NOMINAL: 0x%08llx", base_cpu, msr); in dump_config_tdp()
2508 fprintf(outf, " (base_ratio=%d)\n", (unsigned int)msr & 0xFF); in dump_config_tdp()
2511 fprintf(outf, "cpu%d: MSR_CONFIG_TDP_LEVEL_1: 0x%08llx (", base_cpu, msr); in dump_config_tdp()
2513 fprintf(outf, "PKG_MIN_PWR_LVL1=%d ", (unsigned int)(msr >> 48) & 0x7FFF); in dump_config_tdp()
2514 fprintf(outf, "PKG_MAX_PWR_LVL1=%d ", (unsigned int)(msr >> 32) & 0x7FFF); in dump_config_tdp()
2515 fprintf(outf, "LVL1_RATIO=%d ", (unsigned int)(msr >> 16) & 0xFF); in dump_config_tdp()
2516 fprintf(outf, "PKG_TDP_LVL1=%d", (unsigned int)(msr) & 0x7FFF); in dump_config_tdp()
2518 fprintf(outf, ")\n"); in dump_config_tdp()
2521 fprintf(outf, "cpu%d: MSR_CONFIG_TDP_LEVEL_2: 0x%08llx (", base_cpu, msr); in dump_config_tdp()
2523 fprintf(outf, "PKG_MIN_PWR_LVL2=%d ", (unsigned int)(msr >> 48) & 0x7FFF); in dump_config_tdp()
2524 fprintf(outf, "PKG_MAX_PWR_LVL2=%d ", (unsigned int)(msr >> 32) & 0x7FFF); in dump_config_tdp()
2525 fprintf(outf, "LVL2_RATIO=%d ", (unsigned int)(msr >> 16) & 0xFF); in dump_config_tdp()
2526 fprintf(outf, "PKG_TDP_LVL2=%d", (unsigned int)(msr) & 0x7FFF); in dump_config_tdp()
2528 fprintf(outf, ")\n"); in dump_config_tdp()
2531 fprintf(outf, "cpu%d: MSR_CONFIG_TDP_CONTROL: 0x%08llx (", base_cpu, msr); in dump_config_tdp()
2533 fprintf(outf, "TDP_LEVEL=%d ", (unsigned int)(msr) & 0x3); in dump_config_tdp()
2534 fprintf(outf, " lock=%d", (unsigned int)(msr >> 31) & 1); in dump_config_tdp()
2535 fprintf(outf, ")\n"); in dump_config_tdp()
2538 fprintf(outf, "cpu%d: MSR_TURBO_ACTIVATION_RATIO: 0x%08llx (", base_cpu, msr); in dump_config_tdp()
2539 fprintf(outf, "MAX_NON_TURBO_RATIO=%d", (unsigned int)(msr) & 0xFF); in dump_config_tdp()
2540 fprintf(outf, " lock=%d", (unsigned int)(msr >> 31) & 1); in dump_config_tdp()
2541 fprintf(outf, ")\n"); in dump_config_tdp()
2551 fprintf(outf, "cpu%d: MSR_PKGC3_IRTL: 0x%08llx (", base_cpu, msr); in print_irtl()
2552 fprintf(outf, "%svalid, %lld ns)\n", msr & (1 << 15) ? "" : "NOT", in print_irtl()
2556 fprintf(outf, "cpu%d: MSR_PKGC6_IRTL: 0x%08llx (", base_cpu, msr); in print_irtl()
2557 fprintf(outf, "%svalid, %lld ns)\n", msr & (1 << 15) ? "" : "NOT", in print_irtl()
2561 fprintf(outf, "cpu%d: MSR_PKGC7_IRTL: 0x%08llx (", base_cpu, msr); in print_irtl()
2562 fprintf(outf, "%svalid, %lld ns)\n", msr & (1 << 15) ? "" : "NOT", in print_irtl()
2569 fprintf(outf, "cpu%d: MSR_PKGC8_IRTL: 0x%08llx (", base_cpu, msr); in print_irtl()
2570 fprintf(outf, "%svalid, %lld ns)\n", msr & (1 << 15) ? "" : "NOT", in print_irtl()
2574 fprintf(outf, "cpu%d: MSR_PKGC9_IRTL: 0x%08llx (", base_cpu, msr); in print_irtl()
2575 fprintf(outf, "%svalid, %lld ns)\n", msr & (1 << 15) ? "" : "NOT", in print_irtl()
2579 fprintf(outf, "cpu%d: MSR_PKGC10_IRTL: 0x%08llx (", base_cpu, msr); in print_irtl()
2580 fprintf(outf, "%svalid, %lld ns)\n", msr & (1 << 15) ? "" : "NOT", in print_irtl()
2889 fprintf(outf, "turbostat: re-initialized with num_cpus %d\n", topo.num_cpus); in re_initialize()
3261 fprintf(outf, "Can not update msr(0x%llx)\n", in update_msr_sum()
3288 fprintf(outf, "Can not allocate memory for long time MSR.\n"); in msr_sum_record()
3300 fprintf(outf, "Can not create timer.\n"); in msr_sum_record()
3316 fprintf(outf, "Can not set timer.\n"); in msr_sum_record()
3806 fprintf(outf, "NSFOD %s\n", path); in dump_sysfs_file()
3813 fprintf(outf, "%s: %s", strrchr(path, '/') + 1, cpuidle_buf); in dump_sysfs_file()
3826 fprintf(outf, "cpuidle not loaded\n"); in dump_sysfs_cstate_config()
3861 fprintf(outf, "cpu%d: %s: %s", base_cpu, name_buf, desc); in dump_sysfs_cstate_config()
3878 fprintf(outf, "NSFOD %s\n", path); in dump_sysfs_pstate_config()
3889 fprintf(outf, "NSFOD %s\n", path); in dump_sysfs_pstate_config()
3896 fprintf(outf, "cpu%d: cpufreq driver: %s", base_cpu, driver_buf); in dump_sysfs_pstate_config()
3897 fprintf(outf, "cpu%d: cpufreq governor: %s", base_cpu, governor_buf); in dump_sysfs_pstate_config()
3904 fprintf(outf, "cpufreq boost: %d\n", turbo); in dump_sysfs_pstate_config()
3913 fprintf(outf, "cpufreq intel_pstate no_turbo: %d\n", turbo); in dump_sysfs_pstate_config()
3939 fprintf(outf, "print_epb: Could not migrate to CPU %d\n", cpu); in print_epb()
3960 fprintf(outf, "cpu%d: MSR_IA32_ENERGY_PERF_BIAS: 0x%08llx (%s)\n", cpu, msr, epb_string); in print_epb()
3983 fprintf(outf, "print_hwp: Could not migrate to CPU %d\n", cpu); in print_hwp()
3990 fprintf(outf, "cpu%d: MSR_PM_ENABLE: 0x%08llx (%sHWP)\n", in print_hwp()
4000 fprintf(outf, "cpu%d: MSR_HWP_CAPABILITIES: 0x%08llx " in print_hwp()
4011 fprintf(outf, "cpu%d: MSR_HWP_REQUEST: 0x%08llx " in print_hwp()
4025 fprintf(outf, "cpu%d: MSR_HWP_REQUEST_PKG: 0x%08llx " in print_hwp()
4038 fprintf(outf, "cpu%d: MSR_HWP_INTERRUPT: 0x%08llx " in print_hwp()
4047 fprintf(outf, "cpu%d: MSR_HWP_STATUS: 0x%08llx " in print_hwp()
4071 fprintf(outf, "print_perf_limit: Could not migrate to CPU %d\n", cpu); in print_perf_limit()
4077 fprintf(outf, "cpu%d: MSR_CORE_PERF_LIMIT_REASONS, 0x%08llx", cpu, msr); in print_perf_limit()
4078 fprintf(outf, " (Active: %s%s%s%s%s%s%s%s%s%s%s%s%s%s)", in print_perf_limit()
4093 fprintf(outf, " (Logged: %s%s%s%s%s%s%s%s%s%s%s%s%s%s)\n", in print_perf_limit()
4112 fprintf(outf, "cpu%d: MSR_GFX_PERF_LIMIT_REASONS, 0x%08llx", cpu, msr); in print_perf_limit()
4113 fprintf(outf, " (Active: %s%s%s%s%s%s%s%s)", in print_perf_limit()
4122 fprintf(outf, " (Logged: %s%s%s%s%s%s%s%s)\n", in print_perf_limit()
4134 fprintf(outf, "cpu%d: MSR_RING_PERF_LIMIT_REASONS, 0x%08llx", cpu, msr); in print_perf_limit()
4135 fprintf(outf, " (Active: %s%s%s%s%s%s)", in print_perf_limit()
4142 fprintf(outf, " (Logged: %s%s%s%s%s%s)\n", in print_perf_limit()
4354 …fprintf(outf, "RAPL: %.0f sec. Joule Counter Range, at %.0f Watts\n", rapl_joule_counter_range, td… in rapl_probe_intel()
4393 …fprintf(outf, "RAPL: %.0f sec. Joule Counter Range, at %.0f Watts\n", rapl_joule_counter_range, td… in rapl_probe_amd()
4452 fprintf(outf, "print_thermal: Could not migrate to CPU %d\n", cpu); in print_thermal()
4461 fprintf(outf, "cpu%d: MSR_IA32_PACKAGE_THERM_STATUS: 0x%08llx (%d C)\n", in print_thermal()
4469 fprintf(outf, "cpu%d: MSR_IA32_PACKAGE_THERM_INTERRUPT: 0x%08llx (%d C, %d C)\n", in print_thermal()
4482 fprintf(outf, "cpu%d: MSR_IA32_THERM_STATUS: 0x%08llx (%d C +/- %d)\n", in print_thermal()
4490 fprintf(outf, "cpu%d: MSR_IA32_THERM_INTERRUPT: 0x%08llx (%d C, %d C)\n", in print_thermal()
4499 fprintf(outf, "cpu%d: %s: %sabled (%f Watts, %f sec, clamp %sabled)\n", in print_power_limit_msr()
4524 fprintf(outf, "print_rapl: Could not migrate to CPU %d\n", cpu); in print_rapl()
4538 fprintf(outf, "cpu%d: %s: 0x%08llx (%f Watts, %f Joules, %f sec.)\n", cpu, msr_name, msr, in print_rapl()
4547 fprintf(outf, "cpu%d: MSR_PKG_POWER_INFO: 0x%08llx (%.0f W TDP, RAPL %.0f - %.0f W, %f sec.)\n", in print_rapl()
4560 fprintf(outf, "cpu%d: MSR_PKG_POWER_LIMIT: 0x%08llx (%slocked)\n", in print_rapl()
4564 fprintf(outf, "cpu%d: PKG Limit #2: %sabled (%f Watts, %f* sec, clamp %sabled)\n", in print_rapl()
4576 fprintf(outf, "cpu%d: MSR_DRAM_POWER_INFO,: 0x%08llx (%.0f W TDP, RAPL %.0f - %.0f W, %f sec.)\n", in print_rapl()
4586 fprintf(outf, "cpu%d: MSR_DRAM_POWER_LIMIT: 0x%08llx (%slocked)\n", in print_rapl()
4595 fprintf(outf, "cpu%d: MSR_PP0_POLICY: %lld\n", cpu, msr & 0xF); in print_rapl()
4600 fprintf(outf, "cpu%d: MSR_PP0_POWER_LIMIT: 0x%08llx (%slocked)\n", in print_rapl()
4608 fprintf(outf, "cpu%d: MSR_PP1_POLICY: %lld\n", cpu, msr & 0xF); in print_rapl()
4612 fprintf(outf, "cpu%d: MSR_PP1_POWER_LIMIT: 0x%08llx (%slocked)\n", in print_rapl()
4761 fprintf(outf, "SLM BCLK: unknown\n"); in slm_bclk()
4765 fprintf(outf, "SLM BCLK[%d] invalid\n", i); in slm_bclk()
4771 fprintf(outf, "SLM BCLK: %.1f Mhz\n", freq); in slm_bclk()
4814 fprintf(outf, "Could not migrate to CPU %d\n", cpu); in set_temperature_target()
4820 fprintf(outf, "cpu%d: Using cmdline TCC Target (%d C)\n", in set_temperature_target()
4835 fprintf(outf, "cpu%d: MSR_IA32_TEMPERATURE_TARGET: 0x%08llx (%d C)\n", in set_temperature_target()
4847 fprintf(outf, "cpu%d: Guessing tjMax %d C, Please use -T to specify\n", in set_temperature_target()
4858 fprintf(outf, "cpu%d: MSR_IA32_FEATURE_CONTROL: 0x%08llx (%sLocked %s)\n", in decode_feature_control_msr()
4872 fprintf(outf, "cpu%d: MSR_IA32_MISC_ENABLE: 0x%08llx (%sTCC %sEIST %sMWAIT %sPREFETCH %sTURBO)\n", in decode_misc_enable_msr()
4889 …fprintf(outf, "cpu%d: MSR_MISC_FEATURE_CONTROL: 0x%08llx (%sL2-Prefetch %sL2-Prefetch-pair %sL1-Pr… in decode_misc_feature_control()
4914 …fprintf(outf, "cpu%d: MSR_MISC_PWR_MGMT: 0x%08llx (%sable-EIST_Coordination %sable-EPB %sable-OOB)… in decode_misc_pwr_mgmt_msr()
4931 fprintf(outf, "cpu%d: MSR_CC6_DEMOTION_POLICY_CONFIG: 0x%08llx (%sable-CC6-Demotion)\n", in decode_c6_demotion_policy_msr()
4935 fprintf(outf, "cpu%d: MSR_MC6_DEMOTION_POLICY_CONFIG: 0x%08llx (%sable-MC6-Demotion)\n", in decode_c6_demotion_policy_msr()
5010 fprintf(outf, "/dev/cpu_dma_latency: %d usec (%s)\n", in print_dev_latency()
5034 fprintf(outf, "CPUID(0): %.4s%.4s%.4s ", in process_cpuid()
5057 fprintf(outf, "0x%x CPUID levels; 0x%x xlevels; family:model:stepping 0x%x:%x:%x (%d:%d:%d)\n", in process_cpuid()
5059 fprintf(outf, "CPUID(1): %s %s %s %s %s %s %s %s %s %s\n", in process_cpuid()
5114 fprintf(outf, "CPUID(6): %sAPERF, %sTURBO, %sDTS, %sPTM, %sHWP, " in process_cpuid()
5139 fprintf(outf, "CPUID(7): %sSGX\n", has_sgx ? "" : "No-"); in process_cpuid()
5158 fprintf(outf, "CPUID(0x15): eax_crystal: %d ebx_tsc: %d ecx_crystal_hz: %d\n", in process_cpuid()
5180 fprintf(outf, "TSC: %lld MHz (%d Hz * %d / %d / 1000000)\n", in process_cpuid()
5195 fprintf(outf, "CPUID(0x16): base_mhz: %d max_mhz: %d bus_mhz: %d\n", in process_cpuid()
5369 fprintf(outf, "num_cpus %d max_cpu_num %d\n", topo.num_cpus, topo.max_cpu_num); in topology_probe()
5414 fprintf(outf, "cpu%d NOT PRESENT\n", i); in topology_probe()
5450 fprintf(outf, "max_core_id %d, sizing for %d cores per package\n", in topology_probe()
5457 fprintf(outf, "max_die_id %d, sizing for %d die\n", in topology_probe()
5464 fprintf(outf, "max_package_id %d, sizing for %d packages\n", in topology_probe()
5471 fprintf(outf, "nodes_per_pkg %d\n", topo.nodes_per_pkg); in topology_probe()
5477 fprintf(outf, "max_siblings %d\n", max_siblings); in topology_probe()
5485 fprintf(outf, in topology_probe()
5617 fprintf(outf, "base_cpu = %d\n", base_cpu); in set_base_cpu()
5692 fprintf(outf, "%s: Counter reset detected\n", progname); in fork_it()
5698 fprintf(outf, "%.6f sec\n", tv_delta.tv_sec + tv_delta.tv_usec/1000000.0); in fork_it()
5724 fprintf(outf, "turbostat version 20.09.30" in print_version()
6124 fprintf(outf, "interval %f seconds is too small\n", in cmdline()
6143 outf = fopen_or_die(optarg, "w"); in cmdline()
6152 fprintf(outf, "iterations %d should be positive number\n", in cmdline()
6185 outf = stderr; in main()