Changeset bdd9e92 in mainline


Ignore:
Timestamp:
2024-04-30T13:08:15Z (6 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
7ae01d5
Parents:
522eecf
git-author:
Jiri Svoboda <jiri@…> (2024-04-29 17:08:02)
git-committer:
Jiri Svoboda <jiri@…> (2024-04-30 13:08:15)
Message:

Add random and sequential disk read benchmark

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

Legend:

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

    r522eecf rbdd9e92  
    11/*
    2  * Copyright (c) 2023 Jiri Svoboda
     2 * Copyright (c) 2024 Jiri Svoboda
    33 * Copyright (c) 2018 Vojtech Horky
    44 * All rights reserved.
     
    4242        &benchmark_fibril_mutex,
    4343        &benchmark_file_read,
     44        &benchmark_rand_read,
     45        &benchmark_seq_read,
    4446        &benchmark_malloc1,
    4547        &benchmark_malloc2,
  • uspace/app/hbench/hbench.h

    r522eecf rbdd9e92  
    11/*
    2  * Copyright (c) 2023 Jiri Svoboda
     2 * Copyright (c) 2024 Jiri Svoboda
    33 * Copyright (c) 2019 Vojtech Horky
    44 * All rights reserved.
     
    135135extern benchmark_t benchmark_fibril_mutex;
    136136extern benchmark_t benchmark_file_read;
     137extern benchmark_t benchmark_rand_read;
     138extern benchmark_t benchmark_seq_read;
    137139extern benchmark_t benchmark_malloc1;
    138140extern benchmark_t benchmark_malloc2;
  • uspace/app/hbench/meson.build

    r522eecf rbdd9e92  
    11#
    2 # Copyright (c) 2023 Jiri Svoboda
     2# Copyright (c) 2024 Jiri Svoboda
    33# All rights reserved.
    44#
     
    2727#
    2828
    29 deps = [ 'math', 'ipctest' ]
     29deps = [ 'block', 'math', 'ipctest' ]
    3030src = files(
    3131        'benchlist.c',
     
    3434        'main.c',
    3535        'utils.c',
     36        'disk/randread.c',
     37        'disk/seqread.c',
    3638        'fs/dirread.c',
    3739        'fs/fileread.c',
Note: See TracChangeset for help on using the changeset viewer.