hotspot/src/os/windows/vm/os_windows.inline.hpp
changeset 22891 1f5d1fff23fa
parent 18683 a6418e038255
child 23865 ba4aeedb2a9f
child 23527 397b6816032d
--- a/hotspot/src/os/windows/vm/os_windows.inline.hpp	Wed Feb 19 02:58:13 2014 +0000
+++ b/hotspot/src/os/windows/vm/os_windows.inline.hpp	Wed Feb 19 16:22:15 2014 +0000
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -107,6 +107,10 @@
   return ::close(fd);
 }
 
+inline bool os::supports_monotonic_clock() {
+  return win32::_has_performance_count;
+}
+
 #ifndef PRODUCT
   #define CALL_TEST_FUNC_WITH_WRAPPER_IF_NEEDED(f) \
             os::win32::call_test_func_with_wrapper(f)