kicad2ems.gui.statusbar¶
The status bar's memory meters and the toolbar's estimate.
MemoryMeters system RAM, the GPU's memory and, while a run goes, the run's
own memory (it and its children): RAM every 2 s from /proc,
the GPU every 3 s through nvidia-smi / rocm-smi in its own
process; without either tool, the GPU as the Solvers window's
check found it
EstimateButton what the next run should take (meters.estimate): time, RAM
and GPU memory for the solvers it runs, and how many
solvers a Run uses; grey when the settings changed since
the preview, red when it won't fit; opens the Solvers
window
- class kicad2ems.gui.statusbar.EstimateButton[source]¶
The toolbar's estimate: '~4 min · 1.3 GB · 2 solvers' over the solvers a Run uses.
- show_estimate(e, has_preview=True, stale=False, labels=None, runs=None, rf=True)[source]¶
e: meters.estimate's dict, or None. stale: the settings changed since the preview. runs: the solvers a Run uses, a name each (those of the S-parameters run, then each analysis), counted on the first line; rf: S-parameters are asked (an estimate is of their run).