Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
Represents the amount of CPU that an app is using on a physical device. Does not represent system-wide CPU usage.
See: newCPU
smart constructor.
Instances
Eq CPU Source # | |
Read CPU Source # | |
Show CPU Source # | |
Generic CPU Source # | |
NFData CPU Source # | |
Defined in Amazonka.DeviceFarm.Types.CPU | |
Hashable CPU Source # | |
Defined in Amazonka.DeviceFarm.Types.CPU | |
FromJSON CPU Source # | |
type Rep CPU Source # | |
Defined in Amazonka.DeviceFarm.Types.CPU type Rep CPU = D1 ('MetaData "CPU" "Amazonka.DeviceFarm.Types.CPU" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "CPU'" 'PrefixI 'True) (S1 ('MetaSel ('Just "frequency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "clock") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "architecture") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) |
Create a value of CPU
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:frequency:CPU'
, cpu_frequency
- The CPU's frequency.
$sel:clock:CPU'
, cpu_clock
- The clock speed of the device's CPU, expressed in hertz (Hz). For
example, a 1.2 GHz CPU is expressed as 1200000000.
$sel:architecture:CPU'
, cpu_architecture
- The CPU's architecture (for example, x86 or ARM).