diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2010-11-14 13:03:39 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2010-11-14 13:03:39 +0000 |
commit | 91beb7a46d45005f284b7662563664ef5c193e2f (patch) | |
tree | a64048b81fe31539a745fa697d1433bcfa3931f9 /apps/plugins/test_mem.c | |
parent | 0d5e470a451319e5c671b14cd5dfd350bc2d9285 (diff) | |
download | rockbox-91beb7a46d45005f284b7662563664ef5c193e2f.tar.gz rockbox-91beb7a46d45005f284b7662563664ef5c193e2f.zip |
Use same loop count for writing and memset'ing in test_mem to have same precision in the result.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28583 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/test_mem.c')
-rw-r--r-- | apps/plugins/test_mem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/test_mem.c b/apps/plugins/test_mem.c index 7758e35b98..df35893542 100644 --- a/apps/plugins/test_mem.c +++ b/apps/plugins/test_mem.c | |||
@@ -206,7 +206,7 @@ enum plugin_status plugin_start(const void* parameter) | |||
206 | #if defined(PLUGIN_USE_IRAM) | 206 | #if defined(PLUGIN_USE_IRAM) |
207 | read_test (buf_iram, BUF_SIZE, LOOP_REPEAT_IRAM, line++, "IRAM"); | 207 | read_test (buf_iram, BUF_SIZE, LOOP_REPEAT_IRAM, line++, "IRAM"); |
208 | write_test (buf_iram, BUF_SIZE, LOOP_REPEAT_IRAM, line++, "IRAM"); | 208 | write_test (buf_iram, BUF_SIZE, LOOP_REPEAT_IRAM, line++, "IRAM"); |
209 | memset_test(buf_iram, BUF_SIZE, LOOP_REPEAT_DRAM, line++, "IRAM"); | 209 | memset_test(buf_iram, BUF_SIZE, LOOP_REPEAT_IRAM, line++, "IRAM"); |
210 | memcpy_test(buf_iram, BUF_SIZE, LOOP_REPEAT_DRAM, line++, "IRAM"); | 210 | memcpy_test(buf_iram, BUF_SIZE, LOOP_REPEAT_DRAM, line++, "IRAM"); |
211 | #endif | 211 | #endif |
212 | 212 | ||