deployment::hardware
KlasseCache

The Cache entity represents a processor cache. It captures the level on which the cache operates in cache hierarchy, its size and associativity, size of the cache line and access latency. Each cache can be available to one or more ProcessorCores. The Cache entity allows describing typical caches, such as instruction or data (or unified) caches, but is unsuitable for capturing caches such as the Pentium 4 trace cache.

Attribute
<Primitive Type> Unlimited Natural level level

The level at which the cache operates in the cache hierarchy.

<Enumeration> CacheKind kind kind

The kind of contents stored by this cache.

<Primitive Type> Unlimited Natural size size

Size of the cache, in bytes.

<Primitive Type> Unlimited Natural associativity associativity

Degree of cache associativity, possibly in powers of 2. Value of 1 indicates a direct-mapped cache, value of (cacheSize / cacheLineSize) indicates a fully associative cache. Values between those extremes indicate the degree of associativity. Other values are considered invalid.

<Primitive Type> Unlimited Natural cacheLineSize cacheLineSize

Size of the cache line, in bytes.

<Primitive Type> Unlimited Natural accessLatency accessLatency

Cache access latency expressed in number of clocks of the processor. The access latency of higher-level caches represents the miss penalty for lower-level (closer to processor) caches. The memory access latency represents the miss penalty for the highest-level cache.

<Class> ProcessorCore cores cores

Collection of processor cores sharing a particular cache.


Eigenschaften:

Alias
Classifier Behavior
Is Abstractfalse
Is Activefalse
Is Leaffalse
Keywords
NameCache
Name Expression
Namespace<<ePackage>> <Package> hardware
Owned Template Signature
Owner<<ePackage>> <Package> hardware
Owning Template Parameter
Package<<ePackage>> <Package> hardware
Qualified Namesamm::deployment::hardware::Cache
Representation
Stereotype
Template Parameter
VisibilityPublic

Details für Attribute

 accessLatency
Public <Primitive Type> Unlimited Natural accessLatency

Cache access latency expressed in number of clocks of the processor. The access latency of higher-level caches represents the miss penalty for lower-level (closer to processor) caches. The memory access latency represents the miss penalty for the highest-level cache.

Eigenschaften:

AggregationNone
Alias
Association
Association End
Class<Class> Cache
Datatype
Default
Default Value
Is Compositefalse
Is Derivedfalse
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlyfalse
Is Staticfalse
Is Uniquetrue
Keywords
Lower1
Lower Value
Multiplicity1
NameaccessLatency
Name Expression
Namespace<Class> Cache
Opposite
Owned Template Signature
Owner<Class> Cache
Owning Association
Owning Template Parameter
Qualified Namesamm::deployment::hardware::Cache::accessLatency
Stereotype
Template Parameter
Type<Primitive Type> Unlimited Natural
Upper1
Upper Value
VisibilityPublic


 associativity
Public <Primitive Type> Unlimited Natural associativity

Degree of cache associativity, possibly in powers of 2. Value of 1 indicates a direct-mapped cache, value of (cacheSize / cacheLineSize) indicates a fully associative cache. Values between those extremes indicate the degree of associativity. Other values are considered invalid.

Eigenschaften:

AggregationNone
Alias
Association
Association End
Class<Class> Cache
Datatype
Default
Default Value
Is Compositefalse
Is Derivedfalse
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlyfalse
Is Staticfalse
Is Uniquetrue
Keywords
Lower1
Lower Value
Multiplicity1
Nameassociativity
Name Expression
Namespace<Class> Cache
Opposite
Owned Template Signature
Owner<Class> Cache
Owning Association
Owning Template Parameter
Qualified Namesamm::deployment::hardware::Cache::associativity
Stereotype
Template Parameter
Type<Primitive Type> Unlimited Natural
Upper1
Upper Value
VisibilityPublic


 cacheLineSize
Public <Primitive Type> Unlimited Natural cacheLineSize

Size of the cache line, in bytes.

Eigenschaften:

AggregationNone
Alias
Association
Association End
Class<Class> Cache
Datatype
Default
Default Value
Is Compositefalse
Is Derivedfalse
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlyfalse
Is Staticfalse
Is Uniquetrue
Keywords
Lower1
Lower Value
Multiplicity1
NamecacheLineSize
Name Expression
Namespace<Class> Cache
Opposite
Owned Template Signature
Owner<Class> Cache
Owning Association
Owning Template Parameter
Qualified Namesamm::deployment::hardware::Cache::cacheLineSize
Stereotype
Template Parameter
Type<Primitive Type> Unlimited Natural
Upper1
Upper Value
VisibilityPublic


 cores
Public <Class> ProcessorCore cores

Collection of processor cores sharing a particular cache.

Eigenschaften:

AggregationNone
Alias
Association<Association> A_cores_caches
Association End
Class<Class> Cache
Datatype
Default
Default Value
Is Compositefalse
Is Derivedfalse
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlyfalse
Is Staticfalse
Is Uniquetrue
Keywords
Lower1
Lower Value<Literal Integer> 1
Multiplicity1..*
Namecores
Name Expression
Namespace<Class> Cache
Opposite<Property> caches : Cache [0..*]
Owned Template Signature
Owner<Class> Cache
Owning Association
Owning Template Parameter
Qualified Namesamm::deployment::hardware::Cache::cores
Stereotype
Template Parameter
Type<Class> ProcessorCore
Upper*
Upper Value<Literal Unlimited Natural> *
VisibilityPublic


 kind
Public <Enumeration> CacheKind kind

The kind of contents stored by this cache.

Eigenschaften:

AggregationNone
Alias
Association<Association> A_kind_cache
Association End
Class<Class> Cache
Datatype
Default
Default Value
Is Compositefalse
Is Derivedfalse
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlyfalse
Is Staticfalse
Is Uniquetrue
Keywords
Lower1
Lower Value
Multiplicity1
Namekind
Name Expression
Namespace<Class> Cache
Opposite
Owned Template Signature
Owner<Class> Cache
Owning Association
Owning Template Parameter
Qualified Namesamm::deployment::hardware::Cache::kind
Stereotype
Template Parameter
Type<Enumeration> CacheKind
Upper1
Upper Value
VisibilityPublic


 level
Public <Primitive Type> Unlimited Natural level

The level at which the cache operates in the cache hierarchy.

Eigenschaften:

AggregationNone
Alias
Association
Association End
Class<Class> Cache
Datatype
Default
Default Value
Is Compositefalse
Is Derivedfalse
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlyfalse
Is Staticfalse
Is Uniquetrue
Keywords
Lower1
Lower Value
Multiplicity1
Namelevel
Name Expression
Namespace<Class> Cache
Opposite
Owned Template Signature
Owner<Class> Cache
Owning Association
Owning Template Parameter
Qualified Namesamm::deployment::hardware::Cache::level
Stereotype
Template Parameter
Type<Primitive Type> Unlimited Natural
Upper1
Upper Value
VisibilityPublic


 size
Public <Primitive Type> Unlimited Natural size

Size of the cache, in bytes.

Eigenschaften:

AggregationNone
Alias
Association
Association End
Class<Class> Cache
Datatype
Default
Default Value
Is Compositefalse
Is Derivedfalse
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlyfalse
Is Staticfalse
Is Uniquetrue
Keywords
Lower1
Lower Value
Multiplicity1
Namesize
Name Expression
Namespace<Class> Cache
Opposite
Owned Template Signature
Owner<Class> Cache
Owning Association
Owning Template Parameter
Qualified Namesamm::deployment::hardware::Cache::size
Stereotype
Template Parameter
Type<Primitive Type> Unlimited Natural
Upper1
Upper Value
VisibilityPublic