summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtmtests/psxtmrwlock01
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-10-19 15:27:27 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-10-19 15:27:27 +0000
commitadd297721052839e5bdcb87dae56f7ffac6c413f (patch)
treeb5ff394011d4425917ad48ab21d4b531ca78d0a3 /testsuites/psxtmtests/psxtmrwlock01
parent2011-10-19 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-add297721052839e5bdcb87dae56f7ffac6c413f.tar.bz2
2011-10-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxtmbarrier01/init.c, psxtmbarrier02/init.c, psxtmbarrier03/init.c, psxtmkey01/init.c, psxtmkey02/init.c, psxtmmq01/init.c, psxtmmutex01/init.c, psxtmmutex02/init.c, psxtmmutex03/init.c, psxtmmutex04/init.c, psxtmmutex05/init.c, psxtmmutex06/init.c, psxtmmutex07/init.c, psxtmnanosleep01/init.c, psxtmnanosleep02/init.c, psxtmrwlock01/init.c, psxtmrwlock02/init.c, psxtmrwlock03/init.c, psxtmrwlock04/init.c, psxtmrwlock05/init.c, psxtmrwlock06/init.c, psxtmrwlock07/init.c, psxtmsem01/init.c, psxtmsem02/init.c, psxtmsem03/init.c, psxtmsem04/init.c, psxtmsem05/init.c, psxtmsleep01/init.c, psxtmsleep02/init.c, psxtmthread03/init.c: Use benchmark_timer_t for benchmark_timer values (Avoid 64bit arch issues).
Diffstat (limited to 'testsuites/psxtmtests/psxtmrwlock01')
-rw-r--r--testsuites/psxtmtests/psxtmrwlock01/init.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/testsuites/psxtmtests/psxtmrwlock01/init.c b/testsuites/psxtmtests/psxtmrwlock01/init.c
index 21982ab0cc..37a73e6687 100644
--- a/testsuites/psxtmtests/psxtmrwlock01/init.c
+++ b/testsuites/psxtmtests/psxtmrwlock01/init.c
@@ -22,7 +22,7 @@ pthread_rwlock_t rwlock;
void benchmark_pthread_rwlock_init(void)
{
- long end_time;
+ benchmark_timer_t end_time;
int status;
pthread_rwlockattr_t attr;
@@ -44,7 +44,7 @@ void benchmark_pthread_rwlock_init(void)
void benchmark_pthread_rwlock_rdlock(void)
{
- long end_time;
+ benchmark_timer_t end_time;
int status;
benchmark_timer_initialize();
@@ -64,7 +64,7 @@ void benchmark_pthread_rwlock_rdlock(void)
void benchmark_pthread_rwlock_unlock(int print)
{
- long end_time;
+ benchmark_timer_t end_time;
int status;
benchmark_timer_initialize();
@@ -84,7 +84,7 @@ void benchmark_pthread_rwlock_unlock(int print)
void benchmark_pthread_rwlock_tryrdlock(void)
{
- long end_time;
+ benchmark_timer_t end_time;
int status;
benchmark_timer_initialize();
@@ -112,7 +112,7 @@ void benchmark_pthread_rwlock_tryrdlock(void)
void benchmark_pthread_rwlock_timedrdlock(void)
{
- long end_time;
+ benchmark_timer_t end_time;
int status;
benchmark_timer_initialize();
@@ -132,7 +132,7 @@ void benchmark_pthread_rwlock_timedrdlock(void)
void benchmark_pthread_rwlock_wrlock(void)
{
- long end_time;
+ benchmark_timer_t end_time;
int status;
benchmark_timer_initialize();
@@ -152,7 +152,7 @@ void benchmark_pthread_rwlock_wrlock(void)
void benchmark_pthread_rwlock_trywrlock(void)
{
- long end_time;
+ benchmark_timer_t end_time;
int status;
benchmark_timer_initialize();
@@ -181,7 +181,7 @@ void benchmark_pthread_rwlock_trywrlock(void)
void benchmark_pthread_rwlock_timedwrlock(void)
{
- long end_time;
+ benchmark_timer_t end_time;
int status;
benchmark_timer_initialize();
@@ -200,7 +200,7 @@ void benchmark_pthread_rwlock_timedwrlock(void)
void benchmark_pthread_rwlock_destroy(void)
{
- long end_time;
+ benchmark_timer_t end_time;
int status;
benchmark_timer_initialize();