< prev index next >

src/hotspot/os/bsd/os_perf_bsd.cpp

Print this page
rev 57095 : [mq]: use
rev 57096 : [mq]: trailing_semi

*** 24,33 **** --- 24,34 ---- #include "precompiled.hpp" #include "memory/allocation.inline.hpp" #include "memory/resourceArea.hpp" #include "runtime/os.hpp" #include "runtime/os_perf.hpp" + #include "utilities/macros.hpp" #include CPU_HEADER(vm_version_ext) #ifdef __APPLE__ #import <libproc.h> #include <sys/time.h>
*** 70,81 **** int cpu_load(int which_logical_cpu, double* cpu_load); int context_switch_rate(double* rate); int cpu_load_total_process(double* cpu_load); int cpu_loads_process(double* pjvmUserLoad, double* pjvmKernelLoad, double* psystemTotalLoad); ! CPUPerformance(const CPUPerformance& rhs); // no impl ! CPUPerformance& operator=(const CPUPerformance& rhs); // no impl public: CPUPerformance(); bool initialize(); ~CPUPerformance(); }; --- 71,82 ---- int cpu_load(int which_logical_cpu, double* cpu_load); int context_switch_rate(double* rate); int cpu_load_total_process(double* cpu_load); int cpu_loads_process(double* pjvmUserLoad, double* pjvmKernelLoad, double* psystemTotalLoad); ! NONCOPYABLE(CPUPerformance); ! public: CPUPerformance(); bool initialize(); ~CPUPerformance(); };
*** 262,273 **** class SystemProcessInterface::SystemProcesses : public CHeapObj<mtInternal> { friend class SystemProcessInterface; private: SystemProcesses(); bool initialize(); ! SystemProcesses(const SystemProcesses& rhs); // no impl ! SystemProcesses& operator=(const SystemProcesses& rhs); // no impl ~SystemProcesses(); //information about system processes int system_processes(SystemProcess** system_processes, int* no_of_sys_processes) const; }; --- 263,273 ---- class SystemProcessInterface::SystemProcesses : public CHeapObj<mtInternal> { friend class SystemProcessInterface; private: SystemProcesses(); bool initialize(); ! NONCOPYABLE(SystemProcesses); ~SystemProcesses(); //information about system processes int system_processes(SystemProcess** system_processes, int* no_of_sys_processes) const; };
*** 405,416 **** class NetworkPerformanceInterface::NetworkPerformance : public CHeapObj<mtInternal> { friend class NetworkPerformanceInterface; private: NetworkPerformance(); ! NetworkPerformance(const NetworkPerformance& rhs); // no impl ! NetworkPerformance& operator=(const NetworkPerformance& rhs); // no impl bool initialize(); ~NetworkPerformance(); int network_utilization(NetworkInterface** network_interfaces) const; }; --- 405,415 ---- class NetworkPerformanceInterface::NetworkPerformance : public CHeapObj<mtInternal> { friend class NetworkPerformanceInterface; private: NetworkPerformance(); ! NONCOPYABLE(NetworkPerformance); bool initialize(); ~NetworkPerformance(); int network_utilization(NetworkInterface** network_interfaces) const; };
< prev index next >