aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-05-23Simplify STRESSAPPTEST_TIMESTAMP to remove useless information.android-sdk-support_r11android-sdk-4.4.2_r1.0.1android-sdk-4.4.2_r1android-cts-5.1_r9android-cts-5.1_r8android-cts-5.1_r7android-cts-5.1_r6android-cts-5.1_r5android-cts-5.1_r4android-cts-5.1_r3android-cts-5.1_r28android-cts-5.1_r27android-cts-5.1_r26android-cts-5.1_r25android-cts-5.1_r24android-cts-5.1_r23android-cts-5.1_r22android-cts-5.1_r21android-cts-5.1_r20android-cts-5.1_r2android-cts-5.1_r19android-cts-5.1_r18android-cts-5.1_r17android-cts-5.1_r16android-cts-5.1_r15android-cts-5.1_r14android-cts-5.1_r13android-cts-5.1_r10android-cts-5.1_r1android-cts-5.0_r9android-cts-5.0_r8android-cts-5.0_r7android-cts-5.0_r6android-cts-5.0_r5android-cts-5.0_r4android-cts-5.0_r3android-cts-4.4_r4android-cts-4.4_r1android-cts-4.2_r2android-cts-4.2_r1android-5.1.1_r9android-5.1.1_r8android-5.1.1_r7android-5.1.1_r6android-5.1.1_r5android-5.1.1_r4android-5.1.1_r38android-5.1.1_r37android-5.1.1_r36android-5.1.1_r35android-5.1.1_r34android-5.1.1_r33android-5.1.1_r30android-5.1.1_r3android-5.1.1_r29android-5.1.1_r28android-5.1.1_r26android-5.1.1_r25android-5.1.1_r24android-5.1.1_r23android-5.1.1_r22android-5.1.1_r20android-5.1.1_r2android-5.1.1_r19android-5.1.1_r18android-5.1.1_r17android-5.1.1_r16android-5.1.1_r15android-5.1.1_r14android-5.1.1_r13android-5.1.1_r12android-5.1.1_r10android-5.1.1_r1android-5.1.0_r5android-5.1.0_r4android-5.1.0_r3android-5.1.0_r1android-5.0.2_r3android-5.0.2_r1android-5.0.1_r1android-5.0.0_r7android-5.0.0_r6android-5.0.0_r5.1android-5.0.0_r5android-5.0.0_r4android-5.0.0_r3android-5.0.0_r2android-5.0.0_r1android-4.4w_r1android-4.4_r1.2.0.1android-4.4_r1.2android-4.4_r1.1.0.1android-4.4_r1.1android-4.4_r1.0.1android-4.4_r1android-4.4_r0.9android-4.4_r0.8android-4.4_r0.7android-4.4.4_r2.0.1android-4.4.4_r2android-4.4.4_r1.0.1android-4.4.4_r1android-4.4.3_r1.1.0.1android-4.4.3_r1.1android-4.4.3_r1.0.1android-4.4.3_r1android-4.4.2_r2.0.1android-4.4.2_r2android-4.4.2_r1.0.1android-4.4.2_r1android-4.4.1_r1.0.1android-4.4.1_r1android-4.3_r3.1android-4.3_r3android-4.3_r2.3android-4.3_r2.2android-4.3_r2.1android-4.3_r2android-4.3_r1.1android-4.3_r1android-4.3_r0.9.1android-4.3_r0.9android-4.3.1_r1android-4.2_r1android-4.2.2_r1.2android-4.2.2_r1.1android-4.2.2_r1android-4.2.1_r1.2android-4.2.1_r1.1android-4.2.1_r1tools_r22.2tools_r22lollipop-releaselollipop-mr1-wfc-releaselollipop-mr1-releaselollipop-mr1-fi-releaselollipop-mr1-devlollipop-mr1-cts-releaselollipop-devlollipop-cts-releasekitkat-wearkitkat-releasekitkat-mr2.2-releasekitkat-mr2.1-releasekitkat-mr2-releasekitkat-mr1.1-releasekitkat-mr1-releasekitkat-devkitkat-cts-releasekitkat-cts-devjb-mr2.0.0-releasejb-mr2.0-releasejb-mr2-releasejb-mr2-devjb-mr1.1-releasejb-mr1.1-dev-plus-aospjb-mr1.1-devjb-mr1-releasejb-mr1-dev-plus-aospjb-mr1-devidea133-weekly-releaseidea133Scott Anderson
When stressapptest is ran, the following will now appear: Log: Android version from open source release Change-Id: I0d1539fed6fe396ea4cb8b86d8694c98df257070 Signed-off-by: Scott Anderson <saa@android.com>
2012-04-26Work around O_DIRECT being invalid on AndroidScott Anderson
If a file is opened with O_DIRECT on Android, an EINVAL will be triggered. To try to accomplish the same effect as O_DIRECT, this change adds calls to flush the page cache at key points for the file and disk threads. These calls will sync and write a "1" to /proc/sys/vm/drop_caches if O_DIRECT caused an EINVAL, but will be a NOP otherwise. Change-Id: If0c7ca455384f9d60d4587127e96979a3c7f1169 Signed-off-by: Scott Anderson <saa@android.com>
2012-04-25Android portScott Anderson
Add an Android.mk, a pre-built configuration header (src/stressapptest_config_android.h) and add an ifdef to use that header and avoid using namespace __gnu_cxx. Change-Id: I4fe1f02d46caa9f47bfb644faae7ec095c1517e0 Signed-off-by: Scott Anderson <saa@android.com>
2012-04-10Improve portability.Scott Anderson
At a high level, #ifdefs were added to the code to allow it to be used on systems that were missing various libraries, function and defines. configure.ac was enhanced to test for more of these things and set defines to indicate their presence or absence. In addition, it was slightly tweaked to match the output of autoscan. autoheader and autoconf were ran to update the configure files. The goal was that the resultant code should not be modified if the libraries/functions/defines were all present. The code for the cases where something is missing is workable, but can probably be improved. ifdefs newly added to the code include: HAVE_LIBAIO_H HAVE_MMAP64 HAVE_POSIX_MEMALIGN HAVE_RAND_R HAVE_SCHED_GETAFFINITY HAVE_SYS_SHM_H O_DSYNC _POSIX_BARRIERS STRERROR_R_CHAR_P Signed-off-by: Scott Anderson <saa@android.com>
2012-04-10Initial version of stressapptestScott Anderson
From http://stressapptest.googlecode.com/files/stressapptest-1.0.4_autoconf.tar.gz with the addition of MODULE_LICENSE_APACHE2 and NOTICE. Change-Id: I1f3e80fce2c500766bcc7a67d7d42e485ddf57b4
2012-04-04Initial empty repositoryandroid-cts-4.1_r4android-cts-4.1_r2android-cts-4.1_r1android-4.1.2_r2.1android-4.1.2_r2android-4.1.2_r1android-4.1.1_r6.1android-4.1.1_r6android-4.1.1_r5android-4.1.1_r4android-4.1.1_r3android-4.1.1_r2android-4.1.1_r1.1android-4.1.1_r1tools_r21jb-releasejb-mr0-releasejb-devAnatol Pomazau