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()
172 int level = 1; in print_package_info() local
188 format_and_print(outf, level, header, NULL); in print_package_info()
192 format_and_print(outf, level++, header, NULL); in print_package_info()
194 format_and_print(outf, level++, header, NULL); in print_package_info()
197 format_and_print(outf, level++, header, NULL); in print_package_info()
205 format_and_print(outf, level, header, NULL); in print_package_info()
207 return level; in print_package_info()
210 static void _isst_pbf_display_information(struct isst_id *id, FILE *outf, int level, in _isst_pbf_display_information() argument
253 static void _isst_fact_display_information(struct isst_id *id, FILE *outf, int level, in _isst_fact_display_information() argument
319 /* No AVX level name for SSE to be consistent with previous formatting */ in _isst_fact_display_information()
335 int level = print_package_info(id, outf); in isst_ctdp_display_core_info() local
337 level++; in isst_ctdp_display_core_info()
345 format_and_print(outf, level, prefix, value); in isst_ctdp_display_core_info()
355 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()
378 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
385 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
393 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
399 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
405 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
412 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
418 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
425 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
432 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
439 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
446 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
453 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
460 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()
479 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
490 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
501 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
508 level + 2); in isst_ctdp_display_information()
515 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
521 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
529 format_and_print(outf, level + 2, header, NULL); in isst_ctdp_display_information()
533 format_and_print(outf, level + 3, header, NULL); in isst_ctdp_display_information()
538 format_and_print(outf, level + 4, header, value); in isst_ctdp_display_information()
542 format_and_print(outf, level + 4, header, value); in isst_ctdp_display_information()
549 level + 2); in isst_ctdp_display_information()
553 level + 2); in isst_ctdp_display_information()
573 void isst_pbf_display_information(struct isst_id *id, FILE *outf, int level, in isst_pbf_display_information() argument
579 _isst_pbf_display_information(id, outf, level, pbf_info, _level + 1); in isst_pbf_display_information()
583 void isst_fact_display_information(struct isst_id *id, FILE *outf, int level, in isst_fact_display_information() argument
590 _isst_fact_display_information(id, outf, level, fact_bucket, fact_avx, in isst_fact_display_information()
600 int level; in isst_clos_display_information() local
602 level = print_package_info(id, outf); in isst_clos_display_information()
605 format_and_print(outf, level + 1, header, NULL); in isst_clos_display_information()
609 format_and_print(outf, level + 2, header, value); in isst_clos_display_information()
613 format_and_print(outf, level + 2, header, value); in isst_clos_display_information()
617 format_and_print(outf, level + 2, header, value); in isst_clos_display_information()
621 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()
632 format_and_print(outf, level + 2, header, value); in isst_clos_display_information()
634 format_and_print(outf, level, NULL, NULL); in isst_clos_display_information()
643 int level; in isst_clos_display_clos_information() local
645 level = print_package_info(id, outf); in isst_clos_display_clos_information()
648 format_and_print(outf, level + 1, header, NULL); in isst_clos_display_clos_information()
655 format_and_print(outf, level + 2, header, value); 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()
678 format_and_print(outf, level, NULL, NULL); in isst_clos_display_clos_information()
685 int level; in isst_clos_display_assoc_information() local
687 level = print_package_info(id, outf); in isst_clos_display_assoc_information()
690 format_and_print(outf, level + 1, header, NULL); in isst_clos_display_assoc_information()
694 format_and_print(outf, level + 2, header, value); in isst_clos_display_assoc_information()
696 format_and_print(outf, level, NULL, NULL); in isst_clos_display_assoc_information()
704 int level = 3; in isst_display_result() local
706 level = print_package_info(id, outf); in isst_display_result()
709 format_and_print(outf, level + 1, header, NULL); in isst_display_result()
715 format_and_print(outf, level + 2, header, value); in isst_display_result()
717 format_and_print(outf, level, NULL, NULL); in isst_display_result()
765 int level; in isst_trl_display_information() local
767 level = print_package_info(id, outf); in isst_trl_display_information()
770 format_and_print(outf, level + 1, header, NULL); in isst_trl_display_information()
774 format_and_print(outf, level + 2, header, value); in isst_trl_display_information()
776 format_and_print(outf, level, NULL, NULL); in isst_trl_display_information()