src/hotspot/os_cpu/solaris_x86/os_solaris_x86.inline.hpp
changeset 50113 caf115bb98ad
parent 47216 71c04702a3d5
child 53244 9807daeb47c4
equal deleted inserted replaced
50112:7a2a740815b7 50113:caf115bb98ad
     1 /*
     1 /*
     2  * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2011, 2018, 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.
    25 #ifndef OS_CPU_SOLARIS_X86_VM_OS_SOLARIS_X86_INLINE_HPP
    25 #ifndef OS_CPU_SOLARIS_X86_VM_OS_SOLARIS_X86_INLINE_HPP
    26 #define OS_CPU_SOLARIS_X86_VM_OS_SOLARIS_X86_INLINE_HPP
    26 #define OS_CPU_SOLARIS_X86_VM_OS_SOLARIS_X86_INLINE_HPP
    27 
    27 
    28 #include "runtime/os.hpp"
    28 #include "runtime/os.hpp"
    29 
    29 
       
    30 extern "C" jlong _raw_rdtsc(); // In .il file
       
    31 
    30 inline jlong os::rdtsc() { return _raw_rdtsc(); }
    32 inline jlong os::rdtsc() { return _raw_rdtsc(); }
    31 
    33 
    32 #endif // OS_CPU_SOLARIS_X86_VM_OS_SOLARIS_X86_INLINE_HPP
    34 #endif // OS_CPU_SOLARIS_X86_VM_OS_SOLARIS_X86_INLINE_HPP