Ignore:
Timestamp:
Jun 30, 2020, 1:21:39 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
398e8e9, 9f7fff4
Parents:
bdce852
Message:

Fixed errors and warning with x86 build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/stats.cfa

    rbdce852 r7812a7b5  
    33
    44#include <unistd.h>                                                             // STDERR_FILENO
     5#include <inttypes.h>
    56#include "bits/debug.hfa"
    67#include "stats.hfa"
     
    9091                        __cfaabi_bits_print_safe( STDOUT_FILENO,
    9192                                "----- %s \"%s\" (%p) - Ready Q Stats -----\n"
    92                                 "- total threads run      : %'15lu\n"
    93                                 "- total threads scheduled: %'15lu\n"
    94                                 "- push average probe len : %'18.2lf, %'18.2lf%% (%'15lu attempts)\n"
    95                                 "- pop  average probe len : %'18.2lf, %'18.2lf%% (%'15lu attempts)\n"
    96                                 "- local push avg prb len : %'18.2lf, %'18.2lf%% (%'15lu attempts)\n"
    97                                 "- local pop  avg prb len : %'18.2lf, %'18.2lf%% (%'15lu attempts)\n"
    98                                 "- thread migrations      : %'15lu\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"
    99100                                "- Idle Sleep -\n"
    100                                 "-- halts                 : %'15lu\n"
    101                                 "-- cancelled halts       : %'15lu\n"
    102                                 "-- schedule wake         : %'15lu\n"
    103                                 "-- wake on exit          : %'15lu\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"
    104105                                "\n"
    105106                                , cluster ? "Cluster" : "Processor",  name, id
     
    137138                                __cfaabi_bits_print_safe( STDOUT_FILENO,
    138139                                        "----- %s \"%s\" (%p) - I/O Stats -----\n"
    139                                         "- total submit calls     : %'15lu\n"
     140                                        "- total submit calls     : %'15" PRIu64 "\n"
    140141                                        "- avg ready entries      : %'18.2lf\n"
    141142                                        "- avg submitted entries  : %'18.2lf\n"
    142143                                        "- avg available entries  : %'18.2lf\n"
    143                                         "- total ready search     : %'15lu\n"
     144                                        "- total ready search     : %'15" PRIu64 "\n"
    144145                                        "- avg ready search len   : %'18.2lf\n"
    145146                                        "- avg ready search block : %'18.2lf\n"
    146                                         "- total alloc search     : %'15lu\n"
     147                                        "- total alloc search     : %'15" PRIu64 "\n"
    147148                                        "- avg alloc search len   : %'18.2lf\n"
    148149                                        "- avg alloc search block : %'18.2lf\n"
    149                                         "- total wait calls       : %'15lu   (%'lu slow, %'lu fast)\n"
     150                                        "- total wait calls       : %'15" PRIu64 "   (%'" PRIu64 " slow, %'" PRIu64 " fast)\n"
    150151                                        "- avg completion/wait    : %'18.2lf\n"
    151152                                        "\n"
Note: See TracChangeset for help on using the changeset viewer.