Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 13b1b48 in mainline


Ignore:
Timestamp:
2019-01-04T15:46:42Z (2 years ago)
Author:
Vojtech Horky <vojtech.horky@…>
Branches:
lfn, master
Children:
1bad5fd
Parents:
f85546d
git-author:
Vojtech Horky <vojtech.horky@…> (2019-01-04 15:02:37)
git-committer:
Vojtech Horky <vojtech.horky@…> (2019-01-04 15:46:42)
Message:

perf: add benchmarks from bnchmark application

Probably it should be the other way around as bnchmark is in HelenOS for
quite some time but perf has better infrastructure as of now.

Note that these benchmarks are rather weak in terms of what they
benchmark (despite their name they actually benchmark FS caching).

Location:
uspace/app/perf
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/perf/Makefile

    rf85546d r13b1b48  
    3838        params.c \
    3939        perf.c \
     40        fs/dirread.c \
     41        fs/fileread.c \
    4042        ipc/ns_ping.c \
    4143        ipc/ping_pong.c \
  • uspace/app/perf/benchlist.c

    rf85546d r13b1b48  
    3939
    4040benchmark_t *benchmarks[] = {
     41        &bench_dir_read,
     42        &bench_file_read,
    4143        &bench_malloc1,
    4244        &bench_malloc2,
  • uspace/app/perf/benchlist.h

    rf85546d r13b1b48  
    3939#include "perf.h"
    4040
     41extern benchmark_t bench_dir_read;
     42extern benchmark_t bench_file_read;
    4143extern benchmark_t bench_malloc1;
    4244extern benchmark_t bench_malloc2;
Note: See TracChangeset for help on using the changeset viewer.