eCos User Guide
Prev | Appendix B. Real-time characterization | Next

# Board: CQ CqREEK SH3 Evaluation Board (cq7708)

    Board: CQ CqREEK SH3 Evaluation Board (cq7708)

    CPU: Hitachi SH3/7708 60MHz

    Startup, main stack             : stack used   448 size  4112
    Startup              :  Interrupt stack used    80 size  4096
    Startup              : Idlethread stack used    96 size  2048

    eCos Kernel Timings
    Notes: all times are in microseconds (.000001) unless otherwise stated

    Reading the hardware clock takes 2 `ticks' overhead
    ... this value will be factored out of all other measurements
    Clock interrupt took   19.17 microseconds (71 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
      ======  ======  ======  ====== ========== ========
       20.62   14.40   26.93    3.23   48%  26% Create thread
        3.16    2.93    4.27    0.09   78%  20% Yield thread [all suspended]
        2.91    2.40    5.87    0.17   57%   1% Suspend [suspended] thread
        2.73    2.40    6.40    0.19   64%  15% Resume thread
        4.05    3.73   11.47    0.27   62%  90% Set priority
        0.82    0.27    2.67    0.17   56%   3% Get priority
        9.07    8.53   24.27    0.51   78%  71% Kill [suspended] thread
        3.19    2.93    7.20    0.14   70%  28% Yield [no other] thread
        5.45    4.53   17.87    0.49   78%  17% Resume [suspended low prio] thread
        2.67    2.40    5.07    0.15   56%  28% Resume [runnable low prio] thread
        4.95    4.27   11.47    0.28   82%  14% Suspend [runnable] thread
        3.15    2.93    4.53    0.11   73%  25% Yield [only low prio] thread
        2.82    2.40    5.60    0.21   84%  10% Suspend [runnable->not runnable]
        8.92    8.00   24.27    0.51   84%  14% Kill [runnable] thread
        5.10    4.53   12.00    0.27   59%  39% Destroy [dead] thread
       11.81   10.93   37.33    0.81   87%  95% Destroy [runnable] thread
       22.15   20.80   54.67    1.27   92%  92% Resume [high priority] thread
        6.85    6.67   13.60    0.19   99%  50% Thread switch

        0.27    0.27    1.07    0.01   99%  99% Scheduler lock
        1.74    1.60    2.67    0.14   99%  50% Scheduler unlock [0 threads]
        1.74    1.60    2.93    0.14   99%  50% Scheduler unlock [1 suspended]
        1.81    1.60    4.27    0.11   72%  26% Scheduler unlock [many suspended]
        1.75    1.60    4.00    0.15   50%  49% Scheduler unlock [many low prio]

        1.22    1.07    4.27    0.23   96%  78% Init mutex
        3.18    2.93    7.20    0.27   96%  53% Lock [unlocked] mutex
        3.40    3.20    8.00    0.31   96%  96% Unlock [locked] mutex
        2.77    2.40    5.87    0.22   87%   9% Trylock [unlocked] mutex
        2.35    2.13    3.47    0.14   65%  31% Trylock [locked] mutex
        0.78    0.53    2.67    0.14   68%  28% Destroy mutex
       22.80   22.40   28.80    0.51   96%  71% Unlock/Lock mutex

        2.61    2.40    6.13    0.26   96%  62% Create mbox
        0.52    0.27    1.60    0.19   40%  37% Peek [empty] mbox
        3.54    3.20    7.73    0.35   93%  78% Put [first] mbox
        0.50    0.27    1.60    0.17   46%  37% Peek [1 msg] mbox
        3.62    3.20    6.93    0.34   59%  65% Put [second] mbox
        0.52    0.27    2.13    0.23   31%  43% Peek [2 msgs] mbox
        3.93    3.47   10.13    0.43   65%  65% Get [first] mbox
        3.92    3.47    7.47    0.40   56%  56% Get [second] mbox
        3.37    2.93    6.93    0.36   59%  68% Tryput [first] mbox
        3.30    2.67    6.93    0.38   84%  40% Peek item [non-empty] mbox
        3.93    3.47    9.33    0.44   65%  71% Tryget [non-empty] mbox
        2.94    2.67    6.13    0.25   43%  43% Peek item [empty] mbox
        3.23    2.93    6.67    0.27   56%  84% Tryget [empty] mbox
        0.58    0.27    2.67    0.20   62%  21% Waiting to get mbox
        0.55    0.27    1.87    0.14   62%  21% Waiting to put mbox
        3.82    3.47    9.87    0.39   96%  93% Delete mbox
       13.35   12.80   21.33    0.50   87%  78% Put/Get mbox

        1.22    1.07    2.93    0.19   96%  59% Init semaphore
        2.42    2.13    4.27    0.12   81%  15% Post [0] semaphore
        2.96    2.67    5.07    0.16   68%  21% Wait [1] semaphore
        2.37    2.13    4.53    0.17   62%  34% Trywait [0] semaphore
        2.29    2.13    3.47    0.17   96%  53% Trywait [1] semaphore
        0.66    0.53    2.13    0.17   96%  68% Peek semaphore
        0.81    0.53    2.93    0.13   75%  21% Destroy semaphore
       14.47   14.13   21.33    0.43   96%  96% Post/Wait semaphore

        1.44    1.07    3.47    0.29   56%  71% Create counter
        0.62    0.27    1.07    0.14   62%   3% Get counter value
        0.56    0.27    1.60    0.17   50%  25% Set counter value
        3.39    3.20    4.27    0.16   53%  40% Tick counter
        0.83    0.53    1.87    0.14   68%  15% Delete counter

        2.02    1.87    4.00    0.21   93%  68% Create alarm
        5.06    4.27   11.73    0.46   78%  18% Initialize alarm
        0.73    0.27    2.40    0.22   84%   3% Disable alarm
        4.82    4.27   11.47    0.48   81%  65% Enable alarm
        1.19    0.80    3.47    0.22   87%   9% Delete alarm
        3.63    3.47    5.60    0.20   96%  59% Tick counter [1 alarm]
       15.01   14.93   16.53    0.13   87%  87% Tick counter [many alarms]
        5.50    5.33    8.00    0.22   96%  65% Tick & fire counter [1 alarm]
       74.27   74.13   76.80    0.21   96%  78% Tick & fire counters [>1 together]
       16.90   16.53   19.47    0.23   81%  15% Tick & fire counters [>1 separately]
       16.70   16.53   36.27    0.33   98%  98% Alarm latency [0 threads]
       17.85   16.53   34.40    0.47   73%   0% Alarm latency [2 threads]
       63.26   58.40   80.00    2.64   52%  32% Alarm latency [many threads]
       30.37   29.33  124.80    1.68   98%  97% Alarm -> thread resume latency

        7.37    5.07   17.87    0.00            Clock/interrupt latency

        9.00    4.53   26.93    0.00            Clock DSR latency

      106       0     376  (main stack:   764)  Thread stack used (992 total)
    All done, main stack            : stack used   764 size  4112
    All done             :  Interrupt stack used   176 size  4096
    All done             : Idlethread stack used   352 size  2048

    Timing complete - 30310 ms total

    PASS:<Basic timing OK>
    EXIT:<done>

Prev | Home | Next
Board: Hitachi EDK7708 | Up | Board: Hitachi HS7729PCI HS7729 SH3