MemoryScopesProfile

data class MemoryScopesProfile(val names: MutableMap<MemoryScopeType, String> = mutableMapOf())(source)

Profile containing scopes for memory operations

Constructors

Link copied to clipboard
constructor(vararg scopeNames: Pair<MemoryScopeType, String>)

Secondary constructor for MemoryScopesProfile that initializes the profile with a variable number of MemoryScopeType to String mappings. This constructor converts the provided pairs into a mutable map and passes it to the primary constructor.

constructor(names: MutableMap<MemoryScopeType, String> = mutableMapOf())

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Retrieves the memory scope associated with the specified memory scope type.

Link copied to clipboard

Retrieves the name associated with a specific memory scope type.