| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DeviceFarm.Types.CPU
Description
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.
Constructors
| CPU' | |
Instances
| FromJSON CPU Source # | |
| Generic CPU Source # | |
| Read CPU Source # | |
| Show CPU Source # | |
| NFData CPU Source # | |
Defined in Amazonka.DeviceFarm.Types.CPU | |
| Eq CPU Source # | |
| Hashable CPU Source # | |
Defined in Amazonka.DeviceFarm.Types.CPU | |
| type Rep CPU Source # | |
Defined in Amazonka.DeviceFarm.Types.CPU type Rep CPU = D1 ('MetaData "CPU" "Amazonka.DeviceFarm.Types.CPU" "amazonka-devicefarm-2.0-2e4KvZvQ9bT8TNjEPvmW9Q" 'False) (C1 ('MetaCons "CPU'" 'PrefixI 'True) (S1 ('MetaSel ('Just "architecture") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "clock") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "frequency") '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:architecture:CPU', cpu_architecture - The CPU's architecture (for example, x86 or ARM).
$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:frequency:CPU', cpu_frequency - The CPU's frequency.
cpu_architecture :: Lens' CPU (Maybe Text) Source #
The CPU's architecture (for example, x86 or ARM).