src/hotspot/share/jfr/periodic/jfrOSInterface.hpp
changeset 50879 d90c3cbf13df
parent 50113 caf115bb98ad
child 53244 9807daeb47c4
equal deleted inserted replaced
50878:fb7800b66c92 50879:d90c3cbf13df
    24 
    24 
    25 #ifndef SHARE_VM_JFR_PERIODIC_JFROSINTERFACE_HPP
    25 #ifndef SHARE_VM_JFR_PERIODIC_JFROSINTERFACE_HPP
    26 #define SHARE_VM_JFR_PERIODIC_JFROSINTERFACE_HPP
    26 #define SHARE_VM_JFR_PERIODIC_JFROSINTERFACE_HPP
    27 
    27 
    28 #include "jfr/utilities/jfrAllocation.hpp"
    28 #include "jfr/utilities/jfrAllocation.hpp"
    29 #include "utilities/globalDefinitions.hpp"
       
    30 
    29 
    31 class CPUInformation;
    30 class CPUInformation;
    32 class EnvironmentVariable;
    31 class EnvironmentVariable;
       
    32 class NetworkInterface;
    33 class SystemProcess;
    33 class SystemProcess;
    34 
    34 
    35 class JfrOSInterface: public JfrCHeapObj {
    35 class JfrOSInterface: public JfrCHeapObj {
    36   friend class JfrRecorder;
    36   friend class JfrRecorder;
    37  private:
    37  private:
    52   static int cpu_load_total_process(double* cpu_load);
    52   static int cpu_load_total_process(double* cpu_load);
    53   static int cpu_loads_process(double* pjvmUserLoad, double* pjvmKernelLoad, double* psystemTotalLoad);
    53   static int cpu_loads_process(double* pjvmUserLoad, double* pjvmKernelLoad, double* psystemTotalLoad);
    54   static int os_version(char** os_version);
    54   static int os_version(char** os_version);
    55   static int generate_initial_environment_variable_events();
    55   static int generate_initial_environment_variable_events();
    56   static int system_processes(SystemProcess** system_processes, int* no_of_sys_processes);
    56   static int system_processes(SystemProcess** system_processes, int* no_of_sys_processes);
       
    57   static int network_utilization(NetworkInterface** network_interfaces);
    57 };
    58 };
    58 
    59 
    59 #endif // SHARE_VM_JFR_PERIODIC_JFROSINTERFACE_HPP
    60 #endif // SHARE_VM_JFR_PERIODIC_JFROSINTERFACE_HPP