[Bug 1831] POSIX timing tests: psxtmmutex01 mutex create destroy

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Wed Jul 13 15:23:36 UTC 2011


https://www.rtems.org/bugzilla/show_bug.cgi?id=1831

Joel Sherrill <joel.sherrill at oarcorp.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |joel.sherrill at oarcorp.com
         Resolution|                            |FIXED

--- Comment #1 from Joel Sherrill <joel.sherrill at oarcorp.com> 2011-07-13 10:23:36 CDT ---
I did a bit of minor formatting touch up.  Operation being benchmarked should
be indented, blank line between rtems_test_assert() and printing time.  

Overall very good. The times look very reasonable.  On psim, we have this:

** TIME TEST 1 ***
rtems_semaphore_create 294
rtems_semaphore_delete 349
rtems_semaphore_obtain: available 71
rtems_semaphore_obtain: not available -- NO_WAIT 71
rtems_semaphore_release: no waiting tasks 279
*** END OF TEST 1 ***
*** POSIX TIME TEST PSXTMMUTEX01 ***
pthread_mutex_init 338
pthread_mutex_destroy 393
*** END OF POSIX TIME TEST PSXTMMUTEX01 ***

Notice that the Classic API is a bit faster than the POSIX API.  Mostly due to
simpler argument parsing.

Committed and closing.  Thanks.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list