Board: Renesas EDOSK-2674 CPU: Renesas H8S/2674 Startup, main stack : stack used 74 size 2048 Startup : Interrupt stack used 115 size 4096 Startup : Idlethread stack used 40 size 2048 eCos Kernel Timings Notes: all times are in microseconds (.000001) unless otherwise stated Reading the hardware clock takes 10 'ticks' overhead ... this value will be factored out of all other measurements Clock interrupt took 111.72 microseconds (230 raw clock ticks) Testing parameters: Clock samples: 32 Threads: 64 Thread switches: 128 Mutexes: 32 Mailboxes: 32 Semaphores: 32 Scheduler operations: 128 Counters: 32 Flags: 32 Alarms: 32 Confidence Ave Min Max Var Ave Min Function ====== ====== ====== ====== ========== ======== 132.92 96.97 168.73 18.05 50% 25% Create thread 21.33 21.33 21.33 0.00 100% 100% Yield thread [all suspended] 20.25 19.88 20.36 0.17 76% 23% Suspend [suspended] thread 20.61 20.36 20.85 0.24 100% 50% Resume thread 35.13 34.91 35.39 0.24 54% 54% Set priority 3.17 2.91 3.39 0.24 54% 45% Get priority 84.27 83.88 84.36 0.15 81% 18% Kill [suspended] thread 21.57 21.33 21.82 0.24 51% 51% Yield [no other] thread 41.27 41.21 45.09 0.12 98% 98% Resume [suspended low prio] thread 19.92 19.39 20.36 0.08 89% 1% Resume [runnable low prio] thread 33.23 32.97 35.39 0.27 98% 51% Suspend [runnable] thread 21.37 21.33 21.82 0.07 92% 92% Yield [only low prio] thread 20.22 19.88 20.36 0.20 70% 29% Suspend [runnable->not runnable] 83.39 83.39 83.39 0.00 100% 100% Kill [runnable] thread 50.38 49.94 50.91 0.11 84% 12% Destroy [dead] thread 105.33 104.73 108.61 0.26 67% 9% Destroy [runnable] thread 132.36 131.88 152.24 0.63 98% 98% Resume [high priority] thread 50.81 49.94 51.39 0.17 76% 0% Thread switch 2.32 1.94 2.42 0.16 78% 21% Scheduler lock 12.62 12.61 13.09 0.03 96% 96% Scheduler unlock [0 threads] 12.62 12.61 13.09 0.04 96% 96% Scheduler unlock [1 suspended] 12.59 12.12 13.09 0.05 92% 5% Scheduler unlock [many suspended] 12.63 12.61 13.09 0.04 95% 95% Scheduler unlock [many low prio] 5.92 5.82 6.30 0.17 78% 78% Init mutex 25.06 24.73 25.21 0.21 68% 31% Lock [unlocked] mutex 33.89 33.45 34.91 0.16 75% 18% Unlock [locked] mutex 22.51 22.30 22.79 0.24 56% 56% Trylock [unlocked] mutex 18.23 17.94 18.42 0.23 59% 40% Trylock [locked] mutex 4.68 4.36 4.85 0.22 65% 34% Destroy mutex 177.59 176.97 177.94 0.22 65% 3% Unlock/Lock mutex 11.11 10.67 11.15 0.08 90% 9% Create mbox 2.47 1.94 2.91 0.19 65% 12% Peek [empty] mbox 28.55 28.12 29.09 0.13 81% 15% Put [first] mbox 2.45 1.94 2.91 0.23 56% 18% Peek [1 msg] mbox 28.58 28.12 29.09 0.09 87% 9% Put [second] mbox 2.45 1.94 2.91 0.14 75% 9% Peek [2 msgs] mbox 28.33 28.12 28.61 0.24 56% 56% Get [first] mbox 28.33 28.12 28.61 0.24 56% 56% Get [second] mbox 25.95 25.70 26.18 0.24 53% 46% Tryput [first] mbox 23.89 23.76 24.24 0.20 71% 71% Peek item [non-empty] mbox 31.21 31.03 31.52 0.23 62% 62% Tryget [non-empty] mbox 21.76 21.33 22.30 0.13 81% 15% Peek item [empty] mbox 21.70 21.33 22.30 0.20 68% 28% Tryget [empty] mbox 3.30 2.91 3.39 0.15 81% 18% Waiting to get mbox 3.18 2.91 3.39 0.24 56% 43% Waiting to put mbox 28.51 28.12 28.61 0.15 81% 18% Delete mbox 95.15 94.55 95.52 0.23 62% 6% Put/Get mbox 4.76 4.36 4.85 0.15 81% 18% Init semaphore 19.06 18.91 19.39 0.21 68% 68% Post [0] semaphore 21.73 21.33 21.82 0.15 81% 18% Wait [1] semaphore 17.85 17.45 17.94 0.15 81% 18% Trywait [0] semaphore 18.21 17.94 18.42 0.24 56% 43% Trywait [1] semaphore 5.79 5.33 6.30 0.09 87% 9% Peek semaphore 4.23 3.88 4.36 0.20 71% 28% Destroy semaphore 99.24 98.91 99.39 0.21 68% 31% Post/Wait semaphore 8.82 8.73 9.21 0.15 81% 81% Create counter 5.83 5.82 6.30 0.03 96% 96% Get counter value 5.20 4.85 5.33 0.20 71% 28% Set counter value 32.73 32.48 32.97 0.24 100% 50% Tick counter 4.82 4.36 5.33 0.11 81% 12% Delete counter 4.76 4.36 4.85 0.15 81% 18% Init flag 19.41 19.39 19.88 0.03 96% 96% Destroy flag 17.00 16.48 17.45 0.08 87% 3% Mask bits in flag 20.89 20.85 21.33 0.08 90% 90% Set bits in flag [no waiters] 32.50 32.00 32.97 0.09 84% 6% Wait for flag [AND] 32.24 32.00 32.48 0.24 100% 50% Wait for flag [OR] 33.09 32.97 33.45 0.18 75% 75% Wait for flag [AND/CLR] 32.82 32.48 32.97 0.21 68% 31% Wait for flag [OR/CLR] 1.42 0.97 1.94 0.14 75% 15% Peek on flag 16.23 16.00 16.48 0.24 53% 53% Create alarm 47.71 47.52 48.00 0.23 59% 59% Initialize alarm 17.09 16.97 17.45 0.18 75% 75% Disable alarm 40.36 40.24 40.73 0.18 75% 75% Enable alarm 21.15 20.85 21.33 0.23 62% 37% Delete alarm 39.94 39.76 40.24 0.23 62% 62% Tick counter [1 alarm] 285.52 282.67 370.42 5.31 96% 96% Tick counter [many alarms] 74.35 74.18 74.67 0.22 65% 65% Tick & fire counter [1 alarm] 1606.42 1591.27 1689.21 24.05 84% 84% Tick & fire counters [>1 together] 326.53 323.39 411.15 5.29 96% 96% Tick & fire counters [>1 separately] 98.84 97.94 161.45 0.99 99% 99% Alarm latency [0 threads] 110.97 97.94 161.45 10.43 50% 54% Alarm latency [2 threads] 114.61 97.94 165.33 10.84 46% 31% Alarm latency [many threads] 213.20 201.70 530.42 4.96 98% 0% Alarm -> thread resume latency 19 0 145 (main stack: 943) Thread stack used (956 total) All done, main stack : stack used 943 size 2048 All done : Interrupt stack used 159 size 4096 All done : Idlethread stack used 133 size 2048 Timing complete - 29160 ms total PASS: EXIT: