diff src/hotspot/share/jfr/periodic/jfrOSInterface.hpp @ 51513:d90c3cbf13df

8003209: JFR events for network utilization Reviewed-by: mgronlun, egahlin
author rwestberg
date Thu, 28 Jun 2018 15:06:55 +0200
parents caf115bb98ad
children 9807daeb47c4
line wrap: on
line diff
--- a/src/hotspot/share/jfr/periodic/jfrOSInterface.hpp	Thu Jun 28 18:04:19 2018 +0530
+++ b/src/hotspot/share/jfr/periodic/jfrOSInterface.hpp	Thu Jun 28 15:06:55 2018 +0200
@@ -26,10 +26,10 @@
 #define SHARE_VM_JFR_PERIODIC_JFROSINTERFACE_HPP
 
 #include "jfr/utilities/jfrAllocation.hpp"
-#include "utilities/globalDefinitions.hpp"
 
 class CPUInformation;
 class EnvironmentVariable;
+class NetworkInterface;
 class SystemProcess;
 
 class JfrOSInterface: public JfrCHeapObj {
@@ -54,6 +54,7 @@
   static int os_version(char** os_version);
   static int generate_initial_environment_variable_events();
   static int system_processes(SystemProcess** system_processes, int* no_of_sys_processes);
+  static int network_utilization(NetworkInterface** network_interfaces);
 };
 
 #endif // SHARE_VM_JFR_PERIODIC_JFROSINTERFACE_HPP