<!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-07-20)</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>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-07-20 Ricardo Aguirre <el.mastin@ymail.com>
PR 1843/tests
* Makefile.am, configure.ac, psxtmtests_plan.csv: Add benchmark of key
create and delete.
* psxtmkey01/.cvsignore, psxtmkey01/Makefile.am, psxtmkey01/init.c,
psxtmkey01/psxtmkey01.doc: New files.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtmtests/ChangeLog.diff?r1=text&tr1=1.21&r2=text&tr2=1.22&diff_format=h">M</a></td><td width='1%'>1.22</td><td width='100%'>testsuites/psxtmtests/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtmtests/Makefile.am.diff?r1=text&tr1=1.8&r2=text&tr2=1.9&diff_format=h">M</a></td><td width='1%'>1.9</td><td width='100%'>testsuites/psxtmtests/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtmtests/configure.ac.diff?r1=text&tr1=1.11&r2=text&tr2=1.12&diff_format=h">M</a></td><td width='1%'>1.12</td><td width='100%'>testsuites/psxtmtests/configure.ac</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtmtests/psxtmkey01/.cvsignore?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">testsuites/psxtmtests/psxtmkey01/.cvsignore</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtmtests/psxtmkey01/Makefile.am?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">testsuites/psxtmtests/psxtmkey01/Makefile.am</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtmtests/psxtmkey01/init.c?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">testsuites/psxtmtests/psxtmkey01/init.c</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtmtests/psxtmkey01/psxtmkey01.doc?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">testsuites/psxtmtests/psxtmkey01/psxtmkey01.doc</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtmtests/psxtmtests_plan.csv.diff?r1=text&tr1=1.12&r2=text&tr2=1.13&diff_format=h">M</a></td><td width='1%'>1.13</td><td width='100%'>testsuites/psxtmtests/psxtmtests_plan.csv</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/psxtmtests/ChangeLog:1.21 rtems/testsuites/psxtmtests/ChangeLog:1.22
--- rtems/testsuites/psxtmtests/ChangeLog:1.21 Tue Jul 19 08:04:19 2011
+++ rtems/testsuites/psxtmtests/ChangeLog Wed Jul 20 08:20:24 2011
</font><font color='#997700'>@@ -1,3 +1,11 @@
</font><font color='#000088'>+2011-07-20 Ricardo Aguirre <el.mastin@ymail.com>
+
+ PR 1843/tests
+ * Makefile.am, configure.ac, psxtmtests_plan.csv: Add benchmark of key
+ create and delete.
+ * psxtmkey01/.cvsignore, psxtmkey01/Makefile.am, psxtmkey01/init.c,
+ psxtmkey01/psxtmkey01.doc: New files.
+
</font> 2011-07-19 Ricardo Aguirre <el.mastin@ymail.com>
PR 1840/tests
<font color='#006600'>diff -u rtems/testsuites/psxtmtests/Makefile.am:1.8 rtems/testsuites/psxtmtests/Makefile.am:1.9
--- rtems/testsuites/psxtmtests/Makefile.am:1.8 Tue Jul 19 08:04:19 2011
+++ rtems/testsuites/psxtmtests/Makefile.am Wed Jul 20 08:20:24 2011
</font><font color='#997700'>@@ -7,6 +7,7 @@
</font> SUBDIRS =
if HAS_POSIX
<font color='#000088'>+SUBDIRS += psxtmkey01
</font> SUBDIRS += psxtmkey02
SUBDIRS += psxtmmutex01
SUBDIRS += psxtmmutex02
<font color='#006600'>diff -u rtems/testsuites/psxtmtests/configure.ac:1.11 rtems/testsuites/psxtmtests/configure.ac:1.12
--- rtems/testsuites/psxtmtests/configure.ac:1.11 Tue Jul 19 08:04:20 2011
+++ rtems/testsuites/psxtmtests/configure.ac Wed Jul 20 08:20:24 2011
</font><font color='#997700'>@@ -79,6 +79,7 @@
</font>
# Explicitly list all Makefiles here
AC_CONFIG_FILES([Makefile
<font color='#000088'>+psxtmkey01/Makefile
</font> psxtmkey02/Makefile
psxtmmutex01/Makefile
psxtmmutex02/Makefile
<font color='#006600'>diff -u /dev/null rtems/testsuites/psxtmtests/psxtmkey01/.cvsignore:1.1
--- /dev/null Wed Jul 20 09:11:49 2011
+++ rtems/testsuites/psxtmtests/psxtmkey01/.cvsignore Wed Jul 20 08:20:24 2011
</font><font color='#997700'>@@ -0,0 +1,2 @@
</font><font color='#000088'>+Makefile
+Makefile.in
</font>
<font color='#006600'>diff -u /dev/null rtems/testsuites/psxtmtests/psxtmkey01/Makefile.am:1.1
--- /dev/null Wed Jul 20 09:11:50 2011
+++ rtems/testsuites/psxtmtests/psxtmkey01/Makefile.am Wed Jul 20 08:20:25 2011
</font><font color='#997700'>@@ -0,0 +1,30 @@
</font><font color='#000088'>+##
+## $Id$
+##
+
+MANAGERS = all
+
+rtems_tests_PROGRAMS = psxtmkey01
+psxtmkey01_SOURCES = init.c ../../tmtests/include/timesys.h \
+ ../../support/src/tmtests_empty_function.c \
+ ../../support/src/tmtests_support.c
+
+dist_rtems_tests_DATA = psxtmkey01.doc
+
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
+include $(top_srcdir)/../automake/compile.am
+include $(top_srcdir)/../automake/leaf.am
+
+OPERATION_COUNT = @OPERATION_COUNT@
+AM_CPPFLAGS += -I$(top_srcdir)/../tmtests/include
+AM_CPPFLAGS += -DOPERATION_COUNT=$(OPERATION_COUNT)
+AM_CPPFLAGS += -I$(top_srcdir)/../support/include
+
+LINK_OBJS = $(psxtmkey01_OBJECTS) $(psxtmkey01_LDADD)
+LINK_LIBS = $(psxtmkey01_LDLIBS)
+
+psxtmkey01$(EXEEXT): $(psxtmkey01_OBJECTS) $(psxtmkey01_DEPENDENCIES)
+ @rm -f psxtmkey01$(EXEEXT)
+ $(make-exe)
+
+include $(top_srcdir)/../automake/local.am
</font>
<font color='#006600'>diff -u /dev/null rtems/testsuites/psxtmtests/psxtmkey01/init.c:1.1
--- /dev/null Wed Jul 20 09:11:50 2011
+++ rtems/testsuites/psxtmtests/psxtmkey01/init.c Wed Jul 20 08:20:25 2011
</font><font color='#997700'>@@ -0,0 +1,92 @@
</font><font color='#000088'>+/*
+ * COPYRIGHT (c) 1989-2011.
+ * On-Line Applications Research Corporation (OAR).
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
+ *
+ * $Id$
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <timesys.h>
+#include <rtems/timerdrv.h>
+#include <errno.h>
+#include <pthread.h>
+#include "test_support.h"
+
+pthread_key_t Key;
+
+void benchmark_pthread_key_create(void)
+{
+ long end_time;
+ int status;
+
+ benchmark_timer_initialize();
+ status = pthread_key_create(&Key, NULL);
+ end_time = benchmark_timer_read();
+ rtems_test_assert( status == 0 );
+
+ put_time(
+ "pthread_key_create",
+ end_time,
+ 1, /* Only executed once */
+ 0,
+ 0
+ );
+
+}
+
+void benchmark_pthread_key_delete(void)
+{
+ long end_time;
+ int status;
+
+ benchmark_timer_initialize();
+ status = pthread_key_delete(Key);
+ end_time = benchmark_timer_read();
+ rtems_test_assert( status == 0 );
+
+ put_time(
+ "pthread_key_delete",
+ end_time,
+ 1, /* Only executed once */
+ 0,
+ 0
+ );
+
+}
+
+void *POSIX_Init(void *argument)
+{
+
+ puts( "\n\n*** POSIX TIME TEST PSXTMKEY01 ***" );
+
+ /*key creation, using NULL destructor*/
+ benchmark_pthread_key_create();
+<span style="background-color: #FF0000"> </span>
+ /* key deletion*/
+ benchmark_pthread_key_delete();
+<span style="background-color: #FF0000"> </span>
+ puts( "*** END OF POSIX TIME TEST PSXTMKEY01 ***" );
+
+ rtems_test_exit(0);
+}
+
+/* configuration information */
+
+#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
+#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
+
+#define CONFIGURE_MAXIMUM_POSIX_THREADS 2
+#define CONFIGURE_MAXIMUM_POSIX_KEYS 1
+#define CONFIGURE_POSIX_INIT_THREAD_TABLE
+
+#define CONFIGURE_INIT
+
+#include <rtems/confdefs.h>
+/* end of file */
</font>
<font color='#006600'>diff -u /dev/null rtems/testsuites/psxtmtests/psxtmkey01/psxtmkey01.doc:1.1
--- /dev/null Wed Jul 20 09:11:50 2011
+++ rtems/testsuites/psxtmtests/psxtmkey01/psxtmkey01.doc Wed Jul 20 08:20:25 2011
</font><font color='#997700'>@@ -0,0 +1,16 @@
</font><font color='#000088'>+#
+# $Id$
+#
+# COPYRIGHT (c) 1989-2011.
+# On-Line Applications Research Corporation (OAR).
+#
+# The license and distribution terms for this file may be
+# found in the file LICENSE in this distribution or at
+# http://www.rtems.com/license/LICENSE.
+#
+
+This test benchmarks the following operations:
+
++ pthread_key_create
++ pthread_key_delete
+
</font>
<font color='#006600'>diff -u rtems/testsuites/psxtmtests/psxtmtests_plan.csv:1.12 rtems/testsuites/psxtmtests/psxtmtests_plan.csv:1.13
--- rtems/testsuites/psxtmtests/psxtmtests_plan.csv:1.12 Tue Jul 19 08:04:20 2011
+++ rtems/testsuites/psxtmtests/psxtmtests_plan.csv Wed Jul 20 08:20:24 2011
</font><font color='#997700'>@@ -9,7 +9,7 @@
</font> "pthread_mutex_unlock - thread waiting, no preempt","psxtmmutex05","psxtmtest_unblocking_nopreempt",
"pthread_mutex_unlock - thread waiting, preempt","psxtmmutex06","psxtmtest_unblocking_preempt",
"pthread_mutex_timedlock - available","psxtmmutex03","psxtmtest_single","Yes"
<font color='#880000'>-"pthread_mutex_timedlock - not available, block","psxtmmutex04","psxtmtest_blocking",
</font><font color='#000088'>+"pthread_mutex_timedlock - not available, block","psxtmmutex04","psxtmtest_blocking","Yes"
</font> "pthread_mutex_setprioceiling","psxtmmutex07","psxtmtest_single","Yes"
"pthread_mutex_getprioceiling","psxtmmutex07","psxtmtest_single","Yes"
,,,
<font color='#997700'>@@ -36,10 +36,10 @@
</font> ,,,
"pthread_once",,,
,,,
<font color='#880000'>-"pthread_key_create","psxtmkey01","psxtmtest_init_destroy",
</font><font color='#000088'>+"pthread_key_create","psxtmkey01","psxtmtest_single","Yes"
</font> "pthread_setspecific","psxtmkey02","psxtmtest_single","Yes"
"pthread_getspecific","psxtmkey02","psxtmtest_single","Yes"
<font color='#880000'>-"pthread_key_delete","psxtmkey01","psxtmtest_init_destroy",
</font><font color='#000088'>+"pthread_key_delete","psxtmkey01","psxtmtest_single","Yes"
</font> ,,,
"pthread_cancel",,,
"pthread_setcancelstate",,,
</pre>
<p> </p>
<a name='cs2'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>joel</strong></font>
<font color='#225522'><em>(on branch rtems-4-10-branch)</em></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>formatting.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/ChangeLog.diff?r1=text&tr1=1.154.2.2&r2=text&tr2=1.154.2.3&diff_format=h">M</a></td><td width='1%'>1.154.2.3</td><td width='100%'>c/src/lib/libbsp/powerpc/motorola_powerpc/ChangeLog</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/ChangeLog:1.154.2.2 rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/ChangeLog:1.154.2.3
--- rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/ChangeLog:1.154.2.2 Wed May 18 00:08:35 2011
+++ rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/ChangeLog Wed Jul 20 08:22:30 2011
</font><font color='#997700'>@@ -1,6 +1,6 @@
</font> 2011-05-17 Till Straumann <strauman@slac.stanford.edu>
<font color='#880000'>- PR1797/bsps
</font><font color='#000088'>+ PR 1797/bsps
</font> * configure.ac, include/bsp.h: Made
CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK a bspopts.h setting.
</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>