change log for rtems (2011-07-13)

rtems-vc at rtems.org rtems-vc at rtems.org
Wed Jul 13 16:11:33 UTC 2011


 *joel*:
2011-07-13	Ricardo Aguirre <el.mastin at ymail.com>

	PR 1831/tests
	* Makefile.am, configure.ac, psxtmtests_plan.csv: Add benchmark of
	mutex init and destroy.
	* psxtmmutex01/.cvsignore, psxtmmutex01/Makefile.am,
	psxtmmutex01/init.c, psxtmmutex01/psxtmmutex01.doc: New files.

M   1.17  testsuites/psxtmtests/ChangeLog
M    1.6  testsuites/psxtmtests/Makefile.am
M    1.8  testsuites/psxtmtests/configure.ac
A    1.1  testsuites/psxtmtests/psxtmmutex01/.cvsignore
A    1.1  testsuites/psxtmtests/psxtmmutex01/Makefile.am
A    1.1  testsuites/psxtmtests/psxtmmutex01/init.c
A    1.1  testsuites/psxtmtests/psxtmmutex01/psxtmmutex01.doc
M    1.9  testsuites/psxtmtests/psxtmtests_plan.csv

diff -u rtems/testsuites/psxtmtests/ChangeLog:1.16 rtems/testsuites/psxtmtests/ChangeLog:1.17
--- rtems/testsuites/psxtmtests/ChangeLog:1.16	Tue Jul 12 08:25:18 2011
+++ rtems/testsuites/psxtmtests/ChangeLog	Wed Jul 13 10:23:25 2011
@@ -1,3 +1,11 @@
+2011-07-13	Ricardo Aguirre <el.mastin at ymail.com>
+
+	PR 1831/tests
+	* Makefile.am, configure.ac, psxtmtests_plan.csv: Add benchmark of
+	mutex init and destroy.
+	* psxtmmutex01/.cvsignore, psxtmmutex01/Makefile.am,
+	psxtmmutex01/init.c, psxtmmutex01/psxtmmutex01.doc: New files.
+
 2011-07-12	Joel Sherrill <joel.sherrill at oarcorp.com>
 
 	* psxtmnanosleep01/init.c, psxtmsleep01/init.c: Do not divide by

diff -u rtems/testsuites/psxtmtests/Makefile.am:1.5 rtems/testsuites/psxtmtests/Makefile.am:1.6
--- rtems/testsuites/psxtmtests/Makefile.am:1.5	Tue Jul 12 08:22:24 2011
+++ rtems/testsuites/psxtmtests/Makefile.am	Wed Jul 13 10:23:25 2011
@@ -4,19 +4,21 @@
 
 ACLOCAL_AMFLAGS = -I ../aclocal
 
+SUBDIRS =
+
 if HAS_POSIX
-SUBDIRS = psxtmmutex02
+SUBDIRS += psxtmmutex01
+SUBDIRS += psxtmmutex02
+SUBDIRS += psxtmmutex03
+SUBDIRS += psxtmnanosleep01
+SUBDIRS += psxtmnanosleep02
 SUBDIRS += psxtmsleep01
 SUBDIRS += psxtmsleep02
 SUBDIRS += psxtmthread01
 SUBDIRS += psxtmthread03
-SUBDIRS += psxtmnanosleep01
-SUBDIRS += psxtmnanosleep02
-SUBDIRS += psxtmmutex03
 endif
 
 DIST_SUBDIRS = $(SUBDIRS)
-# EXTRA_DIST = psxfatal_support/init.c psxfatal_support/system.h
 
 include $(top_srcdir)/../automake/subdirs.am
 include $(top_srcdir)/../automake/local.am

diff -u rtems/testsuites/psxtmtests/configure.ac:1.7 rtems/testsuites/psxtmtests/configure.ac:1.8
--- rtems/testsuites/psxtmtests/configure.ac:1.7	Tue Jul 12 08:22:24 2011
+++ rtems/testsuites/psxtmtests/configure.ac	Wed Jul 13 10:23:25 2011
@@ -79,13 +79,14 @@
 
 # Explicitly list all Makefiles here
 AC_CONFIG_FILES([Makefile
+psxtmmutex01/Makefile
 psxtmmutex02/Makefile
 psxtmmutex03/Makefile
+psxtmnanosleep01/Makefile
+psxtmnanosleep02/Makefile
 psxtmsleep01/Makefile
 psxtmsleep02/Makefile
 psxtmthread01/Makefile
 psxtmthread03/Makefile
-psxtmnanosleep01/Makefile
-psxtmnanosleep02/Makefile
 ])
 AC_OUTPUT

diff -u /dev/null rtems/testsuites/psxtmtests/psxtmmutex01/.cvsignore:1.1
--- /dev/null	Wed Jul 13 11:11:32 2011
+++ rtems/testsuites/psxtmtests/psxtmmutex01/.cvsignore	Wed Jul 13 10:23:25 2011
@@ -0,0 +1,2 @@
+Makefile
+Makefile.in

diff -u /dev/null rtems/testsuites/psxtmtests/psxtmmutex01/Makefile.am:1.1
--- /dev/null	Wed Jul 13 11:11:32 2011
+++ rtems/testsuites/psxtmtests/psxtmmutex01/Makefile.am	Wed Jul 13 10:23:25 2011
@@ -0,0 +1,30 @@
+##
+## $Id$
+##
+
+MANAGERS = all
+
+rtems_tests_PROGRAMS = psxtmmutex01
+psxtmmutex01_SOURCES = init.c ../../tmtests/include/timesys.h \
+    ../../support/src/tmtests_empty_function.c \
+    ../../support/src/tmtests_support.c
+
+dist_rtems_tests_DATA = psxtmmutex01.doc
+
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP at .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 = $(psxtmmutex01_OBJECTS) $(psxtmmutex01_LDADD)
+LINK_LIBS = $(psxtmmutex01_LDLIBS)
+
+psxtmmutex01$(EXEEXT): $(psxtmmutex01_OBJECTS) $(psxtmmutex01_DEPENDENCIES)
+	@rm -f psxtmmutex01$(EXEEXT)
+	$(make-exe)
+
+include $(top_srcdir)/../automake/local.am

diff -u /dev/null rtems/testsuites/psxtmtests/psxtmmutex01/init.c:1.1
--- /dev/null	Wed Jul 13 11:11:32 2011
+++ rtems/testsuites/psxtmtests/psxtmmutex01/init.c	Wed Jul 13 10:23:25 2011
@@ -0,0 +1,89 @@
+/*
+ *  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_mutex_t MutexId;
+
+void test_mutex_create(void)
+{
+  long end_time;
+  int  status;
+
+  benchmark_timer_initialize();
+    status = pthread_mutex_init( &MutexId, NULL );
+  end_time = benchmark_timer_read();
+  rtems_test_assert( status == 0 );
+
+  put_time(
+    "pthread_mutex_init",
+    end_time,
+    1,
+    0,
+    0
+  );
+}
+
+void test_mutex_destroy(void)
+{
+  long end_time;
+  int  status;
+
+  benchmark_timer_initialize();
+    status = pthread_mutex_destroy( &MutexId );
+  end_time = benchmark_timer_read();
+  rtems_test_assert( status == 0 );
+
+  put_time(
+    "pthread_mutex_destroy",
+    end_time,
+    1,
+    0,
+    0
+  );
+}
+
+void *POSIX_Init(
+  void *argument
+)
+{
+
+  puts( "\n\n*** POSIX TIME TEST PSXTMMUTEX01 ***" );
+
+  test_mutex_create();
+  test_mutex_destroy();
+
+  puts( "*** END OF POSIX TIME TEST PSXTMMUTEX01 ***" );
+
+  rtems_test_exit(0);
+}
+
+/* configuration information */
+
+#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
+#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
+
+#define CONFIGURE_MAXIMUM_POSIX_THREADS     1
+#define CONFIGURE_MAXIMUM_POSIX_MUTEXES     1
+#define CONFIGURE_POSIX_INIT_THREAD_TABLE
+
+#define CONFIGURE_INIT
+
+#include <rtems/confdefs.h>
+/* end of file */

diff -u /dev/null rtems/testsuites/psxtmtests/psxtmmutex01/psxtmmutex01.doc:1.1
--- /dev/null	Wed Jul 13 11:11:33 2011
+++ rtems/testsuites/psxtmtests/psxtmmutex01/psxtmmutex01.doc	Wed Jul 13 10:23:25 2011
@@ -0,0 +1,15 @@
+#
+#  $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_mutex_init
++ phtread_mutex_destroy

diff -u rtems/testsuites/psxtmtests/psxtmtests_plan.csv:1.8 rtems/testsuites/psxtmtests/psxtmtests_plan.csv:1.9
--- rtems/testsuites/psxtmtests/psxtmtests_plan.csv:1.8	Tue Jul 12 08:22:24 2011
+++ rtems/testsuites/psxtmtests/psxtmtests_plan.csv	Wed Jul 13 10:23:25 2011
@@ -1,6 +1,6 @@
 "Test Case","Test","Template","Implemented"
-"pthread_mutex_init","psxtmmutex01","psxtmtest_init_destroy",
-"pthread_mutex_destroy","psxtmmutex01","psxtmtest_init_destroy",
+"pthread_mutex_init","psxtmmutex01","psxtmtest_init_destroy","Yes"
+"pthread_mutex_destroy","psxtmmutex01","psxtmtest_init_destroy","Yes"
 "pthread_mutex_lock - not available, block","psxtmmutex02","psxtmtest_blocking","Yes"
 "pthread_mutex_lock - available","psxtmmutex03","psxtmtest_single","Yes"
 "pthread_mutex_trylock - available","psxtmmutex03","psxtmtest_single","Yes"


 *joel*:
2011-07-13	Joel Sherrill <joel.sherrill at oarcorp.com>

	* psxtmtests_plan.csv: Update to reflect next activities.

M   1.18  testsuites/psxtmtests/ChangeLog
M   1.10  testsuites/psxtmtests/psxtmtests_plan.csv

diff -u rtems/testsuites/psxtmtests/ChangeLog:1.17 rtems/testsuites/psxtmtests/ChangeLog:1.18
--- rtems/testsuites/psxtmtests/ChangeLog:1.17	Wed Jul 13 10:23:25 2011
+++ rtems/testsuites/psxtmtests/ChangeLog	Wed Jul 13 10:35:40 2011
@@ -1,3 +1,7 @@
+2011-07-13	Joel Sherrill <joel.sherrill at oarcorp.com>
+
+	* psxtmtests_plan.csv: Update to reflect next activities.
+
 2011-07-13	Ricardo Aguirre <el.mastin at ymail.com>
 
 	PR 1831/tests

diff -u rtems/testsuites/psxtmtests/psxtmtests_plan.csv:1.9 rtems/testsuites/psxtmtests/psxtmtests_plan.csv:1.10
--- rtems/testsuites/psxtmtests/psxtmtests_plan.csv:1.9	Wed Jul 13 10:23:25 2011
+++ rtems/testsuites/psxtmtests/psxtmtests_plan.csv	Wed Jul 13 10:35:40 2011
@@ -6,12 +6,12 @@
 "pthread_mutex_trylock - available","psxtmmutex03","psxtmtest_single","Yes"
 "pthread_mutex_trylock - not available","psxtmmutex03","psxtmtest_single","Yes"
 "pthread_mutex_unlock - no threads waiting","psxtmmutex03","psxtmtest_single","Yes"
-"pthread_mutex_unlock - thread waiting, no preempt","psxtmmutex07","psxtmtest_unblocking_nopreempt",
-"pthread_mutex_unlock - thread waiting, preempt","psxtmmutex08","psxtmtest_unblocking_preempt",
+"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"
-"pthread_mutex_timedlock - not available, block","psxtmmutex10","psxtmtest_blocking",
-"pthread_mutex_setprioceiling","psxtmmutex11","psxtmtest_single",
-"pthread_mutex_getprioceiling","psxtmmutex12","psxtmtest_single",
+"pthread_mutex_timedlock - not available, block","psxtmmutex04","psxtmtest_blocking",
+"pthread_mutex_setprioceiling","psxtmmutex07","psxtmtest_single",
+"pthread_mutex_getprioceiling","psxtmmutex07","psxtmtest_single",
 ,,,
 "pthread_cond_init",,"psxtmtest_init_destroy",
 "pthread_cond_destroy",,"psxtmtest_init_destroy",
@@ -36,10 +36,10 @@
 ,,,
 "pthread_once",,,
 ,,,
-"pthread_key_create",,"psxtmtest_init_destroy",
-"pthread_setspecific",,,
-"pthread_getspecific",,,
-"pthread_key_delete",,"psxtmtest_init_destroy",
+"pthread_key_create","psxtmkey01","psxtmtest_init_destroy",
+"pthread_setspecific","psxtmkey02","psxtmtest_single",
+"pthread_getspecific","psxtmkey02","psxtmtest_single",
+"pthread_key_delete","psxtmkey01","psxtmtest_init_destroy",
 ,,,
 "pthread_cancel",,,
 "pthread_setcancelstate",,,
@@ -50,10 +50,11 @@
 ,,,
 "pthread_getcpuclockid",,,
 ,,,
-"pthread_barrier_init",,"psxtmtest_init_destroy",
-"pthread_barrier_destroy",,"psxtmtest_init_destroy",
-"pthread_barrier_wait – blocking",,"psxtmtest_blocking",
-"pthread_barrier_wait – releasing",,,
+"pthread_barrier_init","psxtmbarrier01","psxtmtest_init_destroy",
+"pthread_barrier_destroy","psxtmbarrier01","psxtmtest_init_destroy",
+"pthread_barrier_wait – blocking","psxtmbarrier02","psxtmtest_blocking",
+"pthread_barrier_wait – releasing, no preempt","psxtmbarrier03","psxtmtest_unblocking_nopreempt",
+"pthread_barrier_wait – releasing, preempt","psxtmbarrier04","psxtmtest_unblocking_preempt",
 ,,,
 "pthread_spin_init",,"psxtmtest_init_destroy",
 "pthread_spin_destroy",,"psxtmtest_init_destroy",
@@ -88,28 +89,28 @@
 "mq_receive – available",,"psxtmtest_single",
 "mq_receive - not available, block",,"psxtmtest_blocking",
 "mq_timedreceive - available",,"psxtmtest_single",
-"mq_timedreceive - not available, blocks",," ",
+"mq_timedreceive - not available, blocks",,"psxtmtest_single",
 "mq_send - no threads waiting",,"psxtmtest_single",
-"mq_send - thread waiting, no preempt",,,
-"mq_send - thread waiting, preempt",,,
+"mq_send - thread waiting, no preempt",,"psxtmtest_unblocking_nopreempt",
+"mq_send - thread waiting, preempt",,"psxtmtest_unblocking_preempt",
 "mq_timedsend - no threads waiting",,"psxtmtest_single",
-"mq_timedsend - thread waiting, no preempt",,,
-"mq_timedsend - thread waiting, preemption",,,
+"mq_timedsend - thread waiting, no preempt",,"psxtmtest_unblocking_nopreempt",
+"mq_timedsend - thread waiting, preemption",,"psxtmtest_unblocking_preempt",
 "mq_notify ",,"psxtmtest_single",
 ,,,
 "sem_init","psxtmsem01","psxtmtest_init_destroy",
 "sem_destroy","psxtmsem01","psxtmtest_init_destroy",
-"sem_open (first open)","psxtmsem02","psxtmtest_init_destroy",
-"sem_close (close of first)","psxtmsem02","psxtmtest_init_destroy",
-"sem_open (second open)","psxtmsem03","psxtmtest_init_destroy",
-"sem_close (close of second)","psxtmsem03","psxtmtest_init_destroy",
+"sem_open (first open)","psxtmsem01","psxtmtest_init_destroy",
+"sem_close (close of first)","psxtmsem01","psxtmtest_init_destroy",
+"sem_open (second open)","psxtmsem01","psxtmtest_init_destroy",
+"sem_close (close of second)","psxtmsem01","psxtmtest_init_destroy",
 "sem_wait – available",,"psxtmtest_single",
 "sem_wait - not available, block",,"psxtmtest_blocking",
 "sem_trywait - available",,"psxtmtest_single",
 "sem_trywait - not available",,"psxtmtest_single",
 "sem_post - no threads waiting",,"psxtmtest_single",
-"sem_post - thread waiting, no preempt",,,
-"sem_post - thread waiting, preempt",,,
+"sem_post - thread waiting, no preempt",,"psxtmtest_unblocking_nopreempt",
+"sem_post - thread waiting, preempt",,"psxtmtest_unblocking_preempt",
 "sem_getvalue",,"psxtmtest_single",
 ,,,
 "sleep - yield","psxtmsleep01","psxtmtest_single","Yes"


 *strauman* (on branch rtems-4-10-branch):
2009-11-09	Till Straumann <strauman at slac.stanford.edu>

	* ChangeLog: had forgotten to commit ChangeLog

M 1.99.2.1  cpukit/score/cpu/i386/ChangeLog

diff -u rtems/cpukit/score/cpu/i386/ChangeLog:1.99 rtems/cpukit/score/cpu/i386/ChangeLog:1.99.2.1
--- rtems/cpukit/score/cpu/i386/ChangeLog:1.99	Fri May 21 14:02:05 2010
+++ rtems/cpukit/score/cpu/i386/ChangeLog	Wed Jul 13 11:04:10 2011
@@ -9,6 +9,11 @@
 
 2009-11-09	Till Straumann <strauman at slac.stanford.edu>
 
+	* cpu.c, cpu_asm.S, rtems/score/cpu.h, sse_test.c:
+	Added experimental SSE support.
+
+2009-11-09	Till Straumann <strauman at slac.stanford.edu>
+
 	PR 1469/cpukit
 	* cpu.c: Add dummy entry for (non-existing) exception #15.
 	Otherwise all slots for vectors >= 16 are one element off.



--

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/20110713/6101a9c9/attachment.html>


More information about the vc mailing list