Changeset d17cf8c in mainline for uspace/app/hbench/ipc/ns_ping.c


Ignore:
Timestamp:
2019-01-21T13:39:37Z (5 years ago)
Author:
Vojtech Horky <vojtech.horky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
94d52d5
Parents:
e7f9a09
Message:

hbench: remove global state

Move benchmark parameters into a benchmark environment structure that is
passed to each benchmark.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/hbench/ipc/ns_ping.c

    re7f9a09 rd17cf8c  
    3838#include "../hbench.h"
    3939
    40 static bool runner(bench_run_t *run, uint64_t niter)
     40static bool runner(bench_env_t *env, bench_run_t *run, uint64_t niter)
    4141{
    4242        bench_run_start(run);
Note: See TracChangeset for help on using the changeset viewer.