summaryrefslogtreecommitdiffstats
path: root/doc/supplements/powerpc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-08-20 22:37:47 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-08-20 22:37:47 +0000
commit3f6b1baa92f8e3f08cabe46c6589b4fae61f15cd (patch)
treeb504c5d17437e5479fc15ddc9e11172c75994ed6 /doc/supplements/powerpc
parentChanged wording to read better for PSIM. (diff)
downloadrtems-3f6b1baa92f8e3f08cabe46c6589b4fae61f15cd.tar.bz2
Made the description of timeing generation more accurate.
Diffstat (limited to 'doc/supplements/powerpc')
-rw-r--r--doc/supplements/powerpc/timeDMV177.t25
-rw-r--r--doc/supplements/powerpc/timedatadmv177.t25
2 files changed, 42 insertions, 8 deletions
diff --git a/doc/supplements/powerpc/timeDMV177.t b/doc/supplements/powerpc/timeDMV177.t
index fdf471bf51..b811a210d0 100644
--- a/doc/supplements/powerpc/timeDMV177.t
+++ b/doc/supplements/powerpc/timeDMV177.t
@@ -60,16 +60,33 @@ PowerPC version of RTEMS.
@section Hardware Platform
All times reported in this chapter were measured using a RTEMS_BSP board.
+All data and code caching was disabled. This results in very deterministic
+times which represent the worst possible performance. Many embedded
+applications disable caching to insure that execution times are
+repeatable. Moreover, the JTAG port on certain revisions of the PowerPC
+603e does not operate properly if caching is enabled. Thus during
+development and debug, caching must be off.
The PowerPC decrementer register was was used to gather
all timing information. In the PowerPC architecture,
this register typically counts
something like CPU cycles or is a function of the clock
-speed. On the PPC603e decrements based on bus cycles.
-This is a very accurate number and given the high clock
-speed of the PowerPC family, Thus all measurements in this
+speed. On the PPC603e decrements once for every four (4) bus cycles.
+On the RTEMS_BSP, the bus operates at a clock speed of
+33 Mhz. This result in a very accurate number since it is a function of the
+microprocessor itself. Thus all measurements in this
chapter are reported as the actual number of decrementer
-clicks reported. All sources of hardware interrupts were disabled,
+clicks reported.
+
+To convert the numbers reported to microseconds, one should
+divide the number reported by 8.650752. This number was derived as
+shown below:
+
+@example
+((33 * 1048576) / 1000000) / 4 = 8.650752
+@end example
+
+All sources of hardware interrupts were disabled,
although traps were enabled and the interrupt level of the
PowerPC allows all interrupts.
diff --git a/doc/supplements/powerpc/timedatadmv177.t b/doc/supplements/powerpc/timedatadmv177.t
index fdf471bf51..b811a210d0 100644
--- a/doc/supplements/powerpc/timedatadmv177.t
+++ b/doc/supplements/powerpc/timedatadmv177.t
@@ -60,16 +60,33 @@ PowerPC version of RTEMS.
@section Hardware Platform
All times reported in this chapter were measured using a RTEMS_BSP board.
+All data and code caching was disabled. This results in very deterministic
+times which represent the worst possible performance. Many embedded
+applications disable caching to insure that execution times are
+repeatable. Moreover, the JTAG port on certain revisions of the PowerPC
+603e does not operate properly if caching is enabled. Thus during
+development and debug, caching must be off.
The PowerPC decrementer register was was used to gather
all timing information. In the PowerPC architecture,
this register typically counts
something like CPU cycles or is a function of the clock
-speed. On the PPC603e decrements based on bus cycles.
-This is a very accurate number and given the high clock
-speed of the PowerPC family, Thus all measurements in this
+speed. On the PPC603e decrements once for every four (4) bus cycles.
+On the RTEMS_BSP, the bus operates at a clock speed of
+33 Mhz. This result in a very accurate number since it is a function of the
+microprocessor itself. Thus all measurements in this
chapter are reported as the actual number of decrementer
-clicks reported. All sources of hardware interrupts were disabled,
+clicks reported.
+
+To convert the numbers reported to microseconds, one should
+divide the number reported by 8.650752. This number was derived as
+shown below:
+
+@example
+((33 * 1048576) / 1000000) / 4 = 8.650752
+@end example
+
+All sources of hardware interrupts were disabled,
although traps were enabled and the interrupt level of the
PowerPC allows all interrupts.