Skip to content
This repository has been archived by the owner on Nov 15, 2019. It is now read-only.

CpuUsage Measure

Dahab edited this page Aug 30, 2017 · 5 revisions

Overview

This measure computes the CPU usage by the execution of the JVM and by the whole system which execute the JVM.

CPU_Usage.png

Measure Architecture

Type : Direct Measure

Data Model

  • value : {Double,Double}

Scope

No property

Dependency

No dependency

Algorithms

The implementation of that measure uses the library OperatingSystemMxBean to return the CPU usages of the JVM execution and of the entire system executing the JVM. It returns two Double corresponding to the both types of CPU usage computed. Those results are either between 0.0 and 1.0 or a negative value if the CPU usage is not available.

Execution result

The result of the CpuUsage measure is represented by two numbers associated to the type of CPU usage computed (the JVM and the System).

Clone this wiki locally