<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems (2011-09-22)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-09-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1914/cpukit
* rtems/score/cpu.h: Document CPU_TIMESTAMP_USE_STRUCT_TIMESPEC,
CPU_TIMESTAMP_USE_INT64, and CPU_TIMESTAMP_USE_INT64_INLINE.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/cpu/no_cpu/ChangeLog.diff?r1=text&tr1=1.88&r2=text&tr2=1.89&diff_format=h">M</a></td><td width='1%'>1.89</td><td width='100%'>cpukit/score/cpu/no_cpu/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/cpu/no_cpu/rtems/score/cpu.h.diff?r1=text&tr1=1.35&r2=text&tr2=1.36&diff_format=h">M</a></td><td width='1%'>1.36</td><td width='100%'>cpukit/score/cpu/no_cpu/rtems/score/cpu.h</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/score/cpu/no_cpu/ChangeLog:1.88 rtems/cpukit/score/cpu/no_cpu/ChangeLog:1.89
--- rtems/cpukit/score/cpu/no_cpu/ChangeLog:1.88 Sun Jul 24 18:43:10 2011
+++ rtems/cpukit/score/cpu/no_cpu/ChangeLog Thu Sep 22 02:16:05 2011
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2011-09-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ PR 1914/cpukit
+ * rtems/score/cpu.h: Document CPU_TIMESTAMP_USE_STRUCT_TIMESPEC,
+ CPU_TIMESTAMP_USE_INT64, and CPU_TIMESTAMP_USE_INT64_INLINE.
+
</font> 2011-07-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c: Remove /*PAGE markers which were interpreted by a long dead
<font color='#006600'>diff -u rtems/cpukit/score/cpu/no_cpu/rtems/score/cpu.h:1.35 rtems/cpukit/score/cpu/no_cpu/rtems/score/cpu.h:1.36
--- rtems/cpukit/score/cpu/no_cpu/rtems/score/cpu.h:1.35 Thu Oct 21 17:14:20 2010
+++ rtems/cpukit/score/cpu/no_cpu/rtems/score/cpu.h Thu Sep 22 02:16:06 2011
</font><font color='#997700'>@@ -356,6 +356,76 @@
</font> #define CPU_STRUCTURE_ALIGNMENT
/**
<font color='#000088'>+ * @defgroup CPUTimestamp Processor Dependent Timestamp Support
+ *
+ * This group assists in issues related to timestamp implementation.
+ *
+ * The port must choose exactly one of the following defines:
+ * - #define CPU_TIMESTAMP_USE_STRUCT_TIMESPEC TRUE
+ * - #define CPU_TIMESTAMP_USE_INT64 TRUE
+ * - #define CPU_TIMESTAMP_USE_INT64_INLINE TRUE
+ *
+ * Performance of int64_t versus struct timespec
+ * =============================================
+ *
+ * On PowerPC/psim, inlined int64_t saves ~50 instructions on each
+ * _Thread_Dispatch operation which results in a context switch.
+ * This works out to be about 10% faster dispatches and 7.5% faster
+ * blocking semaphore obtains. The following numbers are in instructions
+ * and from tm02 and tm26.
+ *
+ * timespec int64 inlined int64
+ * dispatch: 446 446 400
+ * blocking sem obtain: 627 626 581
+ *
+ * On SPARC/sis, inlined int64_t shows the same percentage gains.
+ * The following numbers are in microseconds and from tm02 and tm26.
+ *
+ * timespec int64 inlined int64
+ * dispatch: 59 61 53
+ * blocking sem obtain: 98 100 92
+ *
+ * Inlining appears to have a tendency to increase the size of
+ * some executables.
+ * Not inlining reduces the execution improvement but does not seem to
+ * be an improvement on the PowerPC and SPARC. The struct timespec
+ * and the executables with int64 not inlined are about the same size.
+ */
+
+/**
+ * @ingroup CPUTimestamp
+ *
+ * Selects the timestamp implementation using struct timespec.
+ *
+ * Port Specific Information:
+ *
+ * XXX document implementation including references if appropriate
+ */
+#define CPU_TIMESTAMP_USE_STRUCT_TIMESPEC TRUE
+
+/**
+ * @ingroup CPUTimestamp
+ *
+ * Selects the timestamp implementation using int64_t and no inlined methods.
+ *
+ * Port Specific Information:
+ *
+ * XXX document implementation including references if appropriate
+ */
+#define CPU_TIMESTAMP_USE_INT64 TRUE
+
+/**
+ * @ingroup CPUTimestamp
+ *
+ * Selects the timestamp implementation using int64_t and inlined methods.
+ *
+ * Port Specific Information:
+ *
+ * XXX document implementation including references if appropriate
+ */
+#define CPU_TIMESTAMP_USE_INT64_INLINE TRUE
+
+/**
</font> * @defgroup CPUEndian Processor Dependent Endianness Support
*
* This group assists in issues related to processor endianness.
</pre>
<p> </p>
<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>