Changeset d5caf79 in mainline for uspace/app/perf/malloc/malloc1.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/malloc1.c
rc7de81b rd5caf79 30 30 #include <stdio.h> 31 31 #include <stdlib.h> 32 #include "../benchlist.h" 32 33 #include "../perf.h" 33 34 34 bool bench_malloc1(stopwatch_t *stopwatch, uint64_t size,35 static bool runner(stopwatch_t *stopwatch, uint64_t size, 35 36 char *error, size_t error_size) 36 37 { … … 50 51 return true; 51 52 } 53 54 benchmark_t bench_malloc1 = { 55 .name = "malloc1", 56 .desc = "User-space memory allocator benchmark, repeatedly allocate one block", 57 .entry = &runner, 58 .setup = NULL, 59 .teardown = NULL 60 };
Note:
See TracChangeset
for help on using the changeset viewer.