Changeset a787081 in mainline
- Timestamp:
- 2019-01-06T22:33:17Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ebb0835
- Parents:
- 77b01fe
- Location:
- uspace/app/hbench
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/hbench/benchlist.c
r77b01fe ra787081 39 39 40 40 benchmark_t *benchmarks[] = { 41 &bench _dir_read,42 &bench _file_read,43 &bench _malloc1,44 &bench _malloc2,45 &bench _ns_ping,46 &bench _ping_pong41 &benchmark_dir_read, 42 &benchmark_file_read, 43 &benchmark_malloc1, 44 &benchmark_malloc2, 45 &benchmark_ns_ping, 46 &benchmark_ping_pong 47 47 }; 48 48 -
uspace/app/hbench/fs/dirread.c
r77b01fe ra787081 69 69 } 70 70 71 benchmark_t bench _dir_read = {71 benchmark_t benchmark_dir_read = { 72 72 .name = "dir_read", 73 73 .desc = "Read contents of a directory (use 'dirname' param to alter the default).", -
uspace/app/hbench/fs/fileread.c
r77b01fe ra787081 95 95 } 96 96 97 benchmark_t bench _file_read = {97 benchmark_t benchmark_file_read = { 98 98 .name = "file_read", 99 99 .desc = "Sequentially read contents of a file (use 'filename' param to alter the default).", -
uspace/app/hbench/hbench.h
r77b01fe ra787081 66 66 67 67 /* Put your benchmark descriptors here (and also to benchlist.c). */ 68 extern benchmark_t bench _dir_read;69 extern benchmark_t bench _file_read;70 extern benchmark_t bench _malloc1;71 extern benchmark_t bench _malloc2;72 extern benchmark_t bench _ns_ping;73 extern benchmark_t bench _ping_pong;68 extern benchmark_t benchmark_dir_read; 69 extern benchmark_t benchmark_file_read; 70 extern benchmark_t benchmark_malloc1; 71 extern benchmark_t benchmark_malloc2; 72 extern benchmark_t benchmark_ns_ping; 73 extern benchmark_t benchmark_ping_pong; 74 74 75 75 #endif -
uspace/app/hbench/ipc/ns_ping.c
r77b01fe ra787081 59 59 } 60 60 61 benchmark_t bench _ns_ping = {61 benchmark_t benchmark_ns_ping = { 62 62 .name = "ns_ping", 63 63 .desc = "Name service IPC ping-pong benchmark", -
uspace/app/hbench/ipc/ping_pong.c
r77b01fe ra787081 80 80 } 81 81 82 benchmark_t bench _ping_pong = {82 benchmark_t benchmark_ping_pong = { 83 83 .name = "ping_pong", 84 84 .desc = "IPC ping-pong benchmark", -
uspace/app/hbench/malloc/malloc1.c
r77b01fe ra787081 55 55 } 56 56 57 benchmark_t bench _malloc1 = {57 benchmark_t benchmark_malloc1 = { 58 58 .name = "malloc1", 59 59 .desc = "User-space memory allocator benchmark, repeatedly allocate one block", -
uspace/app/hbench/malloc/malloc2.c
r77b01fe ra787081 72 72 } 73 73 74 benchmark_t bench _malloc2 = {74 benchmark_t benchmark_malloc2 = { 75 75 .name = "malloc2", 76 76 .desc = "User-space memory allocator benchmark, allocate many small blocks",
Note:
See TracChangeset
for help on using the changeset viewer.