Module smp

Module smp 

Source

Structs§

SMP
Simulate a SMP system with n CPUs initially present on the machine type board. On boards supporting CPU hotplug, the optional maxcpus parameter can be set to enable further CPUs to be added at runtime. When both parameters are omitted, the maximum number of CPUs will be calculated from the provided topology members and the initial CPU count will match the maximum number. When only one of them is given then the omitted one will be set to its counterpart’s value. Both parameters may be specified, but the maximum number of CPUs must be equal to or greater than the initial CPU count. Product of the CPU topology hierarchy must be equal to the maximum number of CPUs. Both parameters are subject to an upper limit that is determined by the specific machine type chosen.
SMPBuilder
Use builder syntax to set the inputs and finish with build().