source: rtems/doc/supplements/hppa1_1/timedata.t @ bf37bef

4.104.114.84.95
Last change on this file since bf37bef was bf37bef, checked in by Joel Sherrill <joel.sherrill@…>, on 10/19/98 at 17:17:18

Timing Chapter is now shared and menu structure generated.

Cpumodel.texi is now generated.

  • Property mode set to 100644
File size: 4.4 KB
Line 
1@c
2@c  COPYRIGHT (c) 1988-1998.
3@c  On-Line Applications Research Corporation (OAR).
4@c  All rights reserved.
5@c
6@c  $Id$
7@c
8
9@ifinfo
10@node HP-7100 Timing Data, HP-7100 Timing Data Introduction, Timing Specification Terminology, Top
11@end ifinfo
12@chapter HP-7100 Timing Data
13@ifinfo
14@menu
15* HP-7100 Timing Data Introduction::
16* HP-7100 Timing Data Hardware Platform::
17* HP-7100 Timing Data Interrupt Latency::
18* HP-7100 Timing Data Context Switch::
19* HP-7100 Timing Data Directive Times::
20@end menu
21@end ifinfo
22
23@ifinfo
24@node HP-7100 Timing Data Introduction, HP-7100 Timing Data Hardware Platform, HP-7100 Timing Data, HP-7100 Timing Data
25@end ifinfo
26@section Introduction
27
28The timing data for the PA-RISC version of RTEMS is
29provided along with the target dependent aspects concerning the
30gathering of the timing data.  The hardware platform used to
31gather the times is described to give the reader a better
32understanding of each directive time provided.  Also, provided
33is a description of the  interrupt latency and the context
34switch times as they pertain to the PA-RISC version of RTEMS.
35
36@ifinfo
37@node HP-7100 Timing Data Hardware Platform, HP-7100 Timing Data Interrupt Latency, HP-7100 Timing Data Introduction, HP-7100 Timing Data
38@end ifinfo
39@section Hardware Platform
40
41No directive execution times are reported for the
42HP-7100 because the target platform was proprietary and
43executions times could not be released.
44
45@ifinfo
46@node HP-7100 Timing Data Interrupt Latency, HP-7100 Timing Data Context Switch, HP-7100 Timing Data Hardware Platform, HP-7100 Timing Data
47@end ifinfo
48@section Interrupt Latency
49
50The maximum period with traps disabled or the
51processor interrupt level set to it's highest value inside RTEMS
52is less than RTEMS_MAXIMUM_DISABLE_PERIOD
53microseconds including the instructions which
54disable and re-enable interrupts.  The time required for the
55HP-7100 to vector an interrupt and for the RTEMS entry overhead
56before invoking the user's trap handler are a total of
57RTEMS_INTR_ENTRY_RETURNS_TO_PREEMPTING_TASK
58microseconds.  These combine to yield a worst case interrupt
59latency of less than RTEMS_MAXIMUM_DISABLE_PERIOD +
60RTEMS_INTR_ENTRY_RETURNS_TO_PREEMPTING_TASK microseconds at 15 Mhz.
61[NOTE:  The maximum period with interrupts disabled was last
62determined for Release RTEMS_RELEASE_FOR_MAXIMUM_DISABLE_PERIOD.]
63
64It should be noted again that the maximum period with
65interrupts disabled within RTEMS for the HP-7100 is hand calculated.
66
67@ifinfo
68@node HP-7100 Timing Data Context Switch, HP-7100 Timing Data Directive Times, HP-7100 Timing Data Interrupt Latency, HP-7100 Timing Data
69@end ifinfo
70@section Context Switch
71
72The RTEMS processor context switch time is RTEMS_NO_FP_CONTEXTS
73microsections for the HP-7100 when no floating point context
74switch is saved or restored.  Saving and restoring the floating
75point context adds additional time to the context
76switch procedure.  Additional execution time is required when a
77TASK_SWITCH user extension is configured.  The use of the
78TASK_SWITCH extension is application dependent.  Thus, its
79execution time is not considered part of the raw context switch
80time.
81
82Since RTEMS was designed specifically for embedded
83missile applications which are floating point intensive, the
84executive is optimized to avoid unnecessarily saving and
85restoring the state of the numeric coprocessor.  On many
86processors, the state of the numeric coprocessor is only saved
87when an FLOATING_POINT task is dispatched and that task was not
88the last task to utilize the coprocessor.  In a system with only
89one FLOATING_POINT task, the state of the numeric coprocessor
90will never be saved or restored.  When the first FLOATING_POINT
91task is dispatched, RTEMS does not need to save the current
92state of the numeric coprocessor.  As discussed in the Register
93Usage section, on the HP-7100 the every task is considered to be
94floating point registers and , as a rsule, every context switch
95involves saving and restoring the state of the floating point
96unit.
97
98The following table summarizes the context switch
99times for the HP-7100 processor:
100
101@example
102no times are available for the HP-7100
103@end example
104
105@ifinfo
106@node HP-7100 Timing Data Directive Times, Command and Variable Index, HP-7100 Timing Data Context Switch, HP-7100 Timing Data
107@end ifinfo
108@section Directive Times
109
110No execution times are available for the HP-7100
111because the target platform was proprietary and no timing
112information could be released.
113
Note: See TracBrowser for help on using the repository browser.