summaryrefslogtreecommitdiff
path: root/ace/gethrtime.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-10-17 01:55:55 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-10-17 01:55:55 +0000
commit5744b6c51fa13f328c699cd544205ac2123696ef (patch)
tree378a21a13fcc04c9961b0ac665298719e11a1c42 /ace/gethrtime.cpp
parent33ec6600baa726bbe7bfb5e1b608f2e4951b1f7c (diff)
downloadATCD-5744b6c51fa13f328c699cd544205ac2123696ef.tar.gz
Basic_Types.h
Diffstat (limited to 'ace/gethrtime.cpp')
-rw-r--r--ace/gethrtime.cpp14
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)