hotspot/src/os/windows/vm/os_windows.inline.hpp
changeset 22891 1f5d1fff23fa
parent 18683 a6418e038255
child 23865 ba4aeedb2a9f
child 23527 397b6816032d
equal deleted inserted replaced
22890:7ca31eb1a41f 22891:1f5d1fff23fa
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2014, 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.
   105 
   105 
   106 inline int os::close(int fd) {
   106 inline int os::close(int fd) {
   107   return ::close(fd);
   107   return ::close(fd);
   108 }
   108 }
   109 
   109 
       
   110 inline bool os::supports_monotonic_clock() {
       
   111   return win32::_has_performance_count;
       
   112 }
       
   113 
   110 #ifndef PRODUCT
   114 #ifndef PRODUCT
   111   #define CALL_TEST_FUNC_WITH_WRAPPER_IF_NEEDED(f) \
   115   #define CALL_TEST_FUNC_WITH_WRAPPER_IF_NEEDED(f) \
   112             os::win32::call_test_func_with_wrapper(f)
   116             os::win32::call_test_func_with_wrapper(f)
   113 #endif
   117 #endif
   114 
   118