Lines Matching refs:outf
38 FILE *outf;
648 fprintf(outf,
1294 if (outf == stderr)
1297 filep = outf;
1306 fputs(output_buffer, outf);
1307 fflush(outf);
1485 fprintf(outf, "cpu%d MPERF 0!\n", old->cpu_id);
1883 fprintf(outf, "cpu%d: BIOS BUG: apic 0x%x x2apic 0x%x\n",
1901 fprintf(outf, "get_counters: Could not migrate to CPU %d\n", cpu);
2193 fprintf(outf, "cpu%d: MSR_PLATFORM_INFO: 0x%08llx\n", base_cpu, msr);
2196 fprintf(outf, "%d * %.1f = %.1f MHz max efficiency frequency\n",
2200 fprintf(outf, "%d * %.1f = %.1f MHz base frequency\n",
2204 fprintf(outf, "cpu%d: MSR_IA32_POWER_CTL: 0x%08llx (C1E auto-promotion: %sabled)\n",
2218 fprintf(outf, "cpu%d: MSR_TURBO_RATIO_LIMIT2: 0x%08llx\n", base_cpu, msr);
2222 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 18 active cores\n",
2227 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 17 active cores\n",
2240 fprintf(outf, "cpu%d: MSR_TURBO_RATIO_LIMIT1: 0x%08llx\n", base_cpu, msr);
2244 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 16 active cores\n",
2249 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 15 active cores\n",
2254 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 14 active cores\n",
2259 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 13 active cores\n",
2264 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 12 active cores\n",
2269 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 11 active cores\n",
2274 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 10 active cores\n",
2279 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 9 active cores\n",
2306 fprintf(outf, "cpu%d: MSR_TURBO_RATIO_LIMIT: 0x%08llx\n", base_cpu, msr);
2310 fprintf(outf, "cpu%d: MSR_TURBO_RATIO_LIMIT1: 0x%08llx\n", base_cpu, core_counts);
2318 fprintf(outf, "%d * %.1f = %.1f MHz max turbo %d active cores\n",
2324 fprintf(outf, "%d * %.1f = %.1f MHz max turbo %d active cores\n",
2330 fprintf(outf, "%d * %.1f = %.1f MHz max turbo %d active cores\n",
2336 fprintf(outf, "%d * %.1f = %.1f MHz max turbo %d active cores\n",
2342 fprintf(outf, "%d * %.1f = %.1f MHz max turbo %d active cores\n",
2348 fprintf(outf, "%d * %.1f = %.1f MHz max turbo %d active cores\n",
2354 fprintf(outf, "%d * %.1f = %.1f MHz max turbo %d active cores\n",
2360 fprintf(outf, "%d * %.1f = %.1f MHz max turbo %d active cores\n",
2372 fprintf(outf, "cpu%d: MSR_ATOM_CORE_RATIOS: 0x%08llx\n", base_cpu, msr & 0xFFFFFFFF);
2376 fprintf(outf, "%d * %.1f = %.1f MHz minimum operating frequency\n",
2381 fprintf(outf, "%d * %.1f = %.1f MHz low frequency mode (LFM)\n",
2386 fprintf(outf, "%d * %.1f = %.1f MHz base frequency\n",
2390 fprintf(outf, "cpu%d: MSR_ATOM_CORE_TURBO_RATIOS: 0x%08llx\n", base_cpu, msr & 0xFFFFFFFF);
2394 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 4 active cores\n",
2399 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 3 active cores\n",
2404 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 2 active cores\n",
2409 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 1 active core\n",
2426 fprintf(outf, "cpu%d: MSR_TURBO_RATIO_LIMIT: 0x%08llx\n",
2467 fprintf(outf,
2479 fprintf(outf, "cpu%d: MSR_PKG_CST_CONFIG_CONTROL: 0x%08llx", base_cpu, msr);
2481 fprintf(outf, " (%s%s%s%s%slocked, pkg-cstate-limit=%d (%s)",
2492 fprintf(outf, ", automatic c-state conversion=%s",
2496 fprintf(outf, ")\n");
2507 fprintf(outf, "cpu%d: MSR_CONFIG_TDP_NOMINAL: 0x%08llx", base_cpu, msr);
2508 fprintf(outf, " (base_ratio=%d)\n", (unsigned int)msr & 0xFF);
2511 fprintf(outf, "cpu%d: MSR_CONFIG_TDP_LEVEL_1: 0x%08llx (", base_cpu, msr);
2513 fprintf(outf, "PKG_MIN_PWR_LVL1=%d ", (unsigned int)(msr >> 48) & 0x7FFF);
2514 fprintf(outf, "PKG_MAX_PWR_LVL1=%d ", (unsigned int)(msr >> 32) & 0x7FFF);
2515 fprintf(outf, "LVL1_RATIO=%d ", (unsigned int)(msr >> 16) & 0xFF);
2516 fprintf(outf, "PKG_TDP_LVL1=%d", (unsigned int)(msr) & 0x7FFF);
2518 fprintf(outf, ")\n");
2521 fprintf(outf, "cpu%d: MSR_CONFIG_TDP_LEVEL_2: 0x%08llx (", base_cpu, msr);
2523 fprintf(outf, "PKG_MIN_PWR_LVL2=%d ", (unsigned int)(msr >> 48) & 0x7FFF);
2524 fprintf(outf, "PKG_MAX_PWR_LVL2=%d ", (unsigned int)(msr >> 32) & 0x7FFF);
2525 fprintf(outf, "LVL2_RATIO=%d ", (unsigned int)(msr >> 16) & 0xFF);
2526 fprintf(outf, "PKG_TDP_LVL2=%d", (unsigned int)(msr) & 0x7FFF);
2528 fprintf(outf, ")\n");
2531 fprintf(outf, "cpu%d: MSR_CONFIG_TDP_CONTROL: 0x%08llx (", base_cpu, msr);
2533 fprintf(outf, "TDP_LEVEL=%d ", (unsigned int)(msr) & 0x3);
2534 fprintf(outf, " lock=%d", (unsigned int)(msr >> 31) & 1);
2535 fprintf(outf, ")\n");
2538 fprintf(outf, "cpu%d: MSR_TURBO_ACTIVATION_RATIO: 0x%08llx (", base_cpu, msr);
2539 fprintf(outf, "MAX_NON_TURBO_RATIO=%d", (unsigned int)(msr) & 0xFF);
2540 fprintf(outf, " lock=%d", (unsigned int)(msr >> 31) & 1);
2541 fprintf(outf, ")\n");
2551 fprintf(outf, "cpu%d: MSR_PKGC3_IRTL: 0x%08llx (", base_cpu, msr);
2552 fprintf(outf, "%svalid, %lld ns)\n", msr & (1 << 15) ? "" : "NOT",
2556 fprintf(outf, "cpu%d: MSR_PKGC6_IRTL: 0x%08llx (", base_cpu, msr);
2557 fprintf(outf, "%svalid, %lld ns)\n", msr & (1 << 15) ? "" : "NOT",
2561 fprintf(outf, "cpu%d: MSR_PKGC7_IRTL: 0x%08llx (", base_cpu, msr);
2562 fprintf(outf, "%svalid, %lld ns)\n", msr & (1 << 15) ? "" : "NOT",
2569 fprintf(outf, "cpu%d: MSR_PKGC8_IRTL: 0x%08llx (", base_cpu, msr);
2570 fprintf(outf, "%svalid, %lld ns)\n", msr & (1 << 15) ? "" : "NOT",
2574 fprintf(outf, "cpu%d: MSR_PKGC9_IRTL: 0x%08llx (", base_cpu, msr);
2575 fprintf(outf, "%svalid, %lld ns)\n", msr & (1 << 15) ? "" : "NOT",
2579 fprintf(outf, "cpu%d: MSR_PKGC10_IRTL: 0x%08llx (", base_cpu, msr);
2580 fprintf(outf, "%svalid, %lld ns)\n", msr & (1 << 15) ? "" : "NOT",
2889 fprintf(outf, "turbostat: re-initialized with num_cpus %d\n", topo.num_cpus);
3261 fprintf(outf, "Can not update msr(0x%llx)\n",
3288 fprintf(outf, "Can not allocate memory for long time MSR.\n");
3300 fprintf(outf, "Can not create timer.\n");
3316 fprintf(outf, "Can not set timer.\n");
3806 fprintf(outf, "NSFOD %s\n", path);
3813 fprintf(outf, "%s: %s", strrchr(path, '/') + 1, cpuidle_buf);
3826 fprintf(outf, "cpuidle not loaded\n");
3861 fprintf(outf, "cpu%d: %s: %s", base_cpu, name_buf, desc);
3878 fprintf(outf, "NSFOD %s\n", path);
3889 fprintf(outf, "NSFOD %s\n", path);
3896 fprintf(outf, "cpu%d: cpufreq driver: %s", base_cpu, driver_buf);
3897 fprintf(outf, "cpu%d: cpufreq governor: %s", base_cpu, governor_buf);
3904 fprintf(outf, "cpufreq boost: %d\n", turbo);
3913 fprintf(outf, "cpufreq intel_pstate no_turbo: %d\n", turbo);
3939 fprintf(outf, "print_epb: Could not migrate to CPU %d\n", cpu);
3960 fprintf(outf, "cpu%d: MSR_IA32_ENERGY_PERF_BIAS: 0x%08llx (%s)\n", cpu, msr, epb_string);
3983 fprintf(outf, "print_hwp: Could not migrate to CPU %d\n", cpu);
3990 fprintf(outf, "cpu%d: MSR_PM_ENABLE: 0x%08llx (%sHWP)\n",
4000 fprintf(outf, "cpu%d: MSR_HWP_CAPABILITIES: 0x%08llx "
4011 fprintf(outf, "cpu%d: MSR_HWP_REQUEST: 0x%08llx "
4025 fprintf(outf, "cpu%d: MSR_HWP_REQUEST_PKG: 0x%08llx "
4038 fprintf(outf, "cpu%d: MSR_HWP_INTERRUPT: 0x%08llx "
4047 fprintf(outf, "cpu%d: MSR_HWP_STATUS: 0x%08llx "
4071 fprintf(outf, "print_perf_limit: Could not migrate to CPU %d\n", cpu);
4077 fprintf(outf, "cpu%d: MSR_CORE_PERF_LIMIT_REASONS, 0x%08llx", cpu, msr);
4078 fprintf(outf, " (Active: %s%s%s%s%s%s%s%s%s%s%s%s%s%s)",
4093 fprintf(outf, " (Logged: %s%s%s%s%s%s%s%s%s%s%s%s%s%s)\n",
4112 fprintf(outf, "cpu%d: MSR_GFX_PERF_LIMIT_REASONS, 0x%08llx", cpu, msr);
4113 fprintf(outf, " (Active: %s%s%s%s%s%s%s%s)",
4122 fprintf(outf, " (Logged: %s%s%s%s%s%s%s%s)\n",
4134 fprintf(outf, "cpu%d: MSR_RING_PERF_LIMIT_REASONS, 0x%08llx", cpu, msr);
4135 fprintf(outf, " (Active: %s%s%s%s%s%s)",
4142 fprintf(outf, " (Logged: %s%s%s%s%s%s)\n",
4355 fprintf(outf, "RAPL: %.0f sec. Joule Counter Range, at %.0f Watts\n", rapl_joule_counter_range, tdp);
4394 fprintf(outf, "RAPL: %.0f sec. Joule Counter Range, at %.0f Watts\n", rapl_joule_counter_range, tdp);
4453 fprintf(outf, "print_thermal: Could not migrate to CPU %d\n", cpu);
4462 fprintf(outf, "cpu%d: MSR_IA32_PACKAGE_THERM_STATUS: 0x%08llx (%d C)\n",
4470 fprintf(outf, "cpu%d: MSR_IA32_PACKAGE_THERM_INTERRUPT: 0x%08llx (%d C, %d C)\n",
4483 fprintf(outf, "cpu%d: MSR_IA32_THERM_STATUS: 0x%08llx (%d C +/- %d)\n",
4491 fprintf(outf, "cpu%d: MSR_IA32_THERM_INTERRUPT: 0x%08llx (%d C, %d C)\n",
4500 fprintf(outf, "cpu%d: %s: %sabled (%f Watts, %f sec, clamp %sabled)\n",
4525 fprintf(outf, "print_rapl: Could not migrate to CPU %d\n", cpu);
4539 fprintf(outf, "cpu%d: %s: 0x%08llx (%f Watts, %f Joules, %f sec.)\n", cpu, msr_name, msr,
4548 fprintf(outf, "cpu%d: MSR_PKG_POWER_INFO: 0x%08llx (%.0f W TDP, RAPL %.0f - %.0f W, %f sec.)\n",
4561 fprintf(outf, "cpu%d: MSR_PKG_POWER_LIMIT: 0x%08llx (%slocked)\n",
4565 fprintf(outf, "cpu%d: PKG Limit #2: %sabled (%f Watts, %f* sec, clamp %sabled)\n",
4577 fprintf(outf, "cpu%d: MSR_DRAM_POWER_INFO,: 0x%08llx (%.0f W TDP, RAPL %.0f - %.0f W, %f sec.)\n",
4587 fprintf(outf, "cpu%d: MSR_DRAM_POWER_LIMIT: 0x%08llx (%slocked)\n",
4596 fprintf(outf, "cpu%d: MSR_PP0_POLICY: %lld\n", cpu, msr & 0xF);
4601 fprintf(outf, "cpu%d: MSR_PP0_POWER_LIMIT: 0x%08llx (%slocked)\n",
4609 fprintf(outf, "cpu%d: MSR_PP1_POLICY: %lld\n", cpu, msr & 0xF);
4613 fprintf(outf, "cpu%d: MSR_PP1_POWER_LIMIT: 0x%08llx (%slocked)\n",
4762 fprintf(outf, "SLM BCLK: unknown\n");
4766 fprintf(outf, "SLM BCLK[%d] invalid\n", i);
4772 fprintf(outf, "SLM BCLK: %.1f Mhz\n", freq);
4815 fprintf(outf, "Could not migrate to CPU %d\n", cpu);
4821 fprintf(outf, "cpu%d: Using cmdline TCC Target (%d C)\n",
4836 fprintf(outf, "cpu%d: MSR_IA32_TEMPERATURE_TARGET: 0x%08llx (%d C)\n",
4848 fprintf(outf, "cpu%d: Guessing tjMax %d C, Please use -T to specify\n",
4859 fprintf(outf, "cpu%d: MSR_IA32_FEATURE_CONTROL: 0x%08llx (%sLocked %s)\n",
4873 fprintf(outf, "cpu%d: MSR_IA32_MISC_ENABLE: 0x%08llx (%sTCC %sEIST %sMWAIT %sPREFETCH %sTURBO)\n",
4890 fprintf(outf, "cpu%d: MSR_MISC_FEATURE_CONTROL: 0x%08llx (%sL2-Prefetch %sL2-Prefetch-pair %sL1-Prefetch %sL1-IP-Prefetch)\n",
4915 fprintf(outf, "cpu%d: MSR_MISC_PWR_MGMT: 0x%08llx (%sable-EIST_Coordination %sable-EPB %sable-OOB)\n",
4932 fprintf(outf, "cpu%d: MSR_CC6_DEMOTION_POLICY_CONFIG: 0x%08llx (%sable-CC6-Demotion)\n",
4936 fprintf(outf, "cpu%d: MSR_MC6_DEMOTION_POLICY_CONFIG: 0x%08llx (%sable-MC6-Demotion)\n",
5011 fprintf(outf, "/dev/cpu_dma_latency: %d usec (%s)\n",
5035 fprintf(outf, "CPUID(0): %.4s%.4s%.4s ",
5058 fprintf(outf, "0x%x CPUID levels; 0x%x xlevels; family:model:stepping 0x%x:%x:%x (%d:%d:%d)\n",
5060 fprintf(outf, "CPUID(1): %s %s %s %s %s %s %s %s %s %s\n",
5115 fprintf(outf, "CPUID(6): %sAPERF, %sTURBO, %sDTS, %sPTM, %sHWP, "
5140 fprintf(outf, "CPUID(7): %sSGX\n", has_sgx ? "" : "No-");
5159 fprintf(outf, "CPUID(0x15): eax_crystal: %d ebx_tsc: %d ecx_crystal_hz: %d\n",
5181 fprintf(outf, "TSC: %lld MHz (%d Hz * %d / %d / 1000000)\n",
5196 fprintf(outf, "CPUID(0x16): base_mhz: %d max_mhz: %d bus_mhz: %d\n",
5370 fprintf(outf, "num_cpus %d max_cpu_num %d\n", topo.num_cpus, topo.max_cpu_num);
5415 fprintf(outf, "cpu%d NOT PRESENT\n", i);
5451 fprintf(outf, "max_core_id %d, sizing for %d cores per package\n",
5458 fprintf(outf, "max_die_id %d, sizing for %d die\n",
5465 fprintf(outf, "max_package_id %d, sizing for %d packages\n",
5472 fprintf(outf, "nodes_per_pkg %d\n", topo.nodes_per_pkg);
5478 fprintf(outf, "max_siblings %d\n", max_siblings);
5486 fprintf(outf,
5618 fprintf(outf, "base_cpu = %d\n", base_cpu);
5693 fprintf(outf, "%s: Counter reset detected\n", progname);
5699 fprintf(outf, "%.6f sec\n", tv_delta.tv_sec + tv_delta.tv_usec/1000000.0);
5725 fprintf(outf, "turbostat version 20.09.30"
6125 fprintf(outf, "interval %f seconds is too small\n",
6144 outf = fopen_or_die(optarg, "w");
6153 fprintf(outf, "iterations %d should be positive number\n",
6186 outf = stderr;