Elliott Hughes
ffad8df672
Merge "Use a vector of benchmarks and new for loop syntax."
2015-01-16 03:22:40 +00:00
Elliott Hughes
e48f533c95
Use a vector of benchmarks and new for loop syntax.
...
Change-Id: Ib1f1250e7786770083ed6a478677a893b2075a93
2015-01-15 17:10:42 -08:00
Elliott Hughes
ecf096f9b9
am 927875a7: am cb41ce5f: am 594db0f1: Merge "bionic benchmarks: limit benchmark run time to 1s real time"
...
* commit '927875a7d01ef252539fa742612327f60c9f4fe8':
bionic benchmarks: limit benchmark run time to 1s real time
2015-01-16 01:00:48 +00:00
Elliott Hughes
f467b74099
am 29bfcf2a: am f1417093: am 3159972a: Merge "bionic benchmarks: export benchmark library"
...
* commit '29bfcf2a032eb61a3d033b4cf245321a868390dc':
bionic benchmarks: export benchmark library
2015-01-16 00:56:41 +00:00
Elliott Hughes
927875a7d0
am cb41ce5f: am 594db0f1: Merge "bionic benchmarks: limit benchmark run time to 1s real time"
...
* commit 'cb41ce5f4e942dce66defb76f25b2e7d61f8ab8d':
bionic benchmarks: limit benchmark run time to 1s real time
2015-01-16 00:54:14 +00:00
Elliott Hughes
cb41ce5f4e
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
2015-01-16 00:48:36 +00:00
Elliott Hughes
29bfcf2a03
am f1417093: am 3159972a: Merge "bionic benchmarks: export benchmark library"
...
* commit 'f14170937f19710cdedf4bc44f3c3712545648a2':
bionic benchmarks: export benchmark library
2015-01-16 00:48:32 +00:00
Elliott Hughes
594db0f1b2
Merge "bionic benchmarks: limit benchmark run time to 1s real time"
2015-01-16 00:44:16 +00:00
Elliott Hughes
f14170937f
am 3159972a: Merge "bionic benchmarks: export benchmark library"
...
* commit '3159972a80234f7a8e3903cefaeb7719a50f6279':
bionic benchmarks: export benchmark library
2015-01-16 00:42:43 +00:00
Colin Cross
a763504f9d
bionic benchmarks: limit benchmark run time to 1s real time
...
The benchmark run loop tries to run until 1s of time has been
accumulated between StartBenchmarkTiming() and StopBenchmarkTiming().
If a majority of the time is spent stopped this can lead to
benchmarks running for very long periods of time. This can easily
happen when benchmarking something that requires initialization or
cleanup on each iteration.
Modify the loop to run for 1s of real time instead of 1s of
benchmark time. For existing benchmarks this shouldn't make much
of a difference.
Change-Id: Iaba8a13b4dfc4a5e2cd9992041c9173ea556f9cc
2015-01-15 16:42:20 -08:00
Elliott Hughes
3159972a80
Merge "bionic benchmarks: export benchmark library"
2015-01-16 00:36:20 +00:00
Colin Cross
7b9df19491
bionic benchmarks: export benchmark library
...
Export libbenchmark for external projects to write benchmarks against.
Change-Id: I3b04a56a62ce517afc0d5e06dc8d28879ada3d30
2015-01-15 16:22:42 -08:00
Yabin Cui
e42c7de3ee
am b8679a84: am afb488a3: am 6fac2f68: Merge "Fix possible leak in pthread_detach."
...
* commit 'b8679a84dfc5f8ed628e7bd4772c72f76240d458':
Fix possible leak in pthread_detach.
2015-01-15 22:17:47 +00:00
Yabin Cui
0a179a57b6
am 5b143c54: am 4a538412: am deab11ac: Merge "Make bionic-unit-tests default run isolate mode."
...
* commit '5b143c547bf8a576e656ce7d5bbded0029c45cb2':
Make bionic-unit-tests default run isolate mode.
2015-01-15 22:17:46 +00:00
Dmitriy Ivanov
0d745c5ba2
am 9a0641a0: am c16eafd5: am fcc6fd35: Merge "Refactoring: move mips reloc to separate method"
...
* commit '9a0641a0f321dffc5991f883cd8e65df83b5c800':
Refactoring: move mips reloc to separate method
2015-01-15 22:17:21 +00:00
Yabin Cui
b8679a84df
am afb488a3: am 6fac2f68: Merge "Fix possible leak in pthread_detach."
...
* commit 'afb488a3e91c7ac297b4f91e9985fd10c09d6f81':
Fix possible leak in pthread_detach.
2015-01-15 19:47:35 +00:00
Yabin Cui
afb488a3e9
am 6fac2f68: Merge "Fix possible leak in pthread_detach."
...
* commit '6fac2f680f829570122276dc6876f02350a652b1':
Fix possible leak in pthread_detach.
2015-01-15 19:43:52 +00:00
Yabin Cui
6fac2f680f
Merge "Fix possible leak in pthread_detach."
2015-01-15 19:35:38 +00:00
Yabin Cui
5b143c547b
am 4a538412: am deab11ac: Merge "Make bionic-unit-tests default run isolate mode."
...
* commit '4a53841212de2c129ca0769968d8891be97b6cde':
Make bionic-unit-tests default run isolate mode.
2015-01-15 19:17:06 +00:00
Yabin Cui
4a53841212
am deab11ac: Merge "Make bionic-unit-tests default run isolate mode."
...
* commit 'deab11acd7000573ad9c034e5bf9475aadbc5cbe':
Make bionic-unit-tests default run isolate mode.
2015-01-15 19:10:33 +00:00
Yabin Cui
19e246dda6
Fix possible leak in pthread_detach.
...
If pthread_detach() is called while the thread is in pthread_exit(),
it takes the risk that no one can free the pthread_internal_t.
So I add PTHREAD_ATTR_FLAG_ZOMBIE to detect this, maybe very rare, but
both glibc and netbsd libpthread have similar function.
Change-Id: Iaa15f651903b8ca07aaa7bd4de46ff14a2f93835
2015-01-15 10:45:25 -08:00
Yabin Cui
deab11acd7
Merge "Make bionic-unit-tests default run isolate mode."
2015-01-15 18:10:30 +00:00
Dmitriy Ivanov
9a0641a0f3
am c16eafd5: am fcc6fd35: Merge "Refactoring: move mips reloc to separate method"
...
* commit 'c16eafd5ff06845606fa24ed83794104c7f995e6':
Refactoring: move mips reloc to separate method
2015-01-15 18:08:14 +00:00
Dmitriy Ivanov
c16eafd5ff
am fcc6fd35: Merge "Refactoring: move mips reloc to separate method"
...
* commit 'fcc6fd35dfa88e659aa1769d1a1351ad74278763':
Refactoring: move mips reloc to separate method
2015-01-15 18:01:49 +00:00
Dmitriy Ivanov
fcc6fd35df
Merge "Refactoring: move mips reloc to separate method"
2015-01-15 17:56:36 +00:00
Dmitriy Ivanov
53789e7f3c
am 59c080ca: am 0f1fe41f: am ffa2c9ed: Merge "Refactoring: unify relocate function"
...
* commit '59c080ca7935934a8a2db57127945eff10dcea16':
Refactoring: unify relocate function
2015-01-15 02:27:52 +00:00
Andres Morales
ec4c8e9c87
am 6dcbe942: am 740ac6fe: am 2b15f54a: Merge "bionic: libc: Added path to root ramdisk build properties file."
...
* commit '6dcbe94239385526c97d1954af92c14f29185950':
bionic: libc: Added path to root ramdisk build properties file.
2015-01-15 02:27:39 +00:00
Yabin Cui
80b0935a57
am 49810c36: am d12ea31b: am 85747809: Merge "Test that ip6-localhost exists in etc/hosts."
...
* commit '49810c36960e2821b056be450b7ac007e0257c19':
Test that ip6-localhost exists in etc/hosts.
2015-01-15 02:27:25 +00:00
Dmitriy Ivanov
37aa5a5aee
am 5ae47f4d: am 47a32828: am a23569c9: Merge "Refactoring: use generic reloc constants"
...
* commit '5ae47f4d815d9ef41fa1391706bac37ab0efddf7':
Refactoring: use generic reloc constants
2015-01-15 02:27:24 +00:00
Elliott Hughes
b7fce775eb
am 7d640183: am 5bff8a23: am d986f2e4: Merge "Sync with upstream OpenBSD stdio."
...
* commit '7d640183f2ab6ec46cad73becc7fd259e8a48bdb':
Sync with upstream OpenBSD stdio.
2015-01-15 02:27:23 +00:00
Dmitriy Ivanov
114ff69f17
Refactoring: move mips reloc to separate method
...
Change-Id: I712614853e3f0e515f5c2bdd8f0aaa5feeae8e55
2015-01-14 18:03:19 -08:00
Dimitry Ivanov
c3a7cae009
am 0e8bf252: am a0f25379: am b13f5f50: Merge "Revert "Refactoring: use generic reloc constants""
...
* commit '0e8bf252f4d783b6f104b5df8d51deab648f0064':
Revert "Refactoring: use generic reloc constants"
2015-01-14 21:14:04 +00:00
Dmitriy Ivanov
1f432f9f6b
am 83d6a494: am b6c4f646: am 684a861b: Merge "Refactoring: use generic reloc constants"
...
* commit '83d6a49403b81fb71372994273ae65e711038d0b':
Refactoring: use generic reloc constants
2015-01-14 21:14:03 +00:00
Dmitriy Ivanov
59c080ca79
am 0f1fe41f: am ffa2c9ed: Merge "Refactoring: unify relocate function"
...
* commit '0f1fe41f536abd17a9f20b813b57ae2e3ace13cb':
Refactoring: unify relocate function
2015-01-14 18:26:59 +00:00
Dmitriy Ivanov
0f1fe41f53
am ffa2c9ed: Merge "Refactoring: unify relocate function"
...
* commit 'ffa2c9edb5b1cf295bceffc7876a68747b6fa259':
Refactoring: unify relocate function
2015-01-14 18:19:37 +00:00
Dmitriy Ivanov
ffa2c9edb5
Merge "Refactoring: unify relocate function"
2015-01-14 18:14:30 +00:00
Andres Morales
6dcbe94239
am 740ac6fe: am 2b15f54a: Merge "bionic: libc: Added path to root ramdisk build properties file."
...
* commit '740ac6fe7358ac73643189bbe1b7a5e7c76142f3':
bionic: libc: Added path to root ramdisk build properties file.
2015-01-14 16:05:28 +00:00
Andres Morales
740ac6fe73
am 2b15f54a: Merge "bionic: libc: Added path to root ramdisk build properties file."
...
* commit '2b15f54a489d84d9a273025b615cdb63f63d5fc9':
bionic: libc: Added path to root ramdisk build properties file.
2015-01-14 15:59:03 +00:00
Andres Morales
2b15f54a48
Merge "bionic: libc: Added path to root ramdisk build properties file."
2015-01-14 15:54:04 +00:00
Yabin Cui
49810c3696
am d12ea31b: am 85747809: Merge "Test that ip6-localhost exists in etc/hosts."
...
* commit 'd12ea31b8dd050c5567425c121de3356b8e07e93':
Test that ip6-localhost exists in etc/hosts.
2015-01-14 12:07:32 +00:00
Dmitriy Ivanov
5ae47f4d81
am 47a32828: am a23569c9: Merge "Refactoring: use generic reloc constants"
...
* commit '47a32828c2e2825ab0e81970f40514fc411bd45d':
Refactoring: use generic reloc constants
2015-01-14 12:07:25 +00:00
Elliott Hughes
7d640183f2
am 5bff8a23: am d986f2e4: Merge "Sync with upstream OpenBSD stdio."
...
* commit '5bff8a23379ea4034d3112ad5725e91e4b801d5a':
Sync with upstream OpenBSD stdio.
2015-01-14 12:07:23 +00:00
Yabin Cui
d12ea31b8d
am 85747809: Merge "Test that ip6-localhost exists in etc/hosts."
...
* commit '85747809b05a5e3b48bd4da9a7ea98d0adf8f919':
Test that ip6-localhost exists in etc/hosts.
2015-01-14 12:00:21 +00:00
Dmitriy Ivanov
47a32828c2
am a23569c9: Merge "Refactoring: use generic reloc constants"
...
* commit 'a23569c9485d50e9184dcc7d97640140015b3f3d':
Refactoring: use generic reloc constants
2015-01-14 12:00:19 +00:00
Elliott Hughes
5bff8a2337
am d986f2e4: Merge "Sync with upstream OpenBSD stdio."
...
* commit 'd986f2e4642a0571754cb1349101acf8ac10b484':
Sync with upstream OpenBSD stdio.
2015-01-14 12:00:18 +00:00
Dmitriy Ivanov
bcc04d0069
Refactoring: unify relocate function
...
Use one relocate for all platforms.
Change-Id: I43e75162c5b29105e651defc11a511e168368736
2015-01-13 19:15:02 -08:00
Andres Morales
9d9ebc5fc9
bionic: libc: Added path to root ramdisk build properties file.
...
Change-Id: Id850e4e5ef4e91cea7ad53f6858886daf660eeec
2015-01-13 18:07:23 -08:00
Yabin Cui
85747809b0
Merge "Test that ip6-localhost exists in etc/hosts."
2015-01-14 01:50:20 +00:00
Dmitriy Ivanov
a23569c948
Merge "Refactoring: use generic reloc constants"
2015-01-14 01:35:39 +00:00
Yabin Cui
a35cd8cdc2
Test that ip6-localhost exists in etc/hosts.
...
Addition change: make netdb_test pass on host.
Bug: 18791191
Change-Id: I7a9e29aa559ff6557288b47323d8a436379201a2
2015-01-13 17:30:51 -08:00