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

Changeset fe656783 in mainline


Ignore:
Timestamp:
2019-01-06T22:19:21Z (2 years ago)
Author:
Vojtech Horky <vojtech.horky@…>
Branches:
lfn, master
Children:
d926f42
Parents:
1bad5fd
git-author:
Vojtech Horky <vojtech.horky@…> (2019-01-06 22:13:04)
git-committer:
Vojtech Horky <vojtech.horky@…> (2019-01-06 22:19:21)
Message:

Rename perf to hbench

The main reason for the rename is that perf (and performance measuring
tool description) suggests that perf is a generic tool for measuring
performance of other applications. But it is actually a set of
benchmarks for measuring internal parts of HelenOS (libc, IPC, etc.).

Furthermore, perf is a well-known program in GNU/Linux world with
completely different purpose and there really is no reason why to
confuse the users.

The new name hopefully better suggests that the tool is a set of
benchmarks for HelenOS (hence the name (H)elenOS (bench)marks).

Files:
3 edited
16 moved

Legend:

Unmodified
Added
Removed
  • .gitignore

    r1bad5fd rfe656783  
    106106uspace/app/getterm/getterm
    107107uspace/app/gunzip/gunzip
     108uspace/app/hbench/hbench
    108109uspace/app/inet/inet
    109110uspace/app/init/init
     
    130131uspace/app/nterm/nterm
    131132uspace/app/pci/pci
    132 uspace/app/perf/perf
    133133uspace/app/ping/ping
    134134uspace/app/ping6/ping6
  • boot/Makefile.common

    r1bad5fd rfe656783  
    178178        fdisk \
    179179        gunzip \
     180        hbench \
    180181        inet \
    181182        kill \
     
    191192        mkmfs \
    192193        nic \
    193         perf \
    194194        sbi \
    195195        sportdmp \
  • uspace/Makefile

    r1bad5fd rfe656783  
    5050        app/getterm \
    5151        app/gunzip \
     52        app/hbench \
    5253        app/init \
    5354        app/inet \
     
    6768        app/nterm \
    6869        app/pci \
    69         app/perf \
    7070        app/redir \
    7171        app/sbi \
  • uspace/app/hbench/Makefile

    r1bad5fd rfe656783  
    3131LIBS = math
    3232
    33 BINARY = perf
     33BINARY = hbench
    3434
    3535SOURCES = \
    3636        benchlist.c \
    3737        csv.c \
     38        main.c \
    3839        params.c \
    39         perf.c \
    4040        fs/dirread.c \
    4141        fs/fileread.c \
  • uspace/app/hbench/benchlist.c

    r1bad5fd rfe656783  
    2828 */
    2929
    30 /** @addtogroup perf
     30/** @addtogroup hbench
    3131 * @{
    3232 */
  • uspace/app/hbench/benchlist.h

    r1bad5fd rfe656783  
    2828 */
    2929
    30 /** @addtogroup perf
     30/** @addtogroup hbench
    3131 * @{
    3232 */
     
    3737#define BENCHLIST_H_
    3838
    39 #include "perf.h"
     39#include "hbench.h"
    4040
    4141extern benchmark_t bench_dir_read;
  • uspace/app/hbench/csv.c

    r1bad5fd rfe656783  
    2727 */
    2828
    29 /** @addtogroup perf
     29/** @addtogroup hbench
    3030 * @{
    3131 */
  • uspace/app/hbench/csv.h

    r1bad5fd rfe656783  
    2727 */
    2828
    29 /** @addtogroup perf
     29/** @addtogroup hbench
    3030 * @{
    3131 */
     
    3939#include <stdio.h>
    4040#include <perf.h>
    41 #include "perf.h"
     41#include "hbench.h"
    4242
    4343extern errno_t csv_report_open(const char *);
  • uspace/app/hbench/doc/doxygroups.h

    r1bad5fd rfe656783  
    1 /** @addtogroup perf perf
    2  * @brief User space performance measuring tool
     1/** @addtogroup hbench hbench
     2 * @brief HelenOS user space benchmarks
    33 * @ingroup apps
    44 *
  • uspace/app/hbench/fs/dirread.c

    r1bad5fd rfe656783  
    2828 */
    2929
    30 /** @addtogroup perf
     30/** @addtogroup hbench
    3131 * @{
    3232 */
     
    3737#include <stdlib.h>
    3838#include "../benchlist.h"
    39 #include "../perf.h"
     39#include "../hbench.h"
    4040#include "../params.h"
    4141
  • uspace/app/hbench/fs/fileread.c

    r1bad5fd rfe656783  
    2828 */
    2929
    30 /** @addtogroup perf
     30/** @addtogroup hbench
    3131 * @{
    3232 */
     
    3636#include <stdlib.h>
    3737#include "../benchlist.h"
    38 #include "../perf.h"
     38#include "../hbench.h"
    3939#include "../params.h"
    4040
  • uspace/app/hbench/hbench.h

    r1bad5fd rfe656783  
    2727 */
    2828
    29 /** @addtogroup perf
     29/** @addtogroup hbench
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef PERF_H_
    36 #define PERF_H_
     35#ifndef HBENCH_H_
     36#define HBENCH_H_
    3737
    3838#include <stdbool.h>
  • uspace/app/hbench/ipc/ns_ping.c

    r1bad5fd rfe656783  
    3333#include <str_error.h>
    3434#include "../benchlist.h"
    35 #include "../perf.h"
     35#include "../hbench.h"
    3636
    3737static bool runner(stopwatch_t *stopwatch, uint64_t niter,
  • uspace/app/hbench/ipc/ping_pong.c

    r1bad5fd rfe656783  
    3333#include <str_error.h>
    3434#include "../benchlist.h"
    35 #include "../perf.h"
     35#include "../hbench.h"
    3636
    3737static ipc_test_t *test = NULL;
  • uspace/app/hbench/main.c

    r1bad5fd rfe656783  
    2828 */
    2929
    30 /** @addtogroup perf
     30/** @addtogroup hbench
    3131 * @{
    3232 */
     
    4949#include "benchlist.h"
    5050#include "csv.h"
     51#include "hbench.h"
    5152#include "params.h"
    52 #include "perf.h"
    5353
    5454#define MIN_DURATION_SECS 10
  • uspace/app/hbench/malloc/malloc1.c

    r1bad5fd rfe656783  
    3131#include <stdlib.h>
    3232#include "../benchlist.h"
    33 #include "../perf.h"
     33#include "../hbench.h"
    3434
    3535static bool runner(stopwatch_t *stopwatch, uint64_t size,
  • uspace/app/hbench/malloc/malloc2.c

    r1bad5fd rfe656783  
    3030#include <stdio.h>
    3131#include "../benchlist.h"
    32 #include "../perf.h"
     32#include "../hbench.h"
    3333
    3434static bool runner(stopwatch_t *stopwatch, uint64_t niter,
  • uspace/app/hbench/params.c

    r1bad5fd rfe656783  
    2727 */
    2828
    29 /** @addtogroup perf
     29/** @addtogroup hbench
    3030 * @{
    3131 */
  • uspace/app/hbench/params.h

    r1bad5fd rfe656783  
    2727 */
    2828
    29 /** @addtogroup perf
     29/** @addtogroup hbench
    3030 * @{
    3131 */
Note: See TracChangeset for help on using the changeset viewer.