| OLD | NEW |
| 1 #include <inttypes.h> |
| 1 #include <stdint.h> | 2 #include <stdint.h> |
| 2 #include <stdio.h> | 3 #include <stdio.h> |
| 3 | 4 |
| 4 struct BlockProfileInfo { | 5 struct BlockProfileInfo { |
| 5 uint64_t Counter; | 6 uint64_t Counter; |
| 6 const char *const BlockName; | 7 const char *const BlockName; |
| 7 } __attribute__((aligned(8))); | 8 } __attribute__((aligned(8))); |
| 8 | 9 |
| 9 extern const struct BlockProfileInfo *__Sz_block_profile_info; | 10 extern const struct BlockProfileInfo *__Sz_block_profile_info; |
| 10 | 11 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 " " | 47 " " |
| 47 "__________________________________________________________________________" | 48 "__________________________________________________________________________" |
| 48 "____________________________\n" | 49 "____________________________\n" |
| 49 "\n" | 50 "\n" |
| 50 "\n"; | 51 "\n"; |
| 51 | 52 |
| 52 void __Sz_profile_summary() { | 53 void __Sz_profile_summary() { |
| 53 printf("%s", SubzeroLogo); | 54 printf("%s", SubzeroLogo); |
| 54 for (const struct BlockProfileInfo **curr = &__Sz_block_profile_info; | 55 for (const struct BlockProfileInfo **curr = &__Sz_block_profile_info; |
| 55 *curr != NULL; ++curr) { | 56 *curr != NULL; ++curr) { |
| 56 printf("%lld\t%s\n", (*curr)->Counter, (*curr)->BlockName); | 57 printf("%" PRIu64 "\t%s\n", (*curr)->Counter, (*curr)->BlockName); |
| 57 } | 58 } |
| 58 fflush(stdout); | 59 fflush(stdout); |
| 59 } | 60 } |
| OLD | NEW |