change log for rtems (2011-10-19)

rtems-vc at rtems.org rtems-vc at rtems.org
Wed Oct 19 08:12:10 UTC 2011


 *sh*:
2011-10-18	Sebastian Huber <sebastian.huber at embedded-brains.de>

	PR 1939/cpukit
	* rtems/src/ratemonperiod.c: Fixed type mismatch.

M 1.2958  cpukit/ChangeLog
M   1.32  cpukit/rtems/src/ratemonperiod.c

diff -u rtems/cpukit/ChangeLog:1.2957 rtems/cpukit/ChangeLog:1.2958
--- rtems/cpukit/ChangeLog:1.2957	Tue Oct 18 09:37:46 2011
+++ rtems/cpukit/ChangeLog	Wed Oct 19 02:25:09 2011
@@ -1,3 +1,8 @@
+2011-10-18	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+	PR 1939/cpukit
+	* rtems/src/ratemonperiod.c: Fixed type mismatch.
+
 2011-10-18	Ralf Corsépius <ralf.corsepius at rtems.org>
 
 	* libcsupport/include/rtems/libio.h, libcsupport/src/termios.c:

diff -u rtems/cpukit/rtems/src/ratemonperiod.c:1.31 rtems/cpukit/rtems/src/ratemonperiod.c:1.32
--- rtems/cpukit/rtems/src/ratemonperiod.c:1.31	Thu Sep  1 13:13:54 2011
+++ rtems/cpukit/rtems/src/ratemonperiod.c	Wed Oct 19 02:25:10 2011
@@ -129,18 +129,17 @@
    */
   #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__
     if (owning_thread == _Thread_Executing) {
-
-      rtems_thread_cpu_usage_t ran;
+      Timestamp_Control ran;
 
       /*
        *  Adjust the CPU time used to account for the time since last
        *  context switch.
        */
-      _Timespec_Subtract(
+      _Timestamp_Subtract(
         &_Thread_Time_of_last_context_switch, &uptime, &ran
       );
 
-      _Timespec_Add_to( &the_period->cpu_usage_period_initiated, &ran );
+      _Timestamp_Add_to( &the_period->cpu_usage_period_initiated, &ran );
     }
   #endif
 



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20111019/c58b244f/attachment.html>


More information about the vc mailing list