From f465dc0367534bf38c2c655cd147437848b67907 Mon Sep 17 00:00:00 2001 From: Yu Shan Emily Lau Date: Thu, 21 Jan 2010 12:38:02 -0800 Subject: [PATCH] Instead of caputre the memory footprint before and after the test. We would like to monitor the memory trend while the test is running. This can eliminate the overhead for the frist test case in creating the player. --- .../performance/MediaPlayerPerformance.java | 56 ++++++------------- 1 file changed, 17 insertions(+), 39 deletions(-) diff --git a/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java b/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java index 4cdc06d79c06d..88e171d3929a6 100644 --- a/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java +++ b/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/MediaPlayerPerformance.java @@ -255,13 +255,19 @@ public class MediaPlayerPerformance extends ActivityInstrumentationTestCase