summaryrefslogtreecommitdiff
path: root/apps/plugins/test_mem.c (follow)
Commit message (Collapse)AuthorAge
* test_mem: print clock speed in MHz so it fits on smaller screens.Michael Giacomelli2016-08-03
| | | | Change-Id: I81383c115bd9abac44ffc2ecdd8807855c80cf0e
* test_mem: silence -Wunused-but-set-variable warningRafaël Carré2013-06-13
| | | | Change-Id: I4a14c8b0cf1a8c822166ce01087b31c06722d8ae
* Higher precision for test_mem plugin.Andree Buschmann2011-01-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28939 a1c6a512-1295-4272-9138-f99709370657
* Changes to test_mem. Improve readability for smaller displays, increase loop ↵Andree Buschmann2010-12-02
| | | | | | count by a factor of 2, if needed, git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28726 a1c6a512-1295-4272-9138-f99709370657
* Change the gcc options for sdl builds to allow for gnu99 features, it needs ↵Thomas Martitz2010-12-02
| | | | | | 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
* Some improvements for test_mem:Thomas Martitz2010-12-02
| | | | | | | * 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
* Use MEM_ALIGN_ATTR in test_mem plugin.Andree Buschmann2010-11-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28681 a1c6a512-1295-4272-9138-f99709370657
* Use same loop count for writing and memset'ing in test_mem to have same ↵Andree Buschmann2010-11-14
| | | | | | precision in the result. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28583 a1c6a512-1295-4272-9138-f99709370657
* Second try: Introduce plugin_crt0.c that every plugin links.Thomas Martitz2010-08-24
| | | | | | | | | | | | | 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
* Revert "Introduce plugin_crt0.c that every plugin links."Thomas Martitz2010-08-23
| | | | | | 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
* Introduce plugin_crt0.c that every plugin links.Thomas Martitz2010-08-23
| | | | | | | | | | | | | 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
* Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with ↵Thomas Martitz2010-06-21
| | | | | | | | | | | #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
* Fix test_mem for the archos plugin buffer size and for charcell.Jens Arnold2010-05-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26273 a1c6a512-1295-4272-9138-f99709370657
* Correct new memcpy/memset functionality in test_mem plugin. Use appropriate ↵Andree Buschmann2010-05-24
| | | | | | clobber list for arm asm. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26255 a1c6a512-1295-4272-9138-f99709370657
* Add memset/memcpy benches to test_mem pluginMarcin Bukat2010-05-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26135 a1c6a512-1295-4272-9138-f99709370657
* Submit FS#11253. Rework of test_mem plugin to bench DRAM and IRAM. Also add ↵Andree Buschmann2010-05-09
| | | | | | ARM assembler and change the result format. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25918 a1c6a512-1295-4272-9138-f99709370657
* Use 'HZ' and remove 'volatile' as suggested by kugel.Andree Buschmann2010-05-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25893 a1c6a512-1295-4272-9138-f99709370657
* Changes in test_mem plugin: Use correct formula to calculate KB/s, ↵Andree Buschmann2010-05-07
| | | | | | 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
* test_mem: fix r25464: button_get() can't be used with actionsRafaël Carré2010-04-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25474 a1c6a512-1295-4272-9138-f99709370657
* Make test_mem.c and test_boost.c compilable on targets without BUTTON_UP.Andree Buschmann2010-04-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25464 a1c6a512-1295-4272-9138-f99709370657
* Move delta calculation up so that only the loop time counts.Thomas Martitz2010-04-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25452 a1c6a512-1295-4272-9138-f99709370657
* Memory benchmark plugin. Tests memory speeds and prints the kB/s.Thomas Martitz2010-04-03
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25450 a1c6a512-1295-4272-9138-f99709370657