diff options
Diffstat (limited to 'java/tests/RsTest_11/src/com/android/rs/test/shared.rsh')
-rw-r--r-- | java/tests/RsTest_11/src/com/android/rs/test/shared.rsh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/java/tests/RsTest_11/src/com/android/rs/test/shared.rsh b/java/tests/RsTest_11/src/com/android/rs/test/shared.rsh index 6d34481c..b548e120 100644 --- a/java/tests/RsTest_11/src/com/android/rs/test/shared.rsh +++ b/java/tests/RsTest_11/src/com/android/rs/test/shared.rsh @@ -12,11 +12,11 @@ typedef struct TestResult_s { static int64_t g_time; -static void start(void) { +static inline void start(void) { g_time = rsUptimeMillis(); } -static float end(uint32_t idx) { +static inline float end(uint32_t idx) { int64_t t = rsUptimeMillis() - g_time; //g_results[idx].time = t; //rsDebug("test time", (int)t); @@ -35,4 +35,3 @@ do { \ /* These constants must match those in UnitTest.java */ static const int RS_MSG_TEST_PASSED = 100; static const int RS_MSG_TEST_FAILED = 101; - |