hotspot/src/share/vm/runtime/os.hpp
changeset 28737 ca4b6a6e5cc8
parent 28208 d67f748ece0a
child 28740 3ebd3353fda5
equal deleted inserted replaced
28736:33ab13e70aa0 28737:ca4b6a6e5cc8
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   170   static bool have_special_privileges();
   170   static bool have_special_privileges();
   171 
   171 
   172   static jlong  javaTimeMillis();
   172   static jlong  javaTimeMillis();
   173   static jlong  javaTimeNanos();
   173   static jlong  javaTimeNanos();
   174   static void   javaTimeNanos_info(jvmtiTimerInfo *info_ptr);
   174   static void   javaTimeNanos_info(jvmtiTimerInfo *info_ptr);
       
   175   static void   javaTimeSystemUTC(jlong &seconds, jlong &nanos);
   175   static void   run_periodic_checks();
   176   static void   run_periodic_checks();
   176   static bool   supports_monotonic_clock();
   177   static bool   supports_monotonic_clock();
   177 
       
   178 
   178 
   179   // Returns the elapsed time in seconds since the vm started.
   179   // Returns the elapsed time in seconds since the vm started.
   180   static double elapsedTime();
   180   static double elapsedTime();
   181 
   181 
   182   // Returns real time in seconds since an arbitrary point
   182   // Returns real time in seconds since an arbitrary point