Lines Matching refs:delim

800 void print_header(char *delim)  in print_header()  argument
806 outp += sprintf(outp, "%susec", (printed++ ? delim : "")); in print_header()
808 outp += sprintf(outp, "%sTime_Of_Day_Seconds", (printed++ ? delim : "")); in print_header()
810 outp += sprintf(outp, "%sPackage", (printed++ ? delim : "")); in print_header()
812 outp += sprintf(outp, "%sDie", (printed++ ? delim : "")); in print_header()
814 outp += sprintf(outp, "%sNode", (printed++ ? delim : "")); in print_header()
816 outp += sprintf(outp, "%sCore", (printed++ ? delim : "")); in print_header()
818 outp += sprintf(outp, "%sCPU", (printed++ ? delim : "")); in print_header()
820 outp += sprintf(outp, "%sAPIC", (printed++ ? delim : "")); in print_header()
822 outp += sprintf(outp, "%sX2APIC", (printed++ ? delim : "")); in print_header()
824 outp += sprintf(outp, "%sAvg_MHz", (printed++ ? delim : "")); in print_header()
826 outp += sprintf(outp, "%sBusy%%", (printed++ ? delim : "")); in print_header()
828 outp += sprintf(outp, "%sBzy_MHz", (printed++ ? delim : "")); in print_header()
830 outp += sprintf(outp, "%sTSC_MHz", (printed++ ? delim : "")); in print_header()
833 outp += sprintf(outp, "%sIPC", (printed++ ? delim : "")); in print_header()
837 outp += sprintf(outp, "%s IRQ", (printed++ ? delim : "")); in print_header()
839 outp += sprintf(outp, "%sIRQ", (printed++ ? delim : "")); in print_header()
843 outp += sprintf(outp, "%sSMI", (printed++ ? delim : "")); in print_header()
849 outp += sprintf(outp, "%s%18.18s", (printed++ ? delim : ""), mp->name); in print_header()
851 outp += sprintf(outp, "%s%10.10s", (printed++ ? delim : ""), mp->name); in print_header()
854 outp += sprintf(outp, "%s%8s", (printed++ ? delim : ""), mp->name); in print_header()
856 outp += sprintf(outp, "%s%s", (printed++ ? delim : ""), mp->name); in print_header()
861 outp += sprintf(outp, "%sCPU%%c1", (printed++ ? delim : "")); in print_header()
863 outp += sprintf(outp, "%sCPU%%c3", (printed++ ? delim : "")); in print_header()
865 outp += sprintf(outp, "%sCPU%%c6", (printed++ ? delim : "")); in print_header()
867 outp += sprintf(outp, "%sCPU%%c7", (printed++ ? delim : "")); in print_header()
870 outp += sprintf(outp, "%sMod%%c6", (printed++ ? delim : "")); in print_header()
873 outp += sprintf(outp, "%sCoreTmp", (printed++ ? delim : "")); in print_header()
877 outp += sprintf(outp, "%sCorWatt", (printed++ ? delim : "")); in print_header()
880 outp += sprintf(outp, "%sCor_J", (printed++ ? delim : "")); in print_header()
886 outp += sprintf(outp, "%s%18.18s", delim, mp->name); in print_header()
888 outp += sprintf(outp, "%s%10.10s", delim, mp->name); in print_header()
891 outp += sprintf(outp, "%s%8s", delim, mp->name); in print_header()
893 outp += sprintf(outp, "%s%s", delim, mp->name); in print_header()
898 outp += sprintf(outp, "%sPkgTmp", (printed++ ? delim : "")); in print_header()
901 outp += sprintf(outp, "%sGFX%%rc6", (printed++ ? delim : "")); in print_header()
904 outp += sprintf(outp, "%sGFXMHz", (printed++ ? delim : "")); in print_header()
907 outp += sprintf(outp, "%sGFXAMHz", (printed++ ? delim : "")); in print_header()
910 outp += sprintf(outp, "%sTotl%%C0", (printed++ ? delim : "")); in print_header()
912 outp += sprintf(outp, "%sAny%%C0", (printed++ ? delim : "")); in print_header()
914 outp += sprintf(outp, "%sGFX%%C0", (printed++ ? delim : "")); in print_header()
916 outp += sprintf(outp, "%sCPUGFX%%", (printed++ ? delim : "")); in print_header()
919 outp += sprintf(outp, "%sPkg%%pc2", (printed++ ? delim : "")); in print_header()
921 outp += sprintf(outp, "%sPkg%%pc3", (printed++ ? delim : "")); in print_header()
923 outp += sprintf(outp, "%sPkg%%pc6", (printed++ ? delim : "")); in print_header()
925 outp += sprintf(outp, "%sPkg%%pc7", (printed++ ? delim : "")); in print_header()
927 outp += sprintf(outp, "%sPkg%%pc8", (printed++ ? delim : "")); in print_header()
929 outp += sprintf(outp, "%sPkg%%pc9", (printed++ ? delim : "")); in print_header()
931 outp += sprintf(outp, "%sPk%%pc10", (printed++ ? delim : "")); in print_header()
933 outp += sprintf(outp, "%sCPU%%LPI", (printed++ ? delim : "")); in print_header()
935 outp += sprintf(outp, "%sSYS%%LPI", (printed++ ? delim : "")); in print_header()
939 outp += sprintf(outp, "%sPkgWatt", (printed++ ? delim : "")); in print_header()
941 outp += sprintf(outp, "%sCorWatt", (printed++ ? delim : "")); in print_header()
943 outp += sprintf(outp, "%sGFXWatt", (printed++ ? delim : "")); in print_header()
945 outp += sprintf(outp, "%sRAMWatt", (printed++ ? delim : "")); in print_header()
947 outp += sprintf(outp, "%sPKG_%%", (printed++ ? delim : "")); in print_header()
949 outp += sprintf(outp, "%sRAM_%%", (printed++ ? delim : "")); in print_header()
952 outp += sprintf(outp, "%sPkg_J", (printed++ ? delim : "")); in print_header()
954 outp += sprintf(outp, "%sCor_J", (printed++ ? delim : "")); in print_header()
956 outp += sprintf(outp, "%sGFX_J", (printed++ ? delim : "")); in print_header()
958 outp += sprintf(outp, "%sRAM_J", (printed++ ? delim : "")); in print_header()
960 outp += sprintf(outp, "%sPKG_%%", (printed++ ? delim : "")); in print_header()
962 outp += sprintf(outp, "%sRAM_%%", (printed++ ? delim : "")); in print_header()
967 outp += sprintf(outp, "%s%18.18s", delim, mp->name); in print_header()
969 outp += sprintf(outp, "%s%10.10s", delim, mp->name); in print_header()
972 outp += sprintf(outp, "%s%8s", delim, mp->name); in print_header()
974 outp += sprintf(outp, "%s%s", delim, mp->name); in print_header()
1069 char *delim = "\t"; in format_counters() local
1103 outp += sprintf(outp, "%s-", (printed++ ? delim : "")); in format_counters()
1105 outp += sprintf(outp, "%s-", (printed++ ? delim : "")); in format_counters()
1107 outp += sprintf(outp, "%s-", (printed++ ? delim : "")); in format_counters()
1109 outp += sprintf(outp, "%s-", (printed++ ? delim : "")); in format_counters()
1111 outp += sprintf(outp, "%s-", (printed++ ? delim : "")); in format_counters()
1113 outp += sprintf(outp, "%s-", (printed++ ? delim : "")); in format_counters()
1115 outp += sprintf(outp, "%s-", (printed++ ? delim : "")); in format_counters()
1119 outp += sprintf(outp, "%s%d", (printed++ ? delim : ""), p->package_id); in format_counters()
1121 outp += sprintf(outp, "%s-", (printed++ ? delim : "")); in format_counters()
1125 outp += sprintf(outp, "%s%d", (printed++ ? delim : ""), cpus[t->cpu_id].die_id); in format_counters()
1127 outp += sprintf(outp, "%s-", (printed++ ? delim : "")); in format_counters()
1132 (printed++ ? delim : ""), cpus[t->cpu_id].physical_node_id); in format_counters()
1134 outp += sprintf(outp, "%s-", (printed++ ? delim : "")); in format_counters()
1138 outp += sprintf(outp, "%s%d", (printed++ ? delim : ""), c->core_id); in format_counters()
1140 outp += sprintf(outp, "%s-", (printed++ ? delim : "")); in format_counters()
1143 outp += sprintf(outp, "%s%d", (printed++ ? delim : ""), t->cpu_id); in format_counters()
1145 outp += sprintf(outp, "%s%d", (printed++ ? delim : ""), t->apic_id); in format_counters()
1147 outp += sprintf(outp, "%s%d", (printed++ ? delim : ""), t->x2apic_id); in format_counters()
1151 …outp += sprintf(outp, "%s%.0f", (printed++ ? delim : ""), 1.0 / units * t->aperf / interval_float); in format_counters()
1154 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * t->mperf / tsc); in format_counters()
1159 sprintf(outp, "%s%.0f", (printed++ ? delim : ""), base_hz / units * t->aperf / t->mperf); in format_counters()
1161 outp += sprintf(outp, "%s%.0f", (printed++ ? delim : ""), in format_counters()
1166 outp += sprintf(outp, "%s%.0f", (printed++ ? delim : ""), 1.0 * t->tsc / units / interval_float); in format_counters()
1169 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 1.0 * t->instr_count / t->aperf); in format_counters()
1174 outp += sprintf(outp, "%s%8lld", (printed++ ? delim : ""), t->irq_count); in format_counters()
1176 outp += sprintf(outp, "%s%lld", (printed++ ? delim : ""), t->irq_count); in format_counters()
1181 outp += sprintf(outp, "%s%d", (printed++ ? delim : ""), t->smi_count); in format_counters()
1188 sprintf(outp, "%s0x%08x", (printed++ ? delim : ""), (unsigned int)t->counter[i]); in format_counters()
1190 outp += sprintf(outp, "%s0x%016llx", (printed++ ? delim : ""), t->counter[i]); in format_counters()
1193 outp += sprintf(outp, "%s%8lld", (printed++ ? delim : ""), t->counter[i]); in format_counters()
1195 outp += sprintf(outp, "%s%lld", (printed++ ? delim : ""), t->counter[i]); in format_counters()
1199 sprintf(outp, "%s%.2f", (printed++ ? delim : ""), in format_counters()
1202 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * t->counter[i] / tsc); in format_counters()
1208 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * t->c1 / tsc); in format_counters()
1215 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * c->c3 / tsc); in format_counters()
1217 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * c->c6 / tsc); in format_counters()
1219 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * c->c7 / tsc); in format_counters()
1223 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * c->mc6_us / tsc); in format_counters()
1226 outp += sprintf(outp, "%s%d", (printed++ ? delim : ""), c->core_temp_c); in format_counters()
1232 sprintf(outp, "%s0x%08x", (printed++ ? delim : ""), (unsigned int)c->counter[i]); in format_counters()
1234 outp += sprintf(outp, "%s0x%016llx", (printed++ ? delim : ""), c->counter[i]); in format_counters()
1237 outp += sprintf(outp, "%s%8lld", (printed++ ? delim : ""), c->counter[i]); in format_counters()
1239 outp += sprintf(outp, "%s%lld", (printed++ ? delim : ""), c->counter[i]); in format_counters()
1241 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * c->counter[i] / tsc); in format_counters()
1249 …sprintf(outp, fmt8, (printed++ ? delim : ""), c->core_energy * rapl_energy_units / interval_float); in format_counters()
1251 outp += sprintf(outp, fmt8, (printed++ ? delim : ""), c->core_energy * rapl_energy_units); in format_counters()
1259 outp += sprintf(outp, "%s%d", (printed++ ? delim : ""), p->pkg_temp_c); in format_counters()
1264 outp += sprintf(outp, "%s**.**", (printed++ ? delim : "")); in format_counters()
1266 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), in format_counters()
1273 outp += sprintf(outp, "%s%d", (printed++ ? delim : ""), p->gfx_mhz); in format_counters()
1277 outp += sprintf(outp, "%s%d", (printed++ ? delim : ""), p->gfx_act_mhz); in format_counters()
1281 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * p->pkg_wtd_core_c0 / tsc); in format_counters()
1283 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * p->pkg_any_core_c0 / tsc); in format_counters()
1285 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * p->pkg_any_gfxe_c0 / tsc); in format_counters()
1287 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * p->pkg_both_core_gfxe_c0 / tsc); in format_counters()
1290 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * p->pc2 / tsc); in format_counters()
1292 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * p->pc3 / tsc); in format_counters()
1294 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * p->pc6 / tsc); in format_counters()
1296 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * p->pc7 / tsc); in format_counters()
1298 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * p->pc8 / tsc); in format_counters()
1300 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * p->pc9 / tsc); in format_counters()
1302 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * p->pc10 / tsc); in format_counters()
1306 …sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * p->cpu_lpi / 1000000.0 / interval_float); in format_counters()
1309 …sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * p->sys_lpi / 1000000.0 / interval_float); in format_counters()
1313 … sprintf(outp, fmt8, (printed++ ? delim : ""), p->energy_pkg * rapl_energy_units / interval_float); in format_counters()
1316 …sprintf(outp, fmt8, (printed++ ? delim : ""), p->energy_cores * rapl_energy_units / interval_float… in format_counters()
1319 … sprintf(outp, fmt8, (printed++ ? delim : ""), p->energy_gfx * rapl_energy_units / interval_float); in format_counters()
1322 sprintf(outp, fmt8, (printed++ ? delim : ""), in format_counters()
1325 outp += sprintf(outp, fmt8, (printed++ ? delim : ""), p->energy_pkg * rapl_energy_units); in format_counters()
1327 outp += sprintf(outp, fmt8, (printed++ ? delim : ""), p->energy_cores * rapl_energy_units); in format_counters()
1329 outp += sprintf(outp, fmt8, (printed++ ? delim : ""), p->energy_gfx * rapl_energy_units); in format_counters()
1331 outp += sprintf(outp, fmt8, (printed++ ? delim : ""), p->energy_dram * rapl_dram_energy_units); in format_counters()
1334 sprintf(outp, fmt8, (printed++ ? delim : ""), in format_counters()
1338 sprintf(outp, fmt8, (printed++ ? delim : ""), in format_counters()
1345 sprintf(outp, "%s0x%08x", (printed++ ? delim : ""), (unsigned int)p->counter[i]); in format_counters()
1347 outp += sprintf(outp, "%s0x%016llx", (printed++ ? delim : ""), p->counter[i]); in format_counters()
1350 outp += sprintf(outp, "%s%8lld", (printed++ ? delim : ""), p->counter[i]); in format_counters()
1352 outp += sprintf(outp, "%s%lld", (printed++ ? delim : ""), p->counter[i]); in format_counters()
1354 outp += sprintf(outp, "%s%.2f", (printed++ ? delim : ""), 100.0 * p->counter[i] / tsc); in format_counters()