* Need to take the numerator of the timebase info into account, as the mach
timers might natively return nanoseconds instead of microseconds, as is the case on x86. Fixes an issue with really high shared memory latencies on Intel macs This commit was SVN r13038.
Этот коммит содержится в:
родитель
e130f18cc2
Коммит
65b04f295a
4
NEWS
4
NEWS
@ -12,6 +12,8 @@ Copyright (c) 2006 Cisco Systems, Inc. All rights reserved.
|
||||
Copyright (c) 2006 Voltaire, Inc. All rights reserved.
|
||||
Copyright (c) 2006 Sun Microsystems, Inc. All rights reserved.
|
||||
Use is subject to license terms.
|
||||
Copyright (c) 2006-2007 Los Alamos National Security, LLC. All rights
|
||||
reserved.
|
||||
$COPYRIGHT$
|
||||
|
||||
Additional copyrights may follow
|
||||
@ -92,6 +94,8 @@ Trunk (not on release branches yet)
|
||||
1.1.3
|
||||
-----
|
||||
|
||||
- Fix math error on Intel OS X platforms that would greatly increase
|
||||
shared memory latency.
|
||||
- Fix type casting issue with MPI_ERRCODES_IGNORE that would cause
|
||||
errors when using a C++ compiler. Thanks to Barry Smith for
|
||||
bringing this to our attention.
|
||||
|
@ -9,6 +9,8 @@
|
||||
* University of Stuttgart. All rights reserved.
|
||||
* Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
* All rights reserved.
|
||||
* Copyright (c) 2007 Los Alamos National Security, LLC. All rights
|
||||
* reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -62,7 +64,7 @@ int opal_timer_darwin_open(void)
|
||||
|
||||
mach_timebase_info(&sTBI);
|
||||
|
||||
opal_timer_darwin_freq = sTBI.denom;
|
||||
opal_timer_darwin_freq = sTBI.denom * (1000000000 / sTBI.numer);
|
||||
|
||||
return OPAL_SUCCESS;
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user