Changeset 7812a7b5 for libcfa/src/concurrency/stats.cfa
- Timestamp:
- Jun 30, 2020, 1:21:39 PM (3 years ago)
- Branches:
- arm-eh, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 398e8e9, 9f7fff4
- Parents:
- bdce852
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/stats.cfa
rbdce852 r7812a7b5 3 3 4 4 #include <unistd.h> // STDERR_FILENO 5 #include <inttypes.h> 5 6 #include "bits/debug.hfa" 6 7 #include "stats.hfa" … … 90 91 __cfaabi_bits_print_safe( STDOUT_FILENO, 91 92 "----- %s \"%s\" (%p) - Ready Q Stats -----\n" 92 "- total threads run : %'15 lu\n"93 "- total threads scheduled: %'15 lu\n"94 "- push average probe len : %'18.2lf, %'18.2lf%% (%'15 luattempts)\n"95 "- pop average probe len : %'18.2lf, %'18.2lf%% (%'15 luattempts)\n"96 "- local push avg prb len : %'18.2lf, %'18.2lf%% (%'15 luattempts)\n"97 "- local pop avg prb len : %'18.2lf, %'18.2lf%% (%'15 luattempts)\n"98 "- thread migrations : %'15 lu\n"93 "- total threads run : %'15" PRIu64 "\n" 94 "- total threads scheduled: %'15" PRIu64 "\n" 95 "- push average probe len : %'18.2lf, %'18.2lf%% (%'15" PRIu64 " attempts)\n" 96 "- pop average probe len : %'18.2lf, %'18.2lf%% (%'15" PRIu64 " attempts)\n" 97 "- local push avg prb len : %'18.2lf, %'18.2lf%% (%'15" PRIu64 " attempts)\n" 98 "- local pop avg prb len : %'18.2lf, %'18.2lf%% (%'15" PRIu64 " attempts)\n" 99 "- thread migrations : %'15" PRIu64 "\n" 99 100 "- Idle Sleep -\n" 100 "-- halts : %'15 lu\n"101 "-- cancelled halts : %'15 lu\n"102 "-- schedule wake : %'15 lu\n"103 "-- wake on exit : %'15 lu\n"101 "-- halts : %'15" PRIu64 "\n" 102 "-- cancelled halts : %'15" PRIu64 "\n" 103 "-- schedule wake : %'15" PRIu64 "\n" 104 "-- wake on exit : %'15" PRIu64 "\n" 104 105 "\n" 105 106 , cluster ? "Cluster" : "Processor", name, id … … 137 138 __cfaabi_bits_print_safe( STDOUT_FILENO, 138 139 "----- %s \"%s\" (%p) - I/O Stats -----\n" 139 "- total submit calls : %'15 lu\n"140 "- total submit calls : %'15" PRIu64 "\n" 140 141 "- avg ready entries : %'18.2lf\n" 141 142 "- avg submitted entries : %'18.2lf\n" 142 143 "- avg available entries : %'18.2lf\n" 143 "- total ready search : %'15 lu\n"144 "- total ready search : %'15" PRIu64 "\n" 144 145 "- avg ready search len : %'18.2lf\n" 145 146 "- avg ready search block : %'18.2lf\n" 146 "- total alloc search : %'15 lu\n"147 "- total alloc search : %'15" PRIu64 "\n" 147 148 "- avg alloc search len : %'18.2lf\n" 148 149 "- avg alloc search block : %'18.2lf\n" 149 "- total wait calls : %'15 lu (%'lu slow, %'lufast)\n"150 "- total wait calls : %'15" PRIu64 " (%'" PRIu64 " slow, %'" PRIu64 " fast)\n" 150 151 "- avg completion/wait : %'18.2lf\n" 151 152 "\n"
Note: See TracChangeset
for help on using the changeset viewer.