Changeset 79bb48e in mainline for uspace/app/perf/perf.c


Ignore:
Timestamp:
2019-01-02T13:50:36Z (5 years ago)
Author:
Vojtech Horky <vojtech.horky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b4a4ad94
Parents:
858469f
Message:

perf: use the right type

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/perf/perf.c

    r858469f r79bb48e  
    5252
    5353static void short_report(stopwatch_t *stopwatch, int run_index,
    54     benchmark_t *bench, size_t workload_size)
     54    benchmark_t *bench, uint64_t workload_size)
    5555{
    5656        usec_t duration_usec = NSEC2USEC(stopwatch_get_nanos(stopwatch));
    5757
    58         printf("Completed %zu operations in %llu us",
     58        printf("Completed %" PRIu64 " operations in %llu us",
    5959            workload_size, duration_usec);
    6060        if (duration_usec > 0) {
     
    6868
    6969static void summary_stats(stopwatch_t *stopwatch, size_t stopwatch_count,
    70     benchmark_t *bench, size_t workload_size)
     70    benchmark_t *bench, uint64_t workload_size)
    7171{
    7272        double sum = 0.0;
Note: See TracChangeset for help on using the changeset viewer.