Changeset d5caf79 in mainline for uspace/app/perf/malloc/malloc2.c
- Timestamp:
- 2018-12-28T13:56:05Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 980611d5
- Parents:
- c7de81b
- git-author:
- Vojtech Horky <vojtech.horky@…> (2018-12-28 13:54:23)
- git-committer:
- Vojtech Horky <vojtech.horky@…> (2018-12-28 13:56:05)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/perf/malloc/malloc2.c
rc7de81b rd5caf79 29 29 #include <stdlib.h> 30 30 #include <stdio.h> 31 #include "../benchlist.h" 31 32 #include "../perf.h" 32 33 33 bool bench_malloc2(stopwatch_t *stopwatch, uint64_t niter,34 static bool runner(stopwatch_t *stopwatch, uint64_t niter, 34 35 char *error, size_t error_size) 35 36 { … … 67 68 return true; 68 69 } 70 71 benchmark_t bench_malloc2 = { 72 .name = "malloc2", 73 .desc = "User-space memory allocator benchmark, allocate many small blocks", 74 .entry = &runner, 75 .setup = NULL, 76 .teardown = NULL 77 };
Note:
See TracChangeset
for help on using the changeset viewer.