Age | Commit message (Collapse) | Author |
|
Bug: 28705665
Change-Id: I04d393ae608a7b803001f763c544fc13e8f2e9e6
|
|
* One simple problem fixed by calling free.
* Others are suppressed since we don't care memory leaks
in this soon-to-be-obsolete test program.
BUG: 26910807
Change-Id: I5ac10115db9644b53e9e8b5fd40a5dc87b2019dc
|
|
This benchmark is completely misnamed. All it does is this in a hard loop:
- Read from memory and store in a register.
- Add one to the memory value.
- Store that value back to memory.
Since this is completely useless, I'm going to remove it.
Bug: 26210850
Change-Id: If3e0af0a1faa7875d3d106cccab1ed8205847b62
|
|
Bug: 24571219
Change-Id: Ib7a4374974c2d0d9225caa1e43d0b78251a36bd2
|
|
Change-Id: I75bb907f5633d155cd411941ea6d9d39b9787983
|
|
Change-Id: Iffdfed00ac49a7920844fa5f9e1a3ffc6a77e641
|
|
Rename micro_bench32 to micro_bench for backwards compatibility.
Change-Id: I130f281967cffc3e337d27e84c4caa66d39d1385
|
|
Change-Id: Ifc639b7ed97c75faf0ce52475e7c3ec0dc2dd9b9
|
|
- use %zu for size_t operands
- suppress unused argument warning messages
Change-Id: Ib39b8763414320d9e3a29408bc1b396ddb376293
|
|
- Created macros for one and two buffer benchmarks to simplify
addition of new benchmarks.
- Created cold versions of all benchmarks that work on buffer benchmarks.
This means that the benchmark is given buffers that are not in the cache.
- Verified the cold versions are working as intended by
changing it so that the same buffer is written in each loop
instead of the strided buffer. Using this method, the cold and
normal benchmark run at the same speed.
Change-Id: Ie5d1b015dd70d3935cfa2830a82955429a2f5b3c
|
|
Change-Id: I31542ecdec95c2d1d3fb9b2795581ad4d5e13c5c
|
|
List of all changes:
- Add a strcpy benchmark.
- Create a macro that is used to create all of the code for the main
loop of the benchmark.
- Fix the strcmp benchmark to use two buffers. The single buffer was
an experiment that should not have been committed. It also crashes
when a large alignment is used because it hard-coded an extra 2048
allocation regardless of the alignment chosen.
- Modify the libc benchmarks to take the function to bench as a
parameter. This will allow us to benchmark new potential libc
optimizations by adding a single line to the function table list.
Change-Id: Id7129667669318acbd001c1bfa3db82764a39029
|
|
* commit '409e8950ee2fc9802c4382cd7d2fb10f5e0b9d74':
Add strcmp benchmarking.
|
|
NOTE: After this change memcpy results will be significantly lower
for larger sized copies.
Changes:
- Addition of strcmp benchmarking.
- Fix memcpy to initialize memory before copy. If this is not done, the
results of memcpy are artificially higher.
- Add a min and max when printing averages.
- Add two new options --dst_or_mask and --src_or_mask to allow more
flexibility when testing different alignments.
Change-Id: Ia2859d5569ab5ffa35e5ac0f6d5d1f248fef6533
|
|
Change-Id: I8027e9cb455ac396189b2b8e58588aa1959bb8c0
|
|
* commit 'cf9a4f670144efdb2d335f1e6ed36795136b7716':
Update micro_bench.
|
|
Moving the code to cpp to access the cpuset CPU* macros (these
macros are defined in sched.h inside of __USE_GNU which is not
defined for the thumb C compiler). The C++ code is also slightly
easier to read.
Add code to set the priority of the process to the highest value.
Add code to lock the process to a single cpu.
Add the ability to compute average and standard deviation over
a number of iterations.
Change the timing code to use nanosecond resolution timing.
Add options to allow modification of the alignment of the src/dst
pointers for memcpy and the dst pointer for memset.
Add an option to change the size of the data being copied in each
iteration.
Change-Id: Ib7c50ed4463f94e638eb81690fe8fe0d0bc3ea80
|
|
So that it will be easier to test target-dependent bionic implementations
across devices.
Change-Id: Ie74dc37d5632b1a270f0d2e9013d504a810640e2
|
|
Change-Id: Ie7ab13a58dd4585e1c489cb407e59a76bed8955b
Bug-Id: http://b/issue?id=5734427
|
|
Change-Id: I172667643e13e2e1c278fd4c0156d5a2445d79f7
|
|
micro_bench provides very simple tests for
o sleep accuracy
o cpu
o memcpy
o memset
sane_schedstat is a front-end for /proc/schedstat to diff and format the
counters.
Change-Id: I6e178fe37fcfc9bf0a83ec17852e31146a91e7a4
Signed-off-by: Nick Pelly <npelly@google.com>
|