Changes in uspace/app/perf/perf.h [e131833c:d5caf79] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/perf/perf.h
re131833c rd5caf79 37 37 38 38 #include <stdbool.h> 39 #include <perf.h> 39 40 40 typedef const char *(*benchmark_entry_t)(void); 41 typedef bool (*benchmark_entry_t)(stopwatch_t *, uint64_t, 42 char *, size_t); 43 typedef bool (*benchmark_helper_t)(char *, size_t); 41 44 42 45 typedef struct { … … 44 47 const char *desc; 45 48 benchmark_entry_t entry; 49 benchmark_helper_t setup; 50 benchmark_helper_t teardown; 46 51 } benchmark_t; 47 48 extern const char *bench_malloc1(void);49 extern const char *bench_malloc2(void);50 extern const char *bench_ns_ping(void);51 extern const char *bench_ping_pong(void);52 53 extern benchmark_t benchmarks[];54 52 55 53 #endif
Note:
See TracChangeset
for help on using the changeset viewer.