| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
CDP.Domains.SystemInfo
Description
SystemInfo
The SystemInfo domain defines methods and events for querying low-level system information.
Synopsis
- data SystemInfoGetProcessInfo = SystemInfoGetProcessInfo {}
- data PSystemInfoGetProcessInfo = PSystemInfoGetProcessInfo
- data SystemInfoGetInfo = SystemInfoGetInfo {}
- data PSystemInfoGetInfo = PSystemInfoGetInfo
- data SystemInfoProcessInfo = SystemInfoProcessInfo {}
- data SystemInfoGPUInfo = SystemInfoGPUInfo {
- systemInfoGPUInfoDevices :: [SystemInfoGPUDevice]
- systemInfoGPUInfoAuxAttributes :: Maybe [(Text, Text)]
- systemInfoGPUInfoFeatureStatus :: Maybe [(Text, Text)]
- systemInfoGPUInfoDriverBugWorkarounds :: [Text]
- systemInfoGPUInfoVideoDecoding :: [SystemInfoVideoDecodeAcceleratorCapability]
- systemInfoGPUInfoVideoEncoding :: [SystemInfoVideoEncodeAcceleratorCapability]
- systemInfoGPUInfoImageDecoding :: [SystemInfoImageDecodeAcceleratorCapability]
- data SystemInfoImageDecodeAcceleratorCapability = SystemInfoImageDecodeAcceleratorCapability {
- systemInfoImageDecodeAcceleratorCapabilityImageType :: SystemInfoImageType
- systemInfoImageDecodeAcceleratorCapabilityMaxDimensions :: SystemInfoSize
- systemInfoImageDecodeAcceleratorCapabilityMinDimensions :: SystemInfoSize
- systemInfoImageDecodeAcceleratorCapabilitySubsamplings :: [SystemInfoSubsamplingFormat]
- data SystemInfoImageType
- data SystemInfoSubsamplingFormat
- data SystemInfoVideoEncodeAcceleratorCapability = SystemInfoVideoEncodeAcceleratorCapability {}
- data SystemInfoVideoDecodeAcceleratorCapability = SystemInfoVideoDecodeAcceleratorCapability {}
- data SystemInfoSize = SystemInfoSize {}
- data SystemInfoGPUDevice = SystemInfoGPUDevice {
- systemInfoGPUDeviceVendorId :: Double
- systemInfoGPUDeviceDeviceId :: Double
- systemInfoGPUDeviceSubSysId :: Maybe Double
- systemInfoGPUDeviceRevision :: Maybe Double
- systemInfoGPUDeviceVendorString :: Text
- systemInfoGPUDeviceDeviceString :: Text
- systemInfoGPUDeviceDriverVendor :: Text
- systemInfoGPUDeviceDriverVersion :: Text
- pSystemInfoGetInfo :: PSystemInfoGetInfo
- pSystemInfoGetProcessInfo :: PSystemInfoGetProcessInfo
Documentation
data SystemInfoGetProcessInfo Source #
Constructors
| SystemInfoGetProcessInfo | |
Fields
| |
Instances
| Eq SystemInfoGetProcessInfo Source # | |
Defined in CDP.Domains.SystemInfo Methods (==) :: SystemInfoGetProcessInfo -> SystemInfoGetProcessInfo -> Bool # (/=) :: SystemInfoGetProcessInfo -> SystemInfoGetProcessInfo -> Bool # | |
| Show SystemInfoGetProcessInfo Source # | |
Defined in CDP.Domains.SystemInfo Methods showsPrec :: Int -> SystemInfoGetProcessInfo -> ShowS # show :: SystemInfoGetProcessInfo -> String # showList :: [SystemInfoGetProcessInfo] -> ShowS # | |
| FromJSON SystemInfoGetProcessInfo Source # | |
Defined in CDP.Domains.SystemInfo Methods parseJSON :: Value -> Parser SystemInfoGetProcessInfo # parseJSONList :: Value -> Parser [SystemInfoGetProcessInfo] # | |
data PSystemInfoGetProcessInfo Source #
Returns information about all running processes.
Parameters of the getProcessInfo command.
Constructors
| PSystemInfoGetProcessInfo |
Instances
| Eq PSystemInfoGetProcessInfo Source # | |
Defined in CDP.Domains.SystemInfo Methods (==) :: PSystemInfoGetProcessInfo -> PSystemInfoGetProcessInfo -> Bool # (/=) :: PSystemInfoGetProcessInfo -> PSystemInfoGetProcessInfo -> Bool # | |
| Show PSystemInfoGetProcessInfo Source # | |
Defined in CDP.Domains.SystemInfo Methods showsPrec :: Int -> PSystemInfoGetProcessInfo -> ShowS # show :: PSystemInfoGetProcessInfo -> String # showList :: [PSystemInfoGetProcessInfo] -> ShowS # | |
| ToJSON PSystemInfoGetProcessInfo Source # | |
Defined in CDP.Domains.SystemInfo Methods toJSON :: PSystemInfoGetProcessInfo -> Value # toEncoding :: PSystemInfoGetProcessInfo -> Encoding # toJSONList :: [PSystemInfoGetProcessInfo] -> Value # | |
| Command PSystemInfoGetProcessInfo Source # | |
Defined in CDP.Domains.SystemInfo Associated Types | |
| type CommandResponse PSystemInfoGetProcessInfo Source # | |
data SystemInfoGetInfo Source #
Constructors
| SystemInfoGetInfo | |
Fields
| |
Instances
| Eq SystemInfoGetInfo Source # | |
Defined in CDP.Domains.SystemInfo Methods (==) :: SystemInfoGetInfo -> SystemInfoGetInfo -> Bool # (/=) :: SystemInfoGetInfo -> SystemInfoGetInfo -> Bool # | |
| Show SystemInfoGetInfo Source # | |
Defined in CDP.Domains.SystemInfo Methods showsPrec :: Int -> SystemInfoGetInfo -> ShowS # show :: SystemInfoGetInfo -> String # showList :: [SystemInfoGetInfo] -> ShowS # | |
| FromJSON SystemInfoGetInfo Source # | |
Defined in CDP.Domains.SystemInfo Methods parseJSON :: Value -> Parser SystemInfoGetInfo # parseJSONList :: Value -> Parser [SystemInfoGetInfo] # | |
data PSystemInfoGetInfo Source #
Returns information about the system.
Parameters of the getInfo command.
Constructors
| PSystemInfoGetInfo |
Instances
| Eq PSystemInfoGetInfo Source # | |
Defined in CDP.Domains.SystemInfo Methods (==) :: PSystemInfoGetInfo -> PSystemInfoGetInfo -> Bool # (/=) :: PSystemInfoGetInfo -> PSystemInfoGetInfo -> Bool # | |
| Show PSystemInfoGetInfo Source # | |
Defined in CDP.Domains.SystemInfo Methods showsPrec :: Int -> PSystemInfoGetInfo -> ShowS # show :: PSystemInfoGetInfo -> String # showList :: [PSystemInfoGetInfo] -> ShowS # | |
| ToJSON PSystemInfoGetInfo Source # | |
Defined in CDP.Domains.SystemInfo Methods toJSON :: PSystemInfoGetInfo -> Value # toEncoding :: PSystemInfoGetInfo -> Encoding # toJSONList :: [PSystemInfoGetInfo] -> Value # toEncodingList :: [PSystemInfoGetInfo] -> Encoding # | |
| Command PSystemInfoGetInfo Source # | |
Defined in CDP.Domains.SystemInfo Associated Types Methods commandName :: Proxy PSystemInfoGetInfo -> String Source # fromJSON :: Proxy PSystemInfoGetInfo -> Value -> Result (CommandResponse PSystemInfoGetInfo) Source # | |
| type CommandResponse PSystemInfoGetInfo Source # | |
Defined in CDP.Domains.SystemInfo | |
data SystemInfoProcessInfo Source #
Type ProcessInfo.
Represents process info.
Constructors
| SystemInfoProcessInfo | |
Fields
| |
Instances
| Eq SystemInfoProcessInfo Source # | |
Defined in CDP.Domains.SystemInfo Methods (==) :: SystemInfoProcessInfo -> SystemInfoProcessInfo -> Bool # (/=) :: SystemInfoProcessInfo -> SystemInfoProcessInfo -> Bool # | |
| Show SystemInfoProcessInfo Source # | |
Defined in CDP.Domains.SystemInfo Methods showsPrec :: Int -> SystemInfoProcessInfo -> ShowS # show :: SystemInfoProcessInfo -> String # showList :: [SystemInfoProcessInfo] -> ShowS # | |
| ToJSON SystemInfoProcessInfo Source # | |
Defined in CDP.Domains.SystemInfo Methods toJSON :: SystemInfoProcessInfo -> Value # toEncoding :: SystemInfoProcessInfo -> Encoding # toJSONList :: [SystemInfoProcessInfo] -> Value # toEncodingList :: [SystemInfoProcessInfo] -> Encoding # | |
| FromJSON SystemInfoProcessInfo Source # | |
Defined in CDP.Domains.SystemInfo Methods parseJSON :: Value -> Parser SystemInfoProcessInfo # parseJSONList :: Value -> Parser [SystemInfoProcessInfo] # | |
data SystemInfoGPUInfo Source #
Type GPUInfo.
Provides information about the GPU(s) on the system.
Constructors
| SystemInfoGPUInfo | |
Fields
| |
Instances
| Eq SystemInfoGPUInfo Source # | |
Defined in CDP.Domains.SystemInfo Methods (==) :: SystemInfoGPUInfo -> SystemInfoGPUInfo -> Bool # (/=) :: SystemInfoGPUInfo -> SystemInfoGPUInfo -> Bool # | |
| Show SystemInfoGPUInfo Source # | |
Defined in CDP.Domains.SystemInfo Methods showsPrec :: Int -> SystemInfoGPUInfo -> ShowS # show :: SystemInfoGPUInfo -> String # showList :: [SystemInfoGPUInfo] -> ShowS # | |
| ToJSON SystemInfoGPUInfo Source # | |
Defined in CDP.Domains.SystemInfo Methods toJSON :: SystemInfoGPUInfo -> Value # toEncoding :: SystemInfoGPUInfo -> Encoding # toJSONList :: [SystemInfoGPUInfo] -> Value # toEncodingList :: [SystemInfoGPUInfo] -> Encoding # | |
| FromJSON SystemInfoGPUInfo Source # | |
Defined in CDP.Domains.SystemInfo Methods parseJSON :: Value -> Parser SystemInfoGPUInfo # parseJSONList :: Value -> Parser [SystemInfoGPUInfo] # | |
data SystemInfoImageDecodeAcceleratorCapability Source #
Type ImageDecodeAcceleratorCapability.
Describes a supported image decoding profile with its associated minimum and
maximum resolutions and subsampling.
Constructors
| SystemInfoImageDecodeAcceleratorCapability | |
Fields
| |
Instances
data SystemInfoImageType Source #
Type ImageType.
Image format of a given image.
Instances
data SystemInfoSubsamplingFormat Source #
Type SubsamplingFormat.
YUV subsampling type of the pixels of a given image.
Constructors
| SystemInfoSubsamplingFormatYuv420 | |
| SystemInfoSubsamplingFormatYuv422 | |
| SystemInfoSubsamplingFormatYuv444 |
Instances
data SystemInfoVideoEncodeAcceleratorCapability Source #
Type VideoEncodeAcceleratorCapability.
Describes a supported video encoding profile with its associated maximum
resolution and maximum framerate.
Constructors
| SystemInfoVideoEncodeAcceleratorCapability | |
Fields
| |
Instances
data SystemInfoVideoDecodeAcceleratorCapability Source #
Type VideoDecodeAcceleratorCapability.
Describes a supported video decoding profile with its associated minimum and
maximum resolutions.
Constructors
| SystemInfoVideoDecodeAcceleratorCapability | |
Fields
| |
Instances
data SystemInfoSize Source #
Type Size.
Describes the width and height dimensions of an entity.
Constructors
| SystemInfoSize | |
Fields
| |
Instances
| Eq SystemInfoSize Source # | |
Defined in CDP.Domains.SystemInfo Methods (==) :: SystemInfoSize -> SystemInfoSize -> Bool # (/=) :: SystemInfoSize -> SystemInfoSize -> Bool # | |
| Show SystemInfoSize Source # | |
Defined in CDP.Domains.SystemInfo Methods showsPrec :: Int -> SystemInfoSize -> ShowS # show :: SystemInfoSize -> String # showList :: [SystemInfoSize] -> ShowS # | |
| ToJSON SystemInfoSize Source # | |
Defined in CDP.Domains.SystemInfo Methods toJSON :: SystemInfoSize -> Value # toEncoding :: SystemInfoSize -> Encoding # toJSONList :: [SystemInfoSize] -> Value # toEncodingList :: [SystemInfoSize] -> Encoding # | |
| FromJSON SystemInfoSize Source # | |
Defined in CDP.Domains.SystemInfo Methods parseJSON :: Value -> Parser SystemInfoSize # parseJSONList :: Value -> Parser [SystemInfoSize] # | |
data SystemInfoGPUDevice Source #
Type GPUDevice.
Describes a single graphics processor (GPU).
Constructors
| SystemInfoGPUDevice | |
Fields
| |
Instances
| Eq SystemInfoGPUDevice Source # | |
Defined in CDP.Domains.SystemInfo Methods (==) :: SystemInfoGPUDevice -> SystemInfoGPUDevice -> Bool # (/=) :: SystemInfoGPUDevice -> SystemInfoGPUDevice -> Bool # | |
| Show SystemInfoGPUDevice Source # | |
Defined in CDP.Domains.SystemInfo Methods showsPrec :: Int -> SystemInfoGPUDevice -> ShowS # show :: SystemInfoGPUDevice -> String # showList :: [SystemInfoGPUDevice] -> ShowS # | |
| ToJSON SystemInfoGPUDevice Source # | |
Defined in CDP.Domains.SystemInfo Methods toJSON :: SystemInfoGPUDevice -> Value # toEncoding :: SystemInfoGPUDevice -> Encoding # toJSONList :: [SystemInfoGPUDevice] -> Value # toEncodingList :: [SystemInfoGPUDevice] -> Encoding # | |
| FromJSON SystemInfoGPUDevice Source # | |
Defined in CDP.Domains.SystemInfo Methods parseJSON :: Value -> Parser SystemInfoGPUDevice # parseJSONList :: Value -> Parser [SystemInfoGPUDevice] # | |