📄 real-time-characterization.sgml
字号:
7.05 6.40 7.20 0.24 81% 18% Init semaphore 15.55 15.20 16.00 0.39 56% 56% Post [0] semaphore 17.35 16.80 17.60 0.34 68% 31% Wait [1] semaphore 14.60 14.40 15.20 0.30 75% 75% Trywait [0] semaphore 14.20 13.60 14.40 0.30 75% 25% Trywait [1] semaphore 4.55 4.00 4.80 0.34 68% 31% Peek semaphore 3.75 3.20 4.00 0.34 68% 31% Destroy semaphore 70.85 70.40 71.20 0.39 56% 43% Post/Wait semaphore 6.05 5.60 6.40 0.39 56% 43% Create counter 2.25 1.60 2.40 0.24 81% 18% Get counter value 2.25 1.60 2.40 0.24 81% 18% Set counter value 19.70 19.20 20.00 0.37 62% 37% Tick counter 3.45 3.20 4.00 0.34 68% 68% Delete counter 9.05 8.80 9.60 0.34 68% 68% Create alarm 29.60 29.60 29.60 0.00 100% 100% Initialize alarm 2.15 1.60 2.40 0.34 68% 31% Disable alarm 29.35 28.80 29.60 0.34 68% 31% Enable alarm 5.10 4.80 5.60 0.37 62% 62% Delete alarm 23.20 23.20 23.20 0.00 100% 100% Tick counter [1 alarm] 138.00 137.60 138.40 0.40 100% 50% Tick counter [many alarms] 40.40 40.00 40.80 0.40 100% 50% Tick & fire counter [1 alarm] 704.25 697.60 804.00 12.47 93% 93% Tick & fire counters [>1 together] 155.20 155.20 155.20 0.00 100% 100% Tick & fire counters [>1 separately] 105.20 104.80 151.20 0.76 99% 94% Alarm latency [0 threads] 117.57 104.80 149.60 7.13 57% 25% Alarm latency [2 threads] 117.49 104.80 148.80 7.10 58% 26% Alarm latency [many threads] 192.59 177.60 316.00 1.93 98% 0% Alarm -> thread resume latency 22.10 21.60 24.00 0.00 Clock/interrupt latency 38.69 32.80 61.60 0.00 Clock DSR latency 297 276 316 (main stack: 752) Thread stack used (1120 total)All done, main stack : stack used 752 size 2400All done : Interrupt stack used 288 size 4096All done : Idlethread stack used 272 size 2048Timing complete - 30350 ms totalPASS:<Basic timing OK>EXIT:<done> </LITERALLAYOUT></SECT2><SECT2><TITLE>CPU : ARM 920T 20 MHz</TITLE><LITERALLAYOUT CLASS="MONOSPACED">Board: ARM PID Evaluation BoardCPU : ARM 920T 20 MHzStartup, main stack : stack used 404 size 2400Startup : Interrupt stack used 136 size 4096Startup : Idlethread stack used 84 size 2048eCos Kernel TimingsNotes: all times are in microseconds (.000001) unless otherwise statedReading the hardware clock takes 15 'ticks' overhead... this value will be factored out of all other measurementsClock interrupt took 291.41 microseconds (364 raw clock ticks)Testing parameters: Clock samples: 32 Threads: 50 Thread switches: 128 Mutexes: 32 Mailboxes: 32 Semaphores: 32 Scheduler operations: 128 Counters: 32 Alarms: 32 Confidence Ave Min Max Var Ave Min Function ====== ====== ====== ====== ========== ======== 257.78 168.00 568.00 48.70 56% 28% Create thread 50.21 49.60 50.40 0.29 76% 24% Yield thread [all suspended] 36.26 36.00 36.80 0.35 68% 68% Suspend [suspended] thread 37.20 36.80 37.60 0.40 100% 50% Resume thread 56.24 56.00 56.80 0.34 70% 70% Set priority 5.20 4.80 5.60 0.40 100% 50% Get priority 122.75 122.40 123.20 0.39 56% 56% Kill [suspended] thread 50.19 49.60 50.40 0.31 74% 26% Yield [no other] thread 69.49 66.40 69.60 0.21 92% 2% Resume [suspended low prio] thread 37.01 36.80 37.60 0.31 74% 74% Resume [runnable low prio] thread 64.75 55.20 65.60 0.38 80% 2% Suspend [runnable] thread 50.19 49.60 50.40 0.31 74% 26% Yield [only low prio] thread 36.24 36.00 36.80 0.34 70% 70% Suspend [runnable->not runnable] 122.75 122.40 123.20 0.39 56% 56% Kill [runnable] thread 67.76 67.20 68.00 0.34 70% 30% Destroy [dead] thread 167.07 158.40 168.00 0.35 92% 2% Destroy [runnable] thread 213.49 212.00 249.60 1.46 84% 90% Resume [high priority] thread 122.81 120.00 389.60 4.17 99% 99% Thread switch 4.70 4.00 4.80 0.17 87% 12% Scheduler lock 23.70 23.20 24.00 0.37 62% 37% Scheduler unlock [0 threads] 23.60 23.20 24.00 0.40 100% 50% Scheduler unlock [1 suspended] 23.70 23.20 24.00 0.37 62% 37% Scheduler unlock [many suspended] 23.60 23.20 24.00 0.40 100% 50% Scheduler unlock [many low prio] 15.65 15.20 16.00 0.39 56% 43% Init mutex 42.40 42.40 42.40 0.00 100% 100% Lock [unlocked] mutex 45.37 44.80 46.40 0.36 65% 31% Unlock [locked] mutex 39.20 39.20 39.20 0.00 100% 100% Trylock [unlocked] mutex 34.45 34.40 35.20 0.09 93% 93% Trylock [locked] mutex 8.00 8.00 8.00 0.00 100% 100% Destroy mutex 284.42 284.00 284.80 0.40 53% 46% Unlock/Lock mutex 29.40 28.80 29.60 0.30 75% 25% Create mbox 3.35 3.20 4.00 0.24 81% 81% Peek [empty] mbox 49.35 48.80 49.60 0.34 68% 31% Put [first] mbox 3.35 3.20 4.00 0.24 81% 81% Peek [1 msg] mbox 49.35 48.80 49.60 0.34 68% 31% Put [second] mbox 3.35 3.20 4.00 0.24 81% 81% Peek [2 msgs] mbox 49.15 48.80 49.60 0.39 56% 56% Get [first] mbox 49.15 48.80 49.60 0.39 56% 56% Get [second] mbox 47.80 47.20 48.00 0.30 75% 25% Tryput [first] mbox 41.40 40.80 41.60 0.30 75% 25% Peek item [non-empty] mbox 49.40 48.80 49.60 0.30 75% 25% Tryget [non-empty] mbox 40.15 40.00 40.80 0.24 81% 81% Peek item [empty] mbox 40.95 40.80 41.60 0.24 81% 81% Tryget [empty] mbox 4.05 4.00 4.80 0.09 93% 93% Waiting to get mbox 4.05 4.00 4.80 0.09 93% 93% Waiting to put mbox 45.60 45.60 45.60 0.00 100% 100% Delete mbox 153.27 152.80 153.60 0.39 59% 40% Put/Get mbox 16.80 16.80 16.80 0.00 100% 100% Init semaphore 36.60 36.00 36.80 0.30 75% 25% Post [0] semaphore 39.60 39.20 40.00 0.40 100% 50% Wait [1] semaphore 34.80 34.40 35.20 0.40 100% 50% Trywait [0] semaphore 33.35 32.80 33.60 0.34 68% 31% Trywait [1] semaphore 10.30 9.60 10.40 0.17 87% 12% Peek semaphore 8.80 8.80 8.80 0.00 100% 100% Destroy semaphore 166.92 166.40 167.20 0.36 65% 34% Post/Wait semaphore 13.60 13.60 13.60 0.00 100% 100% Create counter 4.85 4.80 5.60 0.09 93% 93% Get counter value 4.80 4.80 4.80 0.00 100% 100% Set counter value 45.25 44.80 45.60 0.39 56% 43% Tick counter 7.75 7.20 8.00 0.34 68% 31% Delete counter 20.80 20.80 20.80 0.00 100% 100% Create alarm 69.30 68.80 69.60 0.37 62% 37% Initialize alarm 4.80 4.80 4.80 0.00 100% 100% Disable alarm 67.35 67.20 68.00 0.24 81% 81% Enable alarm 11.80 11.20 12.00 0.30 75% 25% Delete alarm 54.80 54.40 55.20 0.40 100% 50% Tick counter [1 alarm] 372.35 363.20 652.80 17.53 96% 96% Tick counter [many alarms] 95.50 95.20 96.00 0.37 62% 62% Tick & fire counter [1 alarm] 1757.92 1707.20 1996.80 81.43 81% 81% Tick & fire counters [>1 together] 404.37 404.00 404.80 0.40 53% 53% Tick & fire counters [>1 separately] 256.57 254.40 395.20 2.17 98% 97% Alarm latency [0 threads] 296.60 255.20 359.20 23.53 53% 31% Alarm latency [2 threads] 307.49 265.60 357.60 27.52 53% 53% Alarm latency [many threads] 467.04 432.00 788.80 5.03 97% 1% Alarm -> thread resume latency 55.63 54.40 60.80 0.00 Clock/interrupt latency 101.23 80.80 1433.60 0.00 Clock DSR latency 316 316 316 (main stack: 752) Thread stack used (1120 total)All done, main stack : stack used 752 size 2400All done : Interrupt stack used 288 size 4096All done : Idlethread stack used 272 size 2048Timing complete - 30780 ms totalPASS:<Basic timing OK>EXIT:<done> </LITERALLAYOUT></SECT2></SECT1><!-- ==================================================== --><SECT1 id="rt-arm-iq80310"><TITLE>Board: Intel IQ80310 XScale Development Kit</TITLE><LITERALLAYOUT CLASS="MONOSPACED">Board: Intel IQ80310 XScale Development KitCPU: Intel XScale 600MHzStartup, main stack : stack used 388 size 2400Startup : Interrupt stack used 148 size 4096Startup : Idlethread stack used 76 size 1120eCos Kernel TimingsNotes: all times are in microseconds (.000001) unless otherwise statedReading the hardware clock takes 73 'ticks' overhead... this value will be factored out of all other measurementsClock interrupt took 12.11 microseconds (399 raw clock ticks)Testing parameters: Clock samples: 32 Threads: 64 Thread switches: 128 Mutexes: 32 Mailboxes: 32 Semaphores: 32 Scheduler operations: 128 Counters: 32 Alarms: 32 Confidence Ave Min Max Var Ave Min Function ====== ====== ====== ====== ========== ======== 6.53 5.48 8.55 0.50 53% 23% Create thread 0.37 0.03 3.24 0.18 87% 1% Yield thread [all suspended] 0.24 0.00 2.06 0.12 87% 1% Suspend [suspended] thread 0.25 0.00 0.73 0.06 71% 1% Resume thread 0.36 0.09 0.82 0.10 89% 1% Set priority 0.03 0.00 0.42 0.05 90% 90% Get priority 1.07 0.52 6.39 0.18 92% 1% Kill [suspended] thread 0.33 0.06 0.91 0.08 78% 3% Yield [no other] thread 0.55 0.03 1.06 0.09 85% 1% Resume [suspended low prio] thread 0.28 0.00 1.79 0.11 84% 4% Resume [runnable low prio] thread 0.43 0.00 1.00 0.12 76% 1% Suspend [runnable] thread 0.31 0.00 1.24 0.09 82% 4% Yield [only low prio] thread 0.21 0.00 0.42 0.04 73% 1% Suspend [runnable->not runnable] 1.00 0.88 1.45 0.04 78% 4% Kill [runnable] thread 0.59 0.42 3.97 0.13 81% 87% Destroy [dead] thread 1.43 1.27 1.94 0.07 78% 7% Destroy [runnable] thread 3.12 2.58 5.09 0.33 56% 34% Resume [high priority] thread 0.87 0.36 1.39 0.07 86% 0% Thread switch 0.15 0.00 1.39 0.21 81% 81% Scheduler lock 0.16 0.00 0.64 0.08 85% 7% Scheduler unlock [0 threads] 0.16 0.00 0.64 0.08 75% 8% Scheduler unlock [1 suspended] 0.16 0.00 0.70 0.08 78% 6% Scheduler unlock [many suspended] 0.16 0.00 0.64 0.07 81% 4% Scheduler unlock [many low prio] 0.45 0.00 1.39 0.34 56% 46% Init mutex 0.43 0.18 3.27 0.23 87% 87% Lock [unlocked] mutex 0.48 0.09 3.88 0.26 84% 71% Unlock [locked] mutex 0.35 0.21 2.24 0.21 87% 84% Trylock [unlocked] mutex 0.26 0.00 0.67 0.13 78% 9% Trylock [locked] mutex 0.21 0.00 1.27 0.24 78% 75% Destroy mutex 2.58 2.09 3.09 0.13 75% 9% Unlock/Lock mutex 0.99 0.21 2.48 0.41 65% 28% Create mbox 0.04 0.00 0.39 0.07 90% 87% Peek [empty] mbox 0.47 0.27 3.48 0.29 90% 78% Put [first] mbox 0.02 0.00 0.39 0.03 90% 90% Peek [1 msg] mbox 0.29 0.15 0.58 0.04 68% 3% Put [second] mbox 0.02 0.00 0.45 0.04 93% 93% Peek [2 msgs] mbox 0.48 0.21 3.67 0.26 84% 87% Get [first] mbox 0.35 0.09 0.82 0.11 75% 3% Get [second] mbox 0.50 0.21 3.18 0.33 90% 68% Tryput [first] mbox 0.39 0.15 1.39 0.19 78% 68% Peek item [non-empty] mbox 0.43 0.18 3.33 0.23 87% 90% Tryget [non-empty] mbox 0.28 0.03 0.79 0.06 68% 3% Peek item [empty] mbox 0.28 0.21 0.58 0.05 71% 65% Tryget [empty] mbox 0.01 0.00 0.36 0.02 96% 90% Waiting to get mbox 0.05 0.00 0.45 0.09 87% 84% Waiting to put mbox 0.42 0.09 2.88 0.20 84% 12% Delete mbox 1.39 1.27 2.39 0.14 87% 87% Put/Get mbox 0.35 0.00 1.36 0.45 75% 68% Init semaphore 0.19 0.00 0.45 0.04 81% 3% Post [0] semaphore
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -