Migration Center V1 API - Class Google::Cloud::MigrationCenter::V1::CpuUsageSample (v0.1.0)

Reference documentation and code samples for the Migration Center V1 API class Google::Cloud::MigrationCenter::V1::CpuUsageSample.

CPU usage sample.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#utilized_percentage

def utilized_percentage() -> ::Float
Returns
  • (::Float) — Percentage of total CPU capacity utilized. Must be in the interval [0, 100]. On most systems can be calculated using 100 - idle percentage.

#utilized_percentage=

def utilized_percentage=(value) -> ::Float
Parameter
  • value (::Float) — Percentage of total CPU capacity utilized. Must be in the interval [0, 100]. On most systems can be calculated using 100 - idle percentage.
Returns
  • (::Float) — Percentage of total CPU capacity utilized. Must be in the interval [0, 100]. On most systems can be calculated using 100 - idle percentage.