MCPcopy Create free account
hub / github.com/SeanDragon/protools / getOsCpuRatio

Method getOsCpuRatio

common/src/main/java/pro/tools/system/ToolOS.java:148–150  ·  view source on GitHub ↗

cpu使用率 @return

()

Source from the content-addressed store, hash-verified

146 * @return
147 */
148 public static double getOsCpuRatio() {
149 return SYSTEM_MX_BEAN.getSystemCpuLoad();
150 }
151
152 /**
153 * 物理内存,总的可使用的,单位:M

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected