# Migration Center V1 API - Class Google::Cloud::MigrationCenter::V1::CpuUsageSample (v2.5.0)

2.5.0 (latest) 2.4.0 2.3.1 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.3.0 0.2.2 0.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.