hotspot/src/share/vm/utilities/globalDefinitions.hpp
changeset 11251 e29da6b5622b
parent 10739 91935236600e
child 11480 1bf714e8adb4
--- a/hotspot/src/share/vm/utilities/globalDefinitions.hpp	Fri Dec 16 11:40:00 2011 -0800
+++ b/hotspot/src/share/vm/utilities/globalDefinitions.hpp	Mon Dec 19 10:02:05 2011 -0800
@@ -175,6 +175,9 @@
 const int MICROUNITS    = 1000000;      // micro units per base unit
 const int NANOUNITS     = 1000000000;   // nano units per base unit
 
+const jlong NANOSECS_PER_SEC      = CONST64(1000000000);
+const jint  NANOSECS_PER_MILLISEC = 1000000;
+
 inline const char* proper_unit_for_byte_size(size_t s) {
   if (s >= 10*M) {
     return "M";