Changeset a787081 in mainline


Ignore:
Timestamp:
2019-01-06T22:33:17Z (5 years ago)
Author:
Vojtech Horky <vojtech.horky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ebb0835
Parents:
77b01fe
Message:

hbench: do not shorten identifiers at all costs

Location:
uspace/app/hbench
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/hbench/benchlist.c

    r77b01fe ra787081  
    3939
    4040benchmark_t *benchmarks[] = {
    41         &bench_dir_read,
    42         &bench_file_read,
    43         &bench_malloc1,
    44         &bench_malloc2,
    45         &bench_ns_ping,
    46         &bench_ping_pong
     41        &benchmark_dir_read,
     42        &benchmark_file_read,
     43        &benchmark_malloc1,
     44        &benchmark_malloc2,
     45        &benchmark_ns_ping,
     46        &benchmark_ping_pong
    4747};
    4848
  • uspace/app/hbench/fs/dirread.c

    r77b01fe ra787081  
    6969}
    7070
    71 benchmark_t bench_dir_read = {
     71benchmark_t benchmark_dir_read = {
    7272        .name = "dir_read",
    7373        .desc = "Read contents of a directory (use 'dirname' param to alter the default).",
  • uspace/app/hbench/fs/fileread.c

    r77b01fe ra787081  
    9595}
    9696
    97 benchmark_t bench_file_read = {
     97benchmark_t benchmark_file_read = {
    9898        .name = "file_read",
    9999        .desc = "Sequentially read contents of a file (use 'filename' param to alter the default).",
  • uspace/app/hbench/hbench.h

    r77b01fe ra787081  
    6666
    6767/* 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;
     68extern benchmark_t benchmark_dir_read;
     69extern benchmark_t benchmark_file_read;
     70extern benchmark_t benchmark_malloc1;
     71extern benchmark_t benchmark_malloc2;
     72extern benchmark_t benchmark_ns_ping;
     73extern benchmark_t benchmark_ping_pong;
    7474
    7575#endif
  • uspace/app/hbench/ipc/ns_ping.c

    r77b01fe ra787081  
    5959}
    6060
    61 benchmark_t bench_ns_ping = {
     61benchmark_t benchmark_ns_ping = {
    6262        .name = "ns_ping",
    6363        .desc = "Name service IPC ping-pong benchmark",
  • uspace/app/hbench/ipc/ping_pong.c

    r77b01fe ra787081  
    8080}
    8181
    82 benchmark_t bench_ping_pong = {
     82benchmark_t benchmark_ping_pong = {
    8383        .name = "ping_pong",
    8484        .desc = "IPC ping-pong benchmark",
  • uspace/app/hbench/malloc/malloc1.c

    r77b01fe ra787081  
    5555}
    5656
    57 benchmark_t bench_malloc1 = {
     57benchmark_t benchmark_malloc1 = {
    5858        .name = "malloc1",
    5959        .desc = "User-space memory allocator benchmark, repeatedly allocate one block",
  • uspace/app/hbench/malloc/malloc2.c

    r77b01fe ra787081  
    7272}
    7373
    74 benchmark_t bench_malloc2 = {
     74benchmark_t benchmark_malloc2 = {
    7575        .name = "malloc2",
    7676        .desc = "User-space memory allocator benchmark, allocate many small blocks",
Note: See TracChangeset for help on using the changeset viewer.