OSDN Git Service
Dan Albert [Sun, 25 Jan 2015 22:55:24 +0000 (22:55 +0000)]
am
6eb5dc1d: Merge "Fix coverage build after adding clang coverage."
* commit '
6eb5dc1d9c38ff8f717b70a2f66417c599aeb08c':
Fix coverage build after adding clang coverage.
Dan Albert [Sun, 25 Jan 2015 22:51:37 +0000 (22:51 +0000)]
Merge "Fix coverage build after adding clang coverage."
Dan Albert [Sun, 25 Jan 2015 22:27:51 +0000 (14:27 -0800)]
Fix coverage build after adding clang coverage.
Static libraries are painful. Details are in the comment. I'll try to
get prebuilts in to the tree so I can fix this on Monday. Until then,
this isn't actually a regression because we've not had coverage
available for this library until now anyway.
Bug:
17574078
Change-Id: I7505c8a94007203e15a6cf192caa06004849d7d9
Elliott Hughes [Sun, 25 Jan 2015 05:17:29 +0000 (05:17 +0000)]
am
f108bbba: Merge "Remove obsolete BUILD_TINY_ANDROID."
* commit '
f108bbbaf7a11c3226780d0424fa123155e30f36':
Remove obsolete BUILD_TINY_ANDROID.
Elliott Hughes [Sun, 25 Jan 2015 05:09:20 +0000 (05:09 +0000)]
Merge "Remove obsolete BUILD_TINY_ANDROID."
Elliott Hughes [Sun, 25 Jan 2015 03:01:58 +0000 (19:01 -0800)]
Remove obsolete BUILD_TINY_ANDROID.
Change-Id: If2fc97134340fd09ec2583b666ace2f673cbdf66
Elliott Hughes [Sat, 24 Jan 2015 23:47:36 +0000 (23:47 +0000)]
am
66eeec8e: Merge "Reduce <stdlib.h> namespace pollution."
* commit '
66eeec8e160feddc2b35c4ff9d20de92f37331dd':
Reduce <stdlib.h> namespace pollution.
Elliott Hughes [Sat, 24 Jan 2015 23:44:26 +0000 (23:44 +0000)]
Merge "Reduce <stdlib.h> namespace pollution."
Elliott Hughes [Sat, 24 Jan 2015 23:22:57 +0000 (15:22 -0800)]
Reduce <stdlib.h> namespace pollution.
<stdlib.h> shouldn't drag in all of <string.h>.
Change-Id: I949172f7ff17e329e411e5054e50f79c13775444
Elliott Hughes [Sat, 24 Jan 2015 22:41:01 +0000 (22:41 +0000)]
am
62d20fb2: Merge "Reduce <signal.h> namespace pollution."
* commit '
62d20fb21948d7a31d453ec08ed5abc02d3dd1d3':
Reduce <signal.h> namespace pollution.
Elliott Hughes [Sat, 24 Jan 2015 22:34:51 +0000 (22:34 +0000)]
Merge "Reduce <signal.h> namespace pollution."
Elliott Hughes [Sat, 24 Jan 2015 22:18:16 +0000 (14:18 -0800)]
Reduce <signal.h> namespace pollution.
<signal.h> shouldn't drag in all of <string.h>.
Change-Id: I57aea36dad5e89ea2f9541c35594ca6225e532be
Elliott Hughes [Sat, 24 Jan 2015 22:12:06 +0000 (22:12 +0000)]
am
6e15edcc: Merge "Say "Bad file descriptor" rather than "Bad file number"."
* commit '
6e15edcca5f5b35221b33e9994c236f148cb3c38':
Say "Bad file descriptor" rather than "Bad file number".
Elliott Hughes [Sat, 24 Jan 2015 22:08:19 +0000 (22:08 +0000)]
Merge "Say "Bad file descriptor" rather than "Bad file number"."
Elliott Hughes [Sat, 24 Jan 2015 21:38:57 +0000 (13:38 -0800)]
Say "Bad file descriptor" rather than "Bad file number".
This text is actually in POSIX (though it's not mandatory) and it's what glibc
says. Who says "file number" anyway?
Change-Id: Icc91ac24587c2bc692e0b97c19d32ac1bdda4ea7
Elliott Hughes [Sat, 24 Jan 2015 21:31:09 +0000 (21:31 +0000)]
am
59936a3b: Merge "Fix optimized fread."
* commit '
59936a3b51474fc3216659f089ff6543ac31ab4e':
Fix optimized fread.
Elliott Hughes [Sat, 24 Jan 2015 21:25:05 +0000 (21:25 +0000)]
Merge "Fix optimized fread."
Elliott Hughes [Sat, 24 Jan 2015 01:48:15 +0000 (17:48 -0800)]
Fix optimized fread.
gcov does writes after reads on the same stream, but the bulk read optimization
was clobbering the FILE _flags, causing fwrite to fail.
Bug:
19129055
Change-Id: I9650cb7de4bb173a706b502406266ed0d2b654d7
Dmitriy Ivanov [Sat, 24 Jan 2015 00:51:09 +0000 (00:51 +0000)]
am
31005ca4: Merge "Minimize calls to mprotect"
* commit '
31005ca4c8562f3e6dfbed079eeaff8361ff8cdc':
Minimize calls to mprotect
Dmitriy Ivanov [Sat, 24 Jan 2015 00:41:52 +0000 (00:41 +0000)]
Merge "Minimize calls to mprotect"
Dmitriy Ivanov [Fri, 23 Jan 2015 20:03:53 +0000 (12:03 -0800)]
Minimize calls to mprotect
Implement refcounter based data protection guard
to avoid unnecessary calls to mprotect when dlopen/dlclose
is called from a constructor.
Bug:
19124318
Big:
7941716
Change-Id: Id221b84ce75443094f99756dc9950b0a1dc87222
Dan Albert [Sat, 24 Jan 2015 00:07:20 +0000 (00:07 +0000)]
am
305be18d: Merge "Allow make to set a timeout for the host tests."
* commit '
305be18d10254df4a9444f8505f569e94718f488':
Allow make to set a timeout for the host tests.
Dan Albert [Sat, 24 Jan 2015 00:01:39 +0000 (00:01 +0000)]
Merge "Allow make to set a timeout for the host tests."
Chih-Hung Hsieh [Fri, 23 Jan 2015 23:41:01 +0000 (23:41 +0000)]
am
f5ae7e91: Merge "Add comments about the -shared flag."
* commit '
f5ae7e91ea2c3364d6423ef4d54f5f295197335f':
Add comments about the -shared flag.
Chih-Hung Hsieh [Fri, 23 Jan 2015 23:33:54 +0000 (23:33 +0000)]
Merge "Add comments about the -shared flag."
Dan Albert [Fri, 23 Jan 2015 19:35:48 +0000 (11:35 -0800)]
Allow make to set a timeout for the host tests.
Change-Id: Icc2ebf64bd1da1687bf313fe7a5640155c5795d8
Elliott Hughes [Fri, 23 Jan 2015 18:59:45 +0000 (18:59 +0000)]
am
7f3d65de: Merge "Add a log message to make the transition from linker to user code clear."
* commit '
7f3d65de8cf2920981d73adee278c0d7bee79170':
Add a log message to make the transition from linker to user code clear.
Elliott Hughes [Fri, 23 Jan 2015 18:55:29 +0000 (18:55 +0000)]
Merge "Add a log message to make the transition from linker to user code clear."
Elliott Hughes [Fri, 23 Jan 2015 18:43:58 +0000 (10:43 -0800)]
Add a log message to make the transition from linker to user code clear.
Handy when looking at strace output for seeing "where does my code start?",
though you'll need to set LD_DEBUG=1 (or greater) and constructors will
already have run (but you can set LD_DEBUG to a higher value to track that).
Change-Id: I82d53a7123b39febf5b2a956de83c8a30f229651
Dmitriy Ivanov [Fri, 23 Jan 2015 03:14:35 +0000 (03:14 +0000)]
am
bb3b1303: Merge "Enable -Wold-style-cast warnings for linker"
* commit '
bb3b1303e1167a662218c9686977b379964e0072':
Enable -Wold-style-cast warnings for linker
Dmitriy Ivanov [Fri, 23 Jan 2015 03:09:21 +0000 (03:09 +0000)]
Merge "Enable -Wold-style-cast warnings for linker"
Chih-Hung Hsieh [Thu, 22 Jan 2015 22:05:15 +0000 (14:05 -0800)]
Add comments about the -shared flag.
Must build this linker as a shared object.
A statically linked module does not load during init.
BUG:
18008984
Change-Id: I5f0411129024edcb9381c473ea4e741a075e9184
Dan Albert [Fri, 23 Jan 2015 00:51:39 +0000 (00:51 +0000)]
am
ab58559a: Merge "Add a basic NDK compatibility library."
* commit '
ab58559a9cc40766c0636c6e97a93dfd5e74d923':
Add a basic NDK compatibility library.
Dan Albert [Fri, 23 Jan 2015 00:46:53 +0000 (00:46 +0000)]
Merge "Add a basic NDK compatibility library."
Dmitriy Ivanov [Fri, 23 Jan 2015 00:04:25 +0000 (16:04 -0800)]
Enable -Wold-style-cast warnings for linker
And fix old style casts.
Change-Id: I37e7a3e3fd852528ea76f02d967c7bd8cd5b06c9
Elliott Hughes [Thu, 22 Jan 2015 23:41:35 +0000 (23:41 +0000)]
am
b161fe27: Merge "There\'s no such thing as LOCAL_CXXFLAGS."
* commit '
b161fe27433b899b896b5685571373df4a1f8a21':
There's no such thing as LOCAL_CXXFLAGS.
Elliott Hughes [Thu, 22 Jan 2015 23:41:34 +0000 (23:41 +0000)]
am
ae095a73: Merge "Fix the stdio.fread_EOF test."
* commit '
ae095a730d6b3af69dc5eff662c5609cde6f5d70':
Fix the stdio.fread_EOF test.
Elliott Hughes [Thu, 22 Jan 2015 23:40:07 +0000 (23:40 +0000)]
Merge "There's no such thing as LOCAL_CXXFLAGS."
Elliott Hughes [Thu, 22 Jan 2015 23:36:24 +0000 (15:36 -0800)]
There's no such thing as LOCAL_CXXFLAGS.
Change-Id: Iad70e6bd4cb7cec9e0ece500a540e4dadc83d92e
Elliott Hughes [Thu, 22 Jan 2015 23:35:47 +0000 (23:35 +0000)]
Merge "Fix the stdio.fread_EOF test."
Elliott Hughes [Thu, 22 Jan 2015 23:13:38 +0000 (15:13 -0800)]
Fix the stdio.fread_EOF test.
Another sizeof/strlen screwup caused by trying to be too clever. Use
std::string instead.
Also fix all the ASSERT_STREQ calls in this file that had the arguments
the right^Wwrong way round. If I ever see Kent Beck...
Change-Id: I47a1bdfee99cf4e7bed9b398f3158a308fbcf1e8
Elliott Hughes [Thu, 22 Jan 2015 22:28:23 +0000 (22:28 +0000)]
am
d5d9221b: Merge "Fix fread_EOF test name."
* commit '
d5d9221b9c96a8213b0a83dde468653d49e76dd8':
Fix fread_EOF test name.
Elliott Hughes [Thu, 22 Jan 2015 22:24:52 +0000 (22:24 +0000)]
Merge "Fix fread_EOF test name."
Elliott Hughes [Thu, 22 Jan 2015 22:18:35 +0000 (14:18 -0800)]
Fix fread_EOF test name.
Change-Id: I53a7f1428fd27c0b2a5c80f2e8af4845d17f5b4b
Dan Albert [Thu, 22 Jan 2015 22:04:48 +0000 (22:04 +0000)]
am
d2806754: Merge "Add support for building other architectures."
* commit '
d280675405e605d47c74c037b0d2b4f06826ed4d':
Add support for building other architectures.
Dan Albert [Thu, 22 Jan 2015 22:00:36 +0000 (22:00 +0000)]
Merge "Add support for building other architectures."
Elliott Hughes [Thu, 22 Jan 2015 20:21:30 +0000 (20:21 +0000)]
am
53df4bfc: Merge "Use a more specific return type for app_id_from_name."
* commit '
53df4bfce81d8a6cfd4b5d991f5299f18dc4c958':
Use a more specific return type for app_id_from_name.
Elliott Hughes [Thu, 22 Jan 2015 20:15:03 +0000 (20:15 +0000)]
Merge "Use a more specific return type for app_id_from_name."
Elliott Hughes [Thu, 22 Jan 2015 19:02:59 +0000 (11:02 -0800)]
Use a more specific return type for app_id_from_name.
I suspect we can simplify this code, but I don't know enough about it
to get involved now.
Change-Id: I1c39761ae31beb70d41ffa6f0e396a4f17529d46
Dan Albert [Thu, 22 Jan 2015 01:50:29 +0000 (17:50 -0800)]
Add a basic NDK compatibility library.
We know we can safely statically link `libm`, since it doesn't have
any dependencies on the OS or the layout of a data type that has
changed between releases (like `pthread_t`).
We can safely statically link `libc_syscalls` because the user can
check for and handle `ENOSYS`.
Update `ndk_missing_symbols.py` to account for symbols that are in the
compatibility library.
Improve `symbols.py` to be able to pull symbols from a static library.
Change-Id: Ifb0ede1e8b4a8f0f33865d9fed72fb8b4d443fbc
Elliott Hughes [Thu, 22 Jan 2015 01:55:33 +0000 (01:55 +0000)]
am
d1668a71: Merge "Turn on -Wold-style-cast and fix the errors."
* commit '
d1668a71df761eb1644496f3e2c77c16fd54bb06':
Turn on -Wold-style-cast and fix the errors.
Elliott Hughes [Thu, 22 Jan 2015 01:52:05 +0000 (01:52 +0000)]
Merge "Turn on -Wold-style-cast and fix the errors."
Dan Albert [Thu, 22 Jan 2015 01:31:42 +0000 (01:31 +0000)]
am
4f11c59b: Merge "Add ndk_missing_symbols.py."
* commit '
4f11c59b3f3acffe6c8e359296a9e38c4b7edfb6':
Add ndk_missing_symbols.py.
Dan Albert [Thu, 22 Jan 2015 01:25:56 +0000 (01:25 +0000)]
Merge "Add ndk_missing_symbols.py."
Elliott Hughes [Thu, 22 Jan 2015 00:19:07 +0000 (16:19 -0800)]
Turn on -Wold-style-cast and fix the errors.
A couple of dodgy cases where we cast away const, but otherwise pretty boring.
Change-Id: Ibc39ebd525377792b5911464be842121c20f03b9
Dan Albert [Thu, 22 Jan 2015 00:42:02 +0000 (16:42 -0800)]
Add ndk_missing_symbols.py.
ndk_missing_symbols.py pulls libc.so and libm.so off a running device
or emulator and shows the list of symbols that are in the current
bionic that aren't available on the target.
Change-Id: Ia92c315a6a0ce2e5c33db0b62c8fab41c08a4c31
Elliott Hughes [Wed, 21 Jan 2015 22:58:17 +0000 (22:58 +0000)]
am
2a8c929a: Merge "Implement __fsetlocking."
* commit '
2a8c929aaf8d34d2b6e89ed9c8b6da163316143e':
Implement __fsetlocking.
Christopher Ferris [Wed, 21 Jan 2015 22:58:11 +0000 (22:58 +0000)]
am
8476b8ed: Merge "Contact proper debuggerd when crashing."
* commit '
8476b8ed9e290d79cd00e7801c505268f0e8ec15':
Contact proper debuggerd when crashing.
Dan Albert [Wed, 21 Jan 2015 22:58:07 +0000 (22:58 +0000)]
am
fbc70d38: Merge "Report 404 errors from Gerrit and continue."
* commit '
fbc70d3899a58e6aff7d3e94803fcdc80629de5a':
Report 404 errors from Gerrit and continue.
Elliott Hughes [Wed, 21 Jan 2015 19:42:40 +0000 (19:42 +0000)]
Merge "Implement __fsetlocking."
Christopher Ferris [Wed, 21 Jan 2015 18:39:59 +0000 (18:39 +0000)]
Merge "Contact proper debuggerd when crashing."
Elliott Hughes [Wed, 21 Jan 2015 02:09:05 +0000 (18:09 -0800)]
Implement __fsetlocking.
The old __isthreaded hack was never very useful on Android because all user
code runs in a VM where there are lots of threads running. But __fsetlocking
lets a caller say "I'll worry about the locking for this FILE*", which is
useful for the normal case where you don't share a FILE* between threads
so you don't need any locking.
Bug:
17154740
Bug:
18593728
Change-Id: I2a8dddc29d3edff39a3d7d793387f2253608a68d
Dan Albert [Wed, 21 Jan 2015 18:25:39 +0000 (18:25 +0000)]
Merge "Report 404 errors from Gerrit and continue."
Dan Albert [Wed, 21 Jan 2015 17:56:28 +0000 (09:56 -0800)]
Report 404 errors from Gerrit and continue.
Currently, we get a 404 from Gerrit in the event that two projects
have the same Change-Id. We should be able to handle this and actually
cherry-pick each change so we can check multi-project changes, but for
now just skip these changes.
Change-Id: I7bc63208998d58beec83b71b302450d9be3ea026
Elliott Hughes [Wed, 21 Jan 2015 02:11:35 +0000 (02:11 +0000)]
am
f3743584: Merge "Fix signed/unsigned comparison that was upsetting clang."
* commit '
f374358414812d3e5a45ba75a2b1926693924420':
Fix signed/unsigned comparison that was upsetting clang.
Elliott Hughes [Wed, 21 Jan 2015 02:11:34 +0000 (02:11 +0000)]
am
a779719d: Merge "Add TEMP_FAILURE_RETRY to stdio\'s low-level read/write functions."
* commit '
a779719d628de5e504dac08d334bc576f3b7fb0a':
Add TEMP_FAILURE_RETRY to stdio's low-level read/write functions.
Elliott Hughes [Wed, 21 Jan 2015 02:11:33 +0000 (02:11 +0000)]
am
927d8be7: Merge "Fix build error when XLOG is enabled"
* commit '
927d8be76d956fcda630e1088e9b89eb31be5146':
Fix build error when XLOG is enabled
Elliott Hughes [Wed, 21 Jan 2015 02:11:32 +0000 (02:11 +0000)]
am
c053a428: Merge "Optimized fread."
* commit '
c053a42831165044cca0bb9eb220b8f5d27fdd18':
Optimized fread.
Christopher Ferris [Mon, 19 Jan 2015 19:16:52 +0000 (11:16 -0800)]
Contact proper debuggerd when crashing.
Make the request structure match the new structure found in debuggerd
code.
On 64 bit systems, make sure that the 32 bit compiled linker is contacted.
Bug: https://code.google.com/p/android/issues/detail?id=97024
Change-Id: I675b8ff222fcf836b05de4e9b5976ff91ca929bf
Elliott Hughes [Wed, 21 Jan 2015 00:57:06 +0000 (00:57 +0000)]
Merge "Fix signed/unsigned comparison that was upsetting clang."
Elliott Hughes [Wed, 21 Jan 2015 00:52:04 +0000 (16:52 -0800)]
Fix signed/unsigned comparison that was upsetting clang.
bionic/libc/stdio/fread.c:86:27: error: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned int') [-Werror,-Wsign-compare]
Change-Id: Ia7e1e053e0cb13113e8f2eede820be013acbab82
Elliott Hughes [Wed, 21 Jan 2015 00:50:01 +0000 (00:50 +0000)]
Merge "Add TEMP_FAILURE_RETRY to stdio's low-level read/write functions."
Elliott Hughes [Wed, 21 Jan 2015 00:18:32 +0000 (16:18 -0800)]
Add TEMP_FAILURE_RETRY to stdio's low-level read/write functions.
This is correctness rather than performance, but found while investigating
performance.
Bug:
18593728
Change-Id: Idbdfed89d1931fcfae65db29d662108d4bbd9b65
Elliott Hughes [Wed, 21 Jan 2015 00:13:27 +0000 (00:13 +0000)]
Merge "Fix build error when XLOG is enabled"
Patrick Tjin [Wed, 21 Jan 2015 00:02:04 +0000 (16:02 -0800)]
Fix build error when XLOG is enabled
(cherrypick of
79a49c9857f3949fc13373eeb179f27b6ecdca81.)
Change-Id: I7bb44fd1fe3ef2ddfc115247f328eccfceeb5352
Signed-off-by: Patrick Tjin <pattjin@google.com>
Elliott Hughes [Wed, 21 Jan 2015 00:11:30 +0000 (00:11 +0000)]
Merge "Optimized fread."
Elliott Hughes [Tue, 20 Jan 2015 19:23:50 +0000 (11:23 -0800)]
Optimized fread.
This makes us competitive with glibc for fully-buffered and unbuffered reads,
except in single-threaded situations where glibc avoids locking, but since
we're never really single-threaded anyway, that isn't a priority.
Bug:
18593728
Change-Id: Ib776bfba422ccf46209581fc0dc54f3567645b8f
Yabin Cui [Tue, 20 Jan 2015 23:43:15 +0000 (23:43 +0000)]
am
d3d75c02: Merge "Remove testcase time printing in bionic-unit-tests."
* commit '
d3d75c029a9b768989d5370000788dca4032b97a':
Remove testcase time printing in bionic-unit-tests.
Yabin Cui [Tue, 20 Jan 2015 23:38:34 +0000 (23:38 +0000)]
Merge "Remove testcase time printing in bionic-unit-tests."
Yabin Cui [Tue, 20 Jan 2015 22:51:49 +0000 (22:51 +0000)]
am
1c01c9f7: Merge "Add target libbionic_gtest_main for cts test."
* commit '
1c01c9f752c07d758349356c18563261b8216da9':
Add target libbionic_gtest_main for cts test.
Yabin Cui [Tue, 20 Jan 2015 22:46:03 +0000 (14:46 -0800)]
Remove testcase time printing in bionic-unit-tests.
Bug:
19075565
Change-Id: Icccb60657a2985e96abb1703673f0ebe2199586a
Yabin Cui [Tue, 20 Jan 2015 22:44:01 +0000 (22:44 +0000)]
Merge "Add target libbionic_gtest_main for cts test."
Yabin Cui [Tue, 20 Jan 2015 20:02:21 +0000 (12:02 -0800)]
Add target libbionic_gtest_main for cts test.
Bug:
17589740
Change-Id: I37f2d3fe72870b9dc867407fa1619c9a6fcd5cbb
Elliott Hughes [Tue, 20 Jan 2015 18:27:47 +0000 (18:27 +0000)]
am
1d7b3f3c: Merge "Improve <stdio_ext.h> testing."
* commit '
1d7b3f3ccc4f2883cbc0fe677dff888c56c18996':
Improve <stdio_ext.h> testing.
Elliott Hughes [Tue, 20 Jan 2015 18:07:36 +0000 (18:07 +0000)]
Merge "Improve <stdio_ext.h> testing."
Elliott Hughes [Sat, 17 Jan 2015 01:42:16 +0000 (01:42 +0000)]
am
3bbf4639: Merge "Add a benchmark for using stdio to read a file in /proc."
* commit '
3bbf4639080bc2f42435b4a7fd400c44aab7fd70':
Add a benchmark for using stdio to read a file in /proc.
Elliott Hughes [Sat, 17 Jan 2015 01:24:43 +0000 (01:24 +0000)]
Merge "Add a benchmark for using stdio to read a file in /proc."
Elliott Hughes [Sat, 17 Jan 2015 01:08:31 +0000 (17:08 -0800)]
Add a benchmark for using stdio to read a file in /proc.
Change-Id: I12517aae19e36b7c022a11e8807aece61bb0cb9c
Elliott Hughes [Sat, 17 Jan 2015 00:40:55 +0000 (16:40 -0800)]
Improve <stdio_ext.h> testing.
I almost fixed a non-bug. Add a test to prevent me from doing that.
Change-Id: I4a1dc13e603a7a377bdaee2e78132015087f7107
Elliott Hughes [Sat, 17 Jan 2015 00:27:58 +0000 (00:27 +0000)]
am
481cf21e: Merge "Use SI prefixes throughout the benchmark output."
* commit '
481cf21e08a6cbbc686487744f1cb07b6d3f400e':
Use SI prefixes throughout the benchmark output.
Elliott Hughes [Sat, 17 Jan 2015 00:23:34 +0000 (00:23 +0000)]
Merge "Use SI prefixes throughout the benchmark output."
Yabin Cui [Fri, 16 Jan 2015 21:57:33 +0000 (21:57 +0000)]
am
cfe7e75f: Merge "Make sys_resource test more robust."
* commit '
cfe7e75fc13afb987d86aaaee305040f3369f797':
Make sys_resource test more robust.
Yabin Cui [Fri, 16 Jan 2015 21:52:11 +0000 (21:52 +0000)]
Merge "Make sys_resource test more robust."
Yabin Cui [Mon, 5 Jan 2015 19:06:30 +0000 (11:06 -0800)]
Make sys_resource test more robust.
"ulimit -c xxx" command may run before bionic-unit-tests.
Make sure sys_resource test fails gently in that case.
Change-Id: Ic3b5ed8b20acba56df8c5ef082c88e5050e761aa
Elliott Hughes [Fri, 16 Jan 2015 21:11:25 +0000 (13:11 -0800)]
Use SI prefixes throughout the benchmark output.
Also switch throughput to GiB/s. I did play with using the new code,
but having consistent units for all results seemed easier to use
anyway (and doesn't require extra code).
Change-Id: I466fd573373bd05619e6f6e6d3dedd7dae0d9362
Elliott Hughes [Fri, 16 Jan 2015 03:27:04 +0000 (03:27 +0000)]
am
ffad8df6: Merge "Use a vector of benchmarks and new for loop syntax."
* commit '
ffad8df672363bad43528898cc47aa2ed3d08c66':
Use a vector of benchmarks and new for loop syntax.
Elliott Hughes [Fri, 16 Jan 2015 03:22:40 +0000 (03:22 +0000)]
Merge "Use a vector of benchmarks and new for loop syntax."
Elliott Hughes [Fri, 16 Jan 2015 01:10:42 +0000 (17:10 -0800)]
Use a vector of benchmarks and new for loop syntax.
Change-Id: Ib1f1250e7786770083ed6a478677a893b2075a93
Elliott Hughes [Fri, 16 Jan 2015 00:48:36 +0000 (00:48 +0000)]
am
594db0f1: Merge "bionic benchmarks: limit benchmark run time to 1s real time"
* commit '
594db0f1b235306d2687395564745888348df808':
bionic benchmarks: limit benchmark run time to 1s real time
Elliott Hughes [Fri, 16 Jan 2015 00:44:16 +0000 (00:44 +0000)]
Merge "bionic benchmarks: limit benchmark run time to 1s real time"