Changeset 1433ecda in mainline for uspace/app/rcubench/rcubench.c


Ignore:
Timestamp:
2018-04-04T15:42:37Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2c4e1cc
Parents:
47b2d7e3
Message:

Fix cstyle: make ccheck-fix and commit only files where all the changes are good.

File:
1 edited

Legend:

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

    r47b2d7e3 r1433ecda  
    107107static void thread_func(void *arg)
    108108{
    109         bench_t *bench = (bench_t*)arg;
     109        bench_t *bench = (bench_t *)arg;
    110110
    111111        bench->func(bench);
     
    165165}
    166166
    167 static void print_res(const char *fmt, ... )
     167static void print_res(const char *fmt, ...)
    168168{
    169169        va_list args;
     
    194194
    195195static bool parse_cmd_line(int argc, char **argv, bench_t *bench,
    196         const char **err)
     196    const char **err)
    197197{
    198198        if (argc < 4) {
     
    257257
    258258        print_res("Running '%s' futex bench in '%zu' threads with '%zu' iterations.\n",
    259                 bench.name, bench.nthreads, bench.iters);
     259            bench.name, bench.nthreads, bench.iters);
    260260
    261261        struct timeval start, end;
     
    276276
    277277        print_res("Completed %" PRIu64 " iterations in %" PRId64  " usecs (%" PRIu64
    278                 " secs); %" PRIu64 " iters/sec\n",
    279                 total_iters, duration, secs, iters_per_sec);
     278            " secs); %" PRIu64 " iters/sec\n",
     279            total_iters, duration, secs, iters_per_sec);
    280280
    281281        close_results();
Note: See TracChangeset for help on using the changeset viewer.