hotspot/src/share/vm/services/runtimeService.hpp
changeset 13975 2f7431485cfa
parent 7397 5b173b4ca846
child 23443 15e8ed68f73a
equal deleted inserted replaced
13951:3fc49366dc15 13975:2f7431485cfa
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2012, 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.
    51 
    51 
    52   static double last_safepoint_time_sec()      { return _safepoint_timer.seconds(); }
    52   static double last_safepoint_time_sec()      { return _safepoint_timer.seconds(); }
    53   static double last_application_time_sec()    { return _app_timer.seconds(); }
    53   static double last_application_time_sec()    { return _app_timer.seconds(); }
    54 
    54 
    55   // callbacks
    55   // callbacks
    56   static void record_safepoint_begin();
    56   static void record_safepoint_begin() NOT_MANAGEMENT_RETURN;
    57   static void record_safepoint_synchronized();
    57   static void record_safepoint_synchronized() NOT_MANAGEMENT_RETURN;
    58   static void record_safepoint_end();
    58   static void record_safepoint_end() NOT_MANAGEMENT_RETURN;
    59   static void record_application_start();
    59   static void record_application_start() NOT_MANAGEMENT_RETURN;
    60 
    60 
    61   // interruption events
    61   // interruption events
    62   static void record_interrupted_before_count();
    62   static void record_interrupted_before_count() NOT_MANAGEMENT_RETURN;
    63   static void record_interrupted_during_count();
    63   static void record_interrupted_during_count() NOT_MANAGEMENT_RETURN;
    64   static void record_thread_interrupt_signaled_count();
    64   static void record_thread_interrupt_signaled_count() NOT_MANAGEMENT_RETURN;
    65 };
    65 };
    66 
    66 
    67 #endif // SHARE_VM_SERVICES_RUNTIMESERVICE_HPP
    67 #endif // SHARE_VM_SERVICES_RUNTIMESERVICE_HPP