Changeset d926f42 in mainline
- Timestamp:
- 2019-01-06T22:28:51Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 77b01fe
- Parents:
- fe656783
- git-author:
- Vojtech Horky <vojtech.horky@…> (2019-01-06 22:26:12)
- git-committer:
- Vojtech Horky <vojtech.horky@…> (2019-01-06 22:28:51)
- Location:
- uspace/app/hbench
- Files:
-
- 3 deleted
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/hbench/benchlist.c
rfe656783 rd926f42 36 36 37 37 #include <stdlib.h> 38 #include " benchlist.h"38 #include "hbench.h" 39 39 40 40 benchmark_t *benchmarks[] = { -
uspace/app/hbench/csv.c
rfe656783 rd926f42 35 35 36 36 #include <stdlib.h> 37 #include "csv.h" 37 #include <stdio.h> 38 #include "hbench.h" 38 39 39 40 static FILE *csv_output = NULL; -
uspace/app/hbench/fs/dirread.c
rfe656783 rd926f42 36 36 #include <stdio.h> 37 37 #include <stdlib.h> 38 #include "../benchlist.h"39 38 #include "../hbench.h" 40 #include "../params.h"41 39 42 40 /* -
uspace/app/hbench/fs/fileread.c
rfe656783 rd926f42 35 35 #include <stdio.h> 36 36 #include <stdlib.h> 37 #include "../benchlist.h"38 37 #include "../hbench.h" 39 #include "../params.h"40 38 41 39 #define BUFFER_SIZE 4096 -
uspace/app/hbench/hbench.h
rfe656783 rd926f42 1 1 /* 2 2 * Copyright (c) 2018 Jiri Svoboda 3 * Copyright (c) 2019 Vojtech Horky 3 4 * All rights reserved. 4 5 * … … 36 37 #define HBENCH_H_ 37 38 39 #include <errno.h> 38 40 #include <stdbool.h> 39 41 #include <perf.h> … … 51 53 } benchmark_t; 52 54 55 extern benchmark_t *benchmarks[]; 56 extern size_t benchmark_count; 57 58 extern errno_t csv_report_open(const char *); 59 extern void csv_report_add_entry(stopwatch_t *, int, benchmark_t *, uint64_t); 60 extern void csv_report_close(void); 61 62 extern errno_t bench_param_init(void); 63 extern errno_t bench_param_set(const char *, const char *); 64 extern const char *bench_param_get(const char *, const char *); 65 extern void bench_param_cleanup(void); 66 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; 74 53 75 #endif 54 76 -
uspace/app/hbench/ipc/ns_ping.c
rfe656783 rd926f42 32 32 #include <errno.h> 33 33 #include <str_error.h> 34 #include "../benchlist.h"35 34 #include "../hbench.h" 36 35 -
uspace/app/hbench/ipc/ping_pong.c
rfe656783 rd926f42 32 32 #include <errno.h> 33 33 #include <str_error.h> 34 #include "../benchlist.h"35 34 #include "../hbench.h" 36 35 -
uspace/app/hbench/main.c
rfe656783 rd926f42 47 47 #include <perf.h> 48 48 #include <types/casting.h> 49 #include "benchlist.h"50 #include "csv.h"51 49 #include "hbench.h" 52 #include "params.h"53 50 54 51 #define MIN_DURATION_SECS 10 -
uspace/app/hbench/malloc/malloc1.c
rfe656783 rd926f42 30 30 #include <stdio.h> 31 31 #include <stdlib.h> 32 #include "../benchlist.h"33 32 #include "../hbench.h" 34 33 -
uspace/app/hbench/malloc/malloc2.c
rfe656783 rd926f42 29 29 #include <stdlib.h> 30 30 #include <stdio.h> 31 #include "../benchlist.h"32 31 #include "../hbench.h" 33 32 -
uspace/app/hbench/params.c
rfe656783 rd926f42 38 38 #include <stdio.h> 39 39 #include <str.h> 40 #include " params.h"40 #include "hbench.h" 41 41 42 42 typedef struct {
Note:
See TracChangeset
for help on using the changeset viewer.