diff options
Diffstat (limited to 'ace/gethrtime.cpp')
-rw-r--r-- | ace/gethrtime.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ace/gethrtime.cpp b/ace/gethrtime.cpp index f6e0d6f6118..518d5172992 100644 --- a/ace/gethrtime.cpp +++ b/ace/gethrtime.cpp @@ -2,8 +2,8 @@ // // Build this file with g++. It can be linked in to a ACE application // that was compiled with GreenHills. It wouldn't be necessary if I -// knew a way to correctly move values from registers to a 64-bit variable -// in GHS asm code. That's easy with g++ asm. +// knew a way to correctly move values from registers to a 64-bit +// variable in GHS asm code. That's easy with g++ asm. #include "ace/OS.h" @@ -11,7 +11,7 @@ ACE_RCSID(ace, gethrtime, "$Id$") extern "C" ACE_hrtime_t -ACE_gethrtime () +ACE_gethrtime (void) { #if defined (ACE_HAS_PENTIUM) // ACE_TRACE ("ACE_gethrtime"); @@ -22,11 +22,11 @@ ACE_gethrtime () ACE_hrtime_t now; #endif /* ! ACE_LACKS_LONGLONG_T */ - // See comments about the RDTSC Pentium instruction for the ACE_WIN32 - // version of ACE_OS::gethrtime () in ace/OS.i. + // See comments about the RDTSC Pentium instruction for the + // ACE_WIN32 version of ACE_OS::gethrtime () in ace/OS.i. // - // Read the high-res tick counter directly into memory variable "now". - // The A constraint signifies a 64-bit int. + // Read the high-res tick counter directly into memory variable + // "now". The A constraint signifies a 64-bit int. #if defined (__GNUG__) asm volatile ("rdtsc" : "=A" (now) : : "memory"); // #elif defined (ghs) |