benchmark: context_switch testcase refactoring.
authorarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 18 May 2010 12:22:09 +0000 (12:22 +0000)
committerarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 18 May 2010 12:22:09 +0000 (12:22 +0000)
commitd1fc2adc910b0ea7b33b936b062c4aa710819bbb
tree14b18394344e7eb469236aa23b77d86400191b3b
parent8e10a209b0401d9393f4f6418bdf1fec4a875a24
benchmark: context_switch testcase refactoring.

 - fix: be sure to print the context switch timer when low-priority
   process and high-priority process have completed their run
 - use only SIG_USER0 to synchronize the processes
 - reduce processes' stack size

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3709 38d2e660-2303-0410-9eaa-f027e97ec537
bertos/benchmark/context_switch.c