summaryrefslogtreecommitdiffstats
path: root/apps/plugins/test_mem.c
AgeCommit message (Collapse)AuthorFilesLines
2020-11-04test_mem: fix asm variant of read/write testMihail Zenkov1-26/+26
Change-Id: I865691e7540d4a6d18be34e8b81d0b3056837fa0
2020-07-24[4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice.Solomon Peachy1-3/+1
Note: I left behind lcd_bitmap in features.txt, because removing it would require considerable work in the manual and the translations. Change-Id: Ia8ca7761f610d9332a0d22a7d189775fb15ec88a
2019-05-31Fix IRAM overflow introduced in 7a8c9daf7efMarcin Bukat1-3/+8
There is no easy way to determine iram available for test_mem plugin and PLUGIN_BUFFER_SIZE is definitely wrong. Restore previous IRAM buffer sizing Change-Id: Ia563efd46497438c111efc8d7d2bf65904ca9847
2017-10-22test_mem: increase dram buffer if possible, cap number of iterationsAmaury Pouly1-3/+9
Change-Id: Ie034433184d0dfcd50e3b783b2b6d0b6a44d001f
2016-08-03test_mem: print clock speed in MHz so it fits on smaller screens.Michael Giacomelli1-1/+1
Change-Id: I81383c115bd9abac44ffc2ecdd8807855c80cf0e
2013-06-13test_mem: silence -Wunused-but-set-variable warningRafaël Carré1-0/+1
Change-Id: I4a14c8b0cf1a8c822166ce01087b31c06722d8ae
2011-01-01Higher precision for test_mem plugin.Andree Buschmann1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28939 a1c6a512-1295-4272-9138-f99709370657
2010-12-02Changes to test_mem. Improve readability for smaller displays, increase loop ↵Andree Buschmann1-20/+25
count by a factor of 2, if needed, git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28726 a1c6a512-1295-4272-9138-f99709370657
2010-12-02Change the gcc options for sdl builds to allow for gnu99 features, it needs ↵Thomas Martitz1-1/+3
some fixes in other places. Fixes test_mem compilation failure on cygwin. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28723 a1c6a512-1295-4272-9138-f99709370657
2010-12-02Some improvements for test_mem:Thomas Martitz1-72/+87
* increase loop count if tests are too fast to be accurate * refactor lots of code git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28720 a1c6a512-1295-4272-9138-f99709370657
2010-11-27Use MEM_ALIGN_ATTR in test_mem plugin.Andree Buschmann1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28681 a1c6a512-1295-4272-9138-f99709370657
2010-11-14Use same loop count for writing and memset'ing in test_mem to have same ↵Andree Buschmann1-1/+1
precision in the result. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28583 a1c6a512-1295-4272-9138-f99709370657
2010-08-24Second try: Introduce plugin_crt0.c that every plugin links.Thomas Martitz1-1/+1
It handles exit() properly, calling the handler also when the plugin returns normally (also make exit() more standard compliant while at it). It also holds PLUGIN_HEADER, so that it doesn't need to be in each plugin anymore. To work better together with callbacks passed to rb->default_event_handler_ex() introduce exit_on_usb() which will call the exit handler before showing the usb screen and exit() after it. In most cases rb->default_event_handler_ex() was passed a callback which was manually called at all other return points. This can now be done via atexit(). In future plugin_crt0.c could also handle clearing bss, initializing iram and more. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27873 a1c6a512-1295-4272-9138-f99709370657
2010-08-23Revert "Introduce plugin_crt0.c that every plugin links."Thomas Martitz1-1/+1
Too much errors and no time to fix them now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27863 a1c6a512-1295-4272-9138-f99709370657
2010-08-23Introduce plugin_crt0.c that every plugin links.Thomas Martitz1-1/+1
It handles exit() properly, calling the handler also when the plugin returns normally (also it makes exit() more standard compliant while at it). It also holds PLUGIN_HEADER, so that it doesn't need to be in each plugin anymore. To work better together with callbacks passed to rb->default_event_handler_ex introduce exit_on_usb() which will call the exit handler before showing the usb screen and exit() after it. In most cases it was passed a callback which was manually called at all other return points. This can now be done via atexit(). In future plugin_crt0.c could also handle clearing bss, initializing iram and more. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27862 a1c6a512-1295-4272-9138-f99709370657
2010-06-21Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with ↵Thomas Martitz1-1/+1
#if (CONFIG_PLATFORM & PLATFORM_HOSTED) (or equivalently). The simulator defines PLATFORM_HOSTED, as RaaA will do (RaaA will not define SIMULATOR). The new define is to (de-)select code to compile on hosted platforms generally. Should be no functional change to targets or the simulator. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27019 a1c6a512-1295-4272-9138-f99709370657
2010-05-24Fix test_mem for the archos plugin buffer size and for charcell.Jens Arnold1-0/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26273 a1c6a512-1295-4272-9138-f99709370657
2010-05-24Correct new memcpy/memset functionality in test_mem plugin. Use appropriate ↵Andree Buschmann1-15/+19
clobber list for arm asm. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26255 a1c6a512-1295-4272-9138-f99709370657
2010-05-18Add memset/memcpy benches to test_mem pluginMarcin Bukat1-0/+40
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26135 a1c6a512-1295-4272-9138-f99709370657
2010-05-09Submit FS#11253. Rework of test_mem plugin to bench DRAM and IRAM. Also add ↵Andree Buschmann1-40/+121
ARM assembler and change the result format. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25918 a1c6a512-1295-4272-9138-f99709370657
2010-05-07Use 'HZ' and remove 'volatile' as suggested by kugel.Andree Buschmann1-3/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25893 a1c6a512-1295-4272-9138-f99709370657
2010-05-07Changes in test_mem plugin: Use correct formula to calculate KB/s, ↵Andree Buschmann1-8/+20
reasonable unrolling of read/write loops to better match memory bandwidth. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25892 a1c6a512-1295-4272-9138-f99709370657
2010-04-05test_mem: fix r25464: button_get() can't be used with actionsRafaël Carré1-2/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25474 a1c6a512-1295-4272-9138-f99709370657
2010-04-03Make test_mem.c and test_boost.c compilable on targets without BUTTON_UP.Andree Buschmann1-4/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25464 a1c6a512-1295-4272-9138-f99709370657
2010-04-03Move delta calculation up so that only the loop time counts.Thomas Martitz1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25452 a1c6a512-1295-4272-9138-f99709370657
2010-04-03Memory benchmark plugin. Tests memory speeds and prints the kB/s.Thomas Martitz1-0/+98
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25450 a1c6a512-1295-4272-9138-f99709370657