4.4.5. Basic Memory Simulators#
4.4.5.1. Simulation#
- class simbricks.components.mem.simulation.base.mem.BasicMem(simulation: Simulation)#
-
- classmethod fromJSON(simulation: Simulation, json_obj: dict) Self#
- add(mem: MemSimpleDevice)#
- run_cmd(inst: Instantiation) str#
Command to execute this simulator.
- T = ~T#
- checkpoint_commands() list[str]#
- cleanup_commands() list[str]#
- property extra_args: str#
- static filter_channels_by_sys_type(channels: list[sim_chan.Channel], ty: type[T]) list[T]#
- filter_components_by_pred(pred: tp.Callable[[sys_conf.Component], bool], ty: type[T] = <class 'simbricks.orchestration.system.base.Component'>) list[T]#
- filter_components_by_type(ty: type[T]) list[T]#
- full_name() str#
Full name of the simulator.
- get_interface_url(inst: Instantiation, intf: Interface) str#
- get_parameters_url(inst: Instantiation, socket: Socket, channel: Channel | None = None, sync: bool | None = None, latency: int | None = None, sync_period: int | None = None) str#
- id() int#
- async prepare(inst: Instantiation) None#
- resreq_cores() int#
Number of cores this simulator requires during execution.
This is used for scheduling multiple runs and experiments.
- resreq_mem() int#
Number of memory in MB this simulator requires during execution.
This is used for scheduling multiple runs and experiments.
- sockets_cleanup(inst: Instantiation) list[Socket]#
- sockets_wait(inst: Instantiation) list[Socket]#
- start_delay() int#
- supports_checkpointing() bool#
- toJSON() dict#
- property wait_terminate: bool#
- class simbricks.components.mem.simulation.base.mem.BasicInterconnect(simulation: Simulation)#
-
- classmethod fromJSON(simulation: Simulation, json_obj: dict) Self#
- add(ic: MemInterconnect)#
- run_cmd(inst: Instantiation) str#
Command to execute this simulator.
- T = ~T#
- checkpoint_commands() list[str]#
- cleanup_commands() list[str]#
- property extra_args: str#
- static filter_channels_by_sys_type(channels: list[sim_chan.Channel], ty: type[T]) list[T]#
- filter_components_by_pred(pred: tp.Callable[[sys_conf.Component], bool], ty: type[T] = <class 'simbricks.orchestration.system.base.Component'>) list[T]#
- filter_components_by_type(ty: type[T]) list[T]#
- full_name() str#
Full name of the simulator.
- get_interface_url(inst: Instantiation, intf: Interface) str#
- get_parameters_url(inst: Instantiation, socket: Socket, channel: Channel | None = None, sync: bool | None = None, latency: int | None = None, sync_period: int | None = None) str#
- id() int#
- async prepare(inst: Instantiation) None#
- resreq_cores() int#
Number of cores this simulator requires during execution.
This is used for scheduling multiple runs and experiments.
- resreq_mem() int#
Number of memory in MB this simulator requires during execution.
This is used for scheduling multiple runs and experiments.
- sockets_cleanup(inst: Instantiation) list[Socket]#
- sockets_wait(inst: Instantiation) list[Socket]#
- start_delay() int#
- supports_checkpointing() bool#
- toJSON() dict#
- property wait_terminate: bool#
- class simbricks.components.mem.simulation.base.mem.MemTerminal(simulation: Simulation)#
-
- classmethod fromJSON(simulation: Simulation, json_obj: dict) Self#
- add(mem: MemTerminal)#
- run_cmd(inst: Instantiation) str#
Command to execute this simulator.
- T = ~T#
- checkpoint_commands() list[str]#
- cleanup_commands() list[str]#
- property extra_args: str#
- static filter_channels_by_sys_type(channels: list[sim_chan.Channel], ty: type[T]) list[T]#
- filter_components_by_pred(pred: tp.Callable[[sys_conf.Component], bool], ty: type[T] = <class 'simbricks.orchestration.system.base.Component'>) list[T]#
- filter_components_by_type(ty: type[T]) list[T]#
- full_name() str#
Full name of the simulator.
- get_interface_url(inst: Instantiation, intf: Interface) str#
- get_parameters_url(inst: Instantiation, socket: Socket, channel: Channel | None = None, sync: bool | None = None, latency: int | None = None, sync_period: int | None = None) str#
- id() int#
- async prepare(inst: Instantiation) None#
- resreq_cores() int#
Number of cores this simulator requires during execution.
This is used for scheduling multiple runs and experiments.
- resreq_mem() int#
Number of memory in MB this simulator requires during execution.
This is used for scheduling multiple runs and experiments.
- sockets_cleanup(inst: Instantiation) list[Socket]#
- sockets_wait(inst: Instantiation) list[Socket]#
- start_delay() int#
- supports_checkpointing() bool#
- toJSON() dict#
- property wait_terminate: bool#