Changeset d926f42 in mainline for uspace/app/hbench/hbench.h
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note:
See TracChangeset
for help on using the changeset viewer.