Lines Matching full:level

84 static void format_and_print_txt(FILE *outf, int level, char *header,  in format_and_print_txt()  argument
91 if (!level) in format_and_print_txt()
94 if (level == 1) { in format_and_print_txt()
97 for (i = 0; i < level - 1; ++i) in format_and_print_txt()
112 static void format_and_print(FILE *outf, int level, char *header, char *value) in format_and_print() argument
119 format_and_print_txt(outf, level, header, value); in format_and_print()
123 if (level == 0) { in format_and_print()
132 for (i = 0; i < level; ++i) in format_and_print()
136 if (last_level == level) in format_and_print()
140 if (last_level != level) in format_and_print()
146 for (i = last_level - 1; i >= level; --i) { in format_and_print()
153 if (i == level && header) in format_and_print()
158 if (abs(last_level - level) < 3) in format_and_print()
166 last_level = level; in format_and_print()
189 static void _isst_pbf_display_information(struct isst_id *id, FILE *outf, int level, in _isst_pbf_display_information() argument
232 static void _isst_fact_display_information(struct isst_id *id, FILE *outf, int level, in _isst_fact_display_information() argument
325 int level = 1; in isst_ctdp_display_core_info() local
330 format_and_print(outf, level++, header, NULL); in isst_ctdp_display_core_info()
333 format_and_print(outf, level++, header, NULL); in isst_ctdp_display_core_info()
335 format_and_print(outf, level++, header, NULL); in isst_ctdp_display_core_info()
337 format_and_print(outf, level++, header, NULL); in isst_ctdp_display_core_info()
346 format_and_print(outf, level, prefix, value); in isst_ctdp_display_core_info()
356 static int level; in isst_ctdp_display_information() local
360 level = print_package_info(id, outf); in isst_ctdp_display_information()
370 snprintf(header, sizeof(header), "perf-profile-level-%d", in isst_ctdp_display_information()
371 ctdp_level->level); in isst_ctdp_display_information()
372 format_and_print(outf, level + 1, header, NULL); in isst_ctdp_display_information()
377 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
384 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
392 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
398 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
403 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
410 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
416 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
423 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
430 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
437 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
444 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
456 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
467 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
478 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
485 level + 2); in isst_ctdp_display_information()
492 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
498 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
502 format_and_print(outf, level + 2, header, NULL); in isst_ctdp_display_information()
505 format_and_print(outf, level + 3, header, NULL); in isst_ctdp_display_information()
509 format_and_print(outf, level + 4, header, value); in isst_ctdp_display_information()
516 format_and_print(outf, level + 4, header, value); in isst_ctdp_display_information()
521 format_and_print(outf, level + 2, header, NULL); in isst_ctdp_display_information()
524 format_and_print(outf, level + 3, header, NULL); in isst_ctdp_display_information()
528 format_and_print(outf, level + 4, header, value); in isst_ctdp_display_information()
532 format_and_print(outf, level + 4, header, value); in isst_ctdp_display_information()
538 format_and_print(outf, level + 2, header, NULL); in isst_ctdp_display_information()
541 format_and_print(outf, level + 3, header, NULL); in isst_ctdp_display_information()
545 format_and_print(outf, level + 4, header, value); in isst_ctdp_display_information()
549 format_and_print(outf, level + 4, header, value); in isst_ctdp_display_information()
556 level + 2); in isst_ctdp_display_information()
560 level + 2); in isst_ctdp_display_information()
580 void isst_pbf_display_information(struct isst_id *id, FILE *outf, int level, in isst_pbf_display_information() argument
586 _isst_pbf_display_information(id, outf, level, pbf_info, _level + 1); in isst_pbf_display_information()
590 void isst_fact_display_information(struct isst_id *id, FILE *outf, int level, in isst_fact_display_information() argument
597 _isst_fact_display_information(id, outf, level, fact_bucket, fact_avx, in isst_fact_display_information()
607 int level; in isst_clos_display_information() local
609 level = print_package_info(id, outf); in isst_clos_display_information()
612 format_and_print(outf, level + 1, header, NULL); in isst_clos_display_information()
616 format_and_print(outf, level + 2, header, value); in isst_clos_display_information()
620 format_and_print(outf, level + 2, header, value); in isst_clos_display_information()
624 format_and_print(outf, level + 2, header, value); in isst_clos_display_information()
628 format_and_print(outf, level + 2, header, value); in isst_clos_display_information()
635 format_and_print(outf, level + 2, header, value); in isst_clos_display_information()
639 format_and_print(outf, level + 2, header, value); in isst_clos_display_information()
641 format_and_print(outf, level, NULL, NULL); in isst_clos_display_information()
650 int level; in isst_clos_display_clos_information() local
652 level = print_package_info(id, outf); in isst_clos_display_clos_information()
655 format_and_print(outf, level + 1, header, NULL); in isst_clos_display_clos_information()
662 format_and_print(outf, level + 2, header, value); in isst_clos_display_clos_information()
669 format_and_print(outf, level + 2, header, value); in isst_clos_display_clos_information()
676 format_and_print(outf, level + 2, header, value); in isst_clos_display_clos_information()
683 format_and_print(outf, level + 2, header, value); in isst_clos_display_clos_information()
685 format_and_print(outf, level, NULL, NULL); in isst_clos_display_clos_information()
692 int level; in isst_clos_display_assoc_information() local
694 level = print_package_info(id, outf); in isst_clos_display_assoc_information()
697 format_and_print(outf, level + 1, header, NULL); in isst_clos_display_assoc_information()
701 format_and_print(outf, level + 2, header, value); in isst_clos_display_assoc_information()
703 format_and_print(outf, level, NULL, NULL); in isst_clos_display_assoc_information()
711 int level = 3; in isst_display_result() local
714 level = print_package_info(id, outf); in isst_display_result()
717 format_and_print(outf, level + 1, header, NULL); in isst_display_result()
723 format_and_print(outf, level + 2, header, value); in isst_display_result()
725 format_and_print(outf, level, NULL, NULL); in isst_display_result()
773 int level; in isst_trl_display_information() local
775 level = print_package_info(id, outf); in isst_trl_display_information()
778 format_and_print(outf, level + 1, header, NULL); in isst_trl_display_information()
782 format_and_print(outf, level + 2, header, value); in isst_trl_display_information()
784 format_and_print(outf, level, NULL, NULL); in isst_trl_display_information()