src/hotspot/share/runtime/timer.hpp
changeset 47881 0ce0ac68ace7
parent 47216 71c04702a3d5
child 49364 601146c66cad
equal deleted inserted replaced
47824:cf127be65014 47881:0ce0ac68ace7
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2017, 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.
    91 
    91 
    92 class TimeHelper {
    92 class TimeHelper {
    93  public:
    93  public:
    94   static double counter_to_seconds(jlong counter);
    94   static double counter_to_seconds(jlong counter);
    95   static double counter_to_millis(jlong counter);
    95   static double counter_to_millis(jlong counter);
       
    96   static jlong millis_to_counter(jlong millis);
    96 };
    97 };
    97 
    98 
    98 #endif // SHARE_VM_RUNTIME_TIMER_HPP
    99 #endif // SHARE_VM_RUNTIME_TIMER_HPP