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()
191 static void _isst_pbf_display_information(int cpu, FILE *outf, int level, in _isst_pbf_display_information() argument
234 static void _isst_fact_display_information(int cpu, FILE *outf, int level, in _isst_fact_display_information() argument
327 int level = 1; in isst_ctdp_display_core_info() local
333 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()
340 format_and_print(outf, level++, header, NULL); in isst_ctdp_display_core_info()
342 format_and_print(outf, level++, header, NULL); in isst_ctdp_display_core_info()
351 format_and_print(outf, level, prefix, value); in isst_ctdp_display_core_info()
361 static int level; in isst_ctdp_display_information() local
365 level = print_package_info(cpu, outf); in isst_ctdp_display_information()
375 snprintf(header, sizeof(header), "perf-profile-level-%d", in isst_ctdp_display_information()
376 ctdp_level->level); in isst_ctdp_display_information()
377 format_and_print(outf, level + 1, header, NULL); in isst_ctdp_display_information()
383 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()
398 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
404 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
409 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()
422 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
429 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
436 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
443 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
450 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
462 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
473 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
484 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
491 level + 2); in isst_ctdp_display_information()
498 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
504 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
508 format_and_print(outf, level + 2, header, NULL); in isst_ctdp_display_information()
511 format_and_print(outf, level + 3, header, NULL); in isst_ctdp_display_information()
515 format_and_print(outf, level + 4, header, value); in isst_ctdp_display_information()
522 format_and_print(outf, level + 4, header, value); in isst_ctdp_display_information()
527 format_and_print(outf, level + 2, header, NULL); in isst_ctdp_display_information()
530 format_and_print(outf, level + 3, header, NULL); in isst_ctdp_display_information()
534 format_and_print(outf, level + 4, header, value); in isst_ctdp_display_information()
538 format_and_print(outf, level + 4, header, value); in isst_ctdp_display_information()
544 format_and_print(outf, level + 2, header, NULL); in isst_ctdp_display_information()
547 format_and_print(outf, level + 3, header, NULL); in isst_ctdp_display_information()
551 format_and_print(outf, level + 4, header, value); in isst_ctdp_display_information()
555 format_and_print(outf, level + 4, header, value); in isst_ctdp_display_information()
562 level + 2); in isst_ctdp_display_information()
566 level + 2); in isst_ctdp_display_information()
586 void isst_pbf_display_information(int cpu, FILE *outf, int level, in isst_pbf_display_information() argument
592 _isst_pbf_display_information(cpu, outf, level, pbf_info, _level + 1); in isst_pbf_display_information()
596 void isst_fact_display_information(int cpu, FILE *outf, int level, in isst_fact_display_information() argument
603 _isst_fact_display_information(cpu, outf, level, fact_bucket, fact_avx, in isst_fact_display_information()
613 int level; in isst_clos_display_information() local
615 level = print_package_info(cpu, outf); in isst_clos_display_information()
618 format_and_print(outf, level + 1, header, NULL); 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()
630 format_and_print(outf, level + 2, header, value); in isst_clos_display_information()
634 format_and_print(outf, level + 2, header, value); in isst_clos_display_information()
641 format_and_print(outf, level + 2, header, value); in isst_clos_display_information()
645 format_and_print(outf, level + 2, header, value); in isst_clos_display_information()
647 format_and_print(outf, level, NULL, NULL); in isst_clos_display_information()
656 int level; in isst_clos_display_clos_information() local
658 level = print_package_info(cpu, outf); in isst_clos_display_clos_information()
661 format_and_print(outf, level + 1, header, NULL); in isst_clos_display_clos_information()
668 format_and_print(outf, level + 2, header, value); in isst_clos_display_clos_information()
675 format_and_print(outf, level + 2, header, value); in isst_clos_display_clos_information()
682 format_and_print(outf, level + 2, header, value); in isst_clos_display_clos_information()
689 format_and_print(outf, level + 2, header, value); in isst_clos_display_clos_information()
691 format_and_print(outf, level, NULL, NULL); in isst_clos_display_clos_information()
698 int level; in isst_clos_display_assoc_information() local
700 level = print_package_info(cpu, outf); in isst_clos_display_assoc_information()
703 format_and_print(outf, level + 1, header, NULL); in isst_clos_display_assoc_information()
707 format_and_print(outf, level + 2, header, value); in isst_clos_display_assoc_information()
709 format_and_print(outf, level, NULL, NULL); in isst_clos_display_assoc_information()
717 int level = 3; in isst_display_result() local
720 level = print_package_info(cpu, outf); in isst_display_result()
723 format_and_print(outf, level + 1, header, NULL); in isst_display_result()
729 format_and_print(outf, level + 2, header, value); in isst_display_result()
731 format_and_print(outf, level, NULL, NULL); in isst_display_result()