AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

CPU

import "github.com/aws/aws-sdk-go/service/devicefarm"

type CPU struct { Architecture *string `locationName:"architecture" type:"string"` Clock *float64 `locationName:"clock" type:"double"` Frequency *string `locationName:"frequency" type:"string"` }

Represents the amount of CPU that an app is using on a physical device.

Note that this does not represent system-wide CPU usage.

Architecture

Type: *string

The CPU's architecture, for example x86 or ARM.

Clock

Type: *float64

The clock speed of the device's CPU, expressed in hertz (Hz). For example, a 1.2 GHz CPU is expressed as 1200000000.

Frequency

Type: *string

The CPU's frequency.

Method

GoString

func (s CPU) GoString() string

GoString returns the string representation

SetArchitecture

func (s *CPU) SetArchitecture(v string) *CPU

SetArchitecture sets the Architecture field's value.

SetClock

func (s *CPU) SetClock(v float64) *CPU

SetClock sets the Clock field's value.

SetFrequency

func (s *CPU) SetFrequency(v string) *CPU

SetFrequency sets the Frequency field's value.

String

func (s CPU) String() string

String returns the string representation

On this page: