context - DTS execution context

Runtime contexts.

get_ctx() → Context

Retrieve the current runtime context.

init_ctx(ctx: Context) → None

Initialize context.

filter_cores(specifier: framework.testbed_model.cpu.LogicalCoreCount | framework.testbed_model.cpu.LogicalCoreList, ascending_cores: bool | None = None) → Callable[[type[api.testbed_model.capability.TestProtocol]], Callable]

Decorates functions that require a temporary update to the lcore specifier.