Lines Matching full:level
76 static void format_and_print_txt(FILE *outf, int level, char *header, in format_and_print_txt() argument
83 if (!level) in format_and_print_txt()
86 if (level == 1) { in format_and_print_txt()
89 for (i = 0; i < level - 1; ++i) in format_and_print_txt()
104 static void format_and_print(FILE *outf, int level, char *header, char *value) in format_and_print() argument
111 format_and_print_txt(outf, level, header, value); in format_and_print()
115 if (level == 0) { in format_and_print()
124 for (i = 0; i < level; ++i) in format_and_print()
128 if (last_level == level) in format_and_print()
132 if (last_level != level) in format_and_print()
138 for (i = last_level - 1; i >= level; --i) { in format_and_print()
145 if (i == level && header) in format_and_print()
150 if (abs(last_level - level) < 3) in format_and_print()
158 last_level = level; in format_and_print()
183 static void _isst_pbf_display_information(int cpu, FILE *outf, int level, in _isst_pbf_display_information() argument
226 static void _isst_fact_display_information(int cpu, FILE *outf, int level, in _isst_fact_display_information() argument
319 int level = 1; in isst_ctdp_display_core_info() local
325 format_and_print(outf, level++, header, NULL); in isst_ctdp_display_core_info()
329 format_and_print(outf, level++, header, NULL); in isst_ctdp_display_core_info()
332 format_and_print(outf, level++, header, NULL); in isst_ctdp_display_core_info()
334 format_and_print(outf, level++, header, NULL); in isst_ctdp_display_core_info()
343 format_and_print(outf, level, prefix, value); in isst_ctdp_display_core_info()
353 static int level; in isst_ctdp_display_information() local
357 level = print_package_info(cpu, outf); in isst_ctdp_display_information()
367 snprintf(header, sizeof(header), "perf-profile-level-%d", in isst_ctdp_display_information()
368 ctdp_level->level); in isst_ctdp_display_information()
369 format_and_print(outf, level + 1, header, NULL); in isst_ctdp_display_information()
375 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
382 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
390 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
396 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
401 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
408 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
414 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
421 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
428 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
435 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
442 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
454 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
465 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
476 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
483 level + 2); in isst_ctdp_display_information()
490 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
496 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
500 format_and_print(outf, level + 2, header, NULL); in isst_ctdp_display_information()
503 format_and_print(outf, level + 3, header, NULL); in isst_ctdp_display_information()
507 format_and_print(outf, level + 4, header, value); in isst_ctdp_display_information()
514 format_and_print(outf, level + 4, header, value); in isst_ctdp_display_information()
519 format_and_print(outf, level + 2, header, NULL); in isst_ctdp_display_information()
522 format_and_print(outf, level + 3, header, NULL); in isst_ctdp_display_information()
526 format_and_print(outf, level + 4, header, value); in isst_ctdp_display_information()
530 format_and_print(outf, level + 4, header, value); in isst_ctdp_display_information()
536 format_and_print(outf, level + 2, header, NULL); in isst_ctdp_display_information()
539 format_and_print(outf, level + 3, header, NULL); in isst_ctdp_display_information()
543 format_and_print(outf, level + 4, header, value); in isst_ctdp_display_information()
547 format_and_print(outf, level + 4, header, value); in isst_ctdp_display_information()
554 level + 2); in isst_ctdp_display_information()
558 level + 2); in isst_ctdp_display_information()
578 void isst_pbf_display_information(int cpu, FILE *outf, int level, in isst_pbf_display_information() argument
584 _isst_pbf_display_information(cpu, outf, level, pbf_info, _level + 1); in isst_pbf_display_information()
588 void isst_fact_display_information(int cpu, FILE *outf, int level, in isst_fact_display_information() argument
595 _isst_fact_display_information(cpu, outf, level, fact_bucket, fact_avx, in isst_fact_display_information()
605 int level; in isst_clos_display_information() local
607 level = print_package_info(cpu, outf); in isst_clos_display_information()
610 format_and_print(outf, level + 1, header, NULL); in isst_clos_display_information()
614 format_and_print(outf, level + 2, header, value); in isst_clos_display_information()
618 format_and_print(outf, level + 2, header, value); in isst_clos_display_information()
622 format_and_print(outf, level + 2, header, value); in isst_clos_display_information()
626 format_and_print(outf, level + 2, header, value); in isst_clos_display_information()
633 format_and_print(outf, level + 2, header, value); in isst_clos_display_information()
637 format_and_print(outf, level + 2, header, value); in isst_clos_display_information()
639 format_and_print(outf, level, NULL, NULL); in isst_clos_display_information()
648 int level; in isst_clos_display_clos_information() local
650 level = print_package_info(cpu, outf); in isst_clos_display_clos_information()
653 format_and_print(outf, level + 1, header, NULL); in isst_clos_display_clos_information()
660 format_and_print(outf, level + 2, header, value); in isst_clos_display_clos_information()
667 format_and_print(outf, level + 2, header, value); in isst_clos_display_clos_information()
674 format_and_print(outf, level + 2, header, value); in isst_clos_display_clos_information()
681 format_and_print(outf, level + 2, header, value); in isst_clos_display_clos_information()
683 format_and_print(outf, level, NULL, NULL); in isst_clos_display_clos_information()
690 int level; in isst_clos_display_assoc_information() local
692 level = print_package_info(cpu, outf); in isst_clos_display_assoc_information()
695 format_and_print(outf, level + 1, header, NULL); in isst_clos_display_assoc_information()
699 format_and_print(outf, level + 2, header, value); in isst_clos_display_assoc_information()
701 format_and_print(outf, level, NULL, NULL); in isst_clos_display_assoc_information()
709 int level = 3; in isst_display_result() local
712 level = print_package_info(cpu, outf); in isst_display_result()
715 format_and_print(outf, level + 1, header, NULL); in isst_display_result()
721 format_and_print(outf, level + 2, header, value); in isst_display_result()
723 format_and_print(outf, level, NULL, NULL); in isst_display_result()