Changeset c2db02a in mainline


Ignore:
Timestamp:
2019-01-09T08:27:21Z (5 years ago)
Author:
Vojtech Horky <vojtech.horky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5fbc1f9
Parents:
ebb0835
Message:

hbench: add fibril_mutex benchmark

Not very sophisticated but not completely unreasonable.

Location:
uspace/app/hbench
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/hbench/Makefile

    rebb0835 rc2db02a  
    4343        ipc/ping_pong.c \
    4444        malloc/malloc1.c \
    45         malloc/malloc2.c
     45        malloc/malloc2.c \
     46        synch/fibril_mutex.c
    4647
    4748include $(USPACE_PREFIX)/Makefile.common
  • uspace/app/hbench/benchlist.c

    rebb0835 rc2db02a  
    4040benchmark_t *benchmarks[] = {
    4141        &benchmark_dir_read,
     42        &benchmark_fibril_mutex,
    4243        &benchmark_file_read,
    4344        &benchmark_malloc1,
  • uspace/app/hbench/hbench.h

    rebb0835 rc2db02a  
    9191/* Put your benchmark descriptors here (and also to benchlist.c). */
    9292extern benchmark_t benchmark_dir_read;
     93extern benchmark_t benchmark_fibril_mutex;
    9394extern benchmark_t benchmark_file_read;
    9495extern benchmark_t benchmark_malloc1;
Note: See TracChangeset for help on using the changeset viewer.