aboutsummaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-08 13:30:45 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-08 13:30:45 +0000
commit820da73f790f30586e04f644ba8f0be7c663aa49 (patch)
tree11e7fbb3f6d7321aaaec3e132f6e2b2e57e5c3c4 /testing
parentdbf69e3625af1ec8c3da700ea8f06d105caf5449 (diff)
stm32 profiling wip
git-svn-id: svn://svn.berlios.de/openocd/trunk@1676 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'testing')
-rw-r--r--testing/profile.txt14
-rw-r--r--testing/profile_stm32.txt52
2 files changed, 52 insertions, 14 deletions
diff --git a/testing/profile.txt b/testing/profile.txt
deleted file mode 100644
index ee56e46c..00000000
--- a/testing/profile.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-old version rev 1606:
-
-single step: 59 ms
-flash 64k : 24kB/s
-mdb 0 128 : 44ms
-
-
-trunk rev 1662:
-
-single step: 99 ms
-flash 64k : 21.5kB/s
-mdb 0 128 : 72ms
-
-
diff --git a/testing/profile_stm32.txt b/testing/profile_stm32.txt
new file mode 100644
index 00000000..178d0189
--- /dev/null
+++ b/testing/profile_stm32.txt
@@ -0,0 +1,52 @@
+These are profile tests for the stm32 target.
+
+old version rev 1606:
+
+single step: 59 ms
+flash 64k : 24kB/s
+mdb 0 128 : 44ms
+
+
+trunk rev 1662:
+
+single step: 99 ms
+flash 64k : 21.5kB/s
+mdb 0 128 : 72ms
+
+
+How to run tests:
+
+poll off
+set before [flush_count]
+step
+set step_count [expr [flush_count]-$before]
+
+set before [flush_count]
+mdb 0 128
+set mem_count [expr [flush_count]-$before]
+
+set before [flush_count]
+flash erase_address 0x8000000 0x10000
+set erase_count [expr [flush_count]-$before]
+
+set before [flush_count]
+flash fillb 0x8000000 0x55 0x10000
+set flash_fill_count [expr [flush_count]-$before]
+
+puts "counts" ; puts "step $step_count" ; puts "mem $mem_count" ; puts "erase $erase_count" ; puts "flash fill $flash_fill_count"
+
+parport trunk rev 1675
+======================
+
+step 336
+mem 160
+erase 3076
+flash fill 32754
+
+verify_ircapture disable
+
+step 114
+mem 96
+erase 1547
+flash fill 15564
+