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