Skip to content

Class: CPU

CPU element specifying the CPU requirements for the application.

 classDiagram
    class CPU
    click CPU href "../CPU/"
      CPU : architectures





        CPU --> "*" CpuArchitectureType : architectures
        click CpuArchitectureType href "../CpuArchitectureType/"



      CPU : cores

Attributes

Name Cardinality and Range Description Inheritance
cores 1
double
The required amount of CPU cores the application must use to run in its full ... direct
architectures *
CpuArchitectureType
The CPU architectures supported by the application direct

Usages

used by used in type used
Resources cpu range CPU

This section is only relevant for contributors of the specification

LinkML Source

Direct

Details
name: CPU
description: CPU element specifying the CPU requirements for the application.
from_schema: https://specification.margo.org/data-model
attributes:
  cores:
    name: cores
    description: The required amount of CPU cores the application must use to run
      in its full functionality. Specified as decimal units of CPU cores (e.g., `0.5`
      is half a core). This is defined by the application developer. After deployment
      of the application, the device MUST provide this number of CPU cores for the
      application.
    from_schema: https://specification.margo.org/device-resources
    rank: 10
    domain_of:
    - CPU
    range: double
    required: true
  architectures:
    name: architectures
    description: The CPU architectures supported by the application. This can be e.g.
      amd64, x86_64, arm64, arm. See the [CpuArchitectureType](#cpuarchitecturetype)
      definition for all permissible values. Multiple arcitecture types can be specified,
      as the deployment profile may support multiple CPU architectures.
    from_schema: https://specification.margo.org/device-resources
    rank: 20
    domain_of:
    - CPU
    range: CpuArchitectureType
    required: false
    multivalued: true
    inlined: false

Induced

Details
name: CPU
description: CPU element specifying the CPU requirements for the application.
from_schema: https://specification.margo.org/data-model
attributes:
  cores:
    name: cores
    description: The required amount of CPU cores the application must use to run
      in its full functionality. Specified as decimal units of CPU cores (e.g., `0.5`
      is half a core). This is defined by the application developer. After deployment
      of the application, the device MUST provide this number of CPU cores for the
      application.
    from_schema: https://specification.margo.org/device-resources
    rank: 10
    alias: cores
    owner: CPU
    domain_of:
    - CPU
    range: double
    required: true
  architectures:
    name: architectures
    description: The CPU architectures supported by the application. This can be e.g.
      amd64, x86_64, arm64, arm. See the [CpuArchitectureType](#cpuarchitecturetype)
      definition for all permissible values. Multiple arcitecture types can be specified,
      as the deployment profile may support multiple CPU architectures.
    from_schema: https://specification.margo.org/device-resources
    rank: 20
    alias: architectures
    owner: CPU
    domain_of:
    - CPU
    range: CpuArchitectureType
    required: false
    multivalued: true
    inlined: false