Changeset e131833c in mainline
- Timestamp:
- 2018-11-18T00:30:10Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- dc41772
- Parents:
- 1edd6d0
- Location:
- uspace/app/perf
- Files:
-
- 4 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/perf/Makefile
r1edd6d0 re131833c 36 36 perf.c \ 37 37 ipc/ns_ping.c \ 38 ipc/ping_pong.c 38 ipc/ping_pong.c \ 39 malloc/malloc1.c \ 40 malloc/malloc2.c 39 41 40 42 include $(USPACE_PREFIX)/Makefile.common -
uspace/app/perf/ipc/ns_ping.c
r1edd6d0 re131833c 80 80 uint64_t dsmp[NUM_SAMPLES]; 81 81 82 printf("Benchmark ns server ping time\n");83 82 printf("Warm up and determine work size...\n"); 84 83 -
uspace/app/perf/ipc/ping_pong.c
r1edd6d0 re131833c 83 83 const char *msg; 84 84 85 printf("Benchmark IPC test server ping time\n");86 85 rc = ipc_test_create(&test); 87 86 if (rc != EOK) -
uspace/app/perf/perf.c
r1edd6d0 re131833c 41 41 42 42 benchmark_t benchmarks[] = { 43 #include "ipc/ns_ping.def" 43 44 #include "ipc/ping_pong.def" 44 #include "ipc/ns_ping.def" 45 #include "malloc/malloc1.def" 46 #include "malloc/malloc2.def" 45 47 { NULL, NULL, NULL } 46 48 }; -
uspace/app/perf/perf.h
r1edd6d0 re131833c 46 46 } benchmark_t; 47 47 48 extern const char *bench_malloc1(void); 49 extern const char *bench_malloc2(void); 48 50 extern const char *bench_ns_ping(void); 49 51 extern const char *bench_ping_pong(void);
Note:
See TracChangeset
for help on using the changeset viewer.