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
commitc9501e6462e903a6a3150f2bc7a063195d01682d (patch)
tree378a21a13fcc04c9961b0ac665298719e11a1c42 /ace/gethrtime.cpp
parent903743f0337a06a07c63af42e3f596b975e84776 (diff)
downloadATCD-c9501e6462e903a6a3150f2bc7a063195d01682d.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)