GUI-modes
From BenchIT-Wiki
Contents |
Identify your current mode
Look at the Panel above the internal console (green, lower right).
- If this shows some inforamtion about architecture, environments, compilerflags,... you should be in LOCALDEF-mode.
- If it shows some kernel-sources, you should be in Kernel-mode
- If it shows a plotted result, configuration for this or a result-file as text, but also when this panel is empty, you are in Result-mode
- If there is no console on the lower right, you might be in DB-mode
LOCALDEF-mode
In this mode, LOCALDEFs can be edited graphically or as plain text.
Switch to LOCALDEF-mode by:
- choosing Setup->Localdefs OR
- typing <CTRL-L> OR
- pressing the button, which displays a house. (Local-defs.)
Available Shortcuts
- <Ctrl-L>: Load the actual LOCALDEFs
- <Ctrl-S>: Save the actual LOCALDEFs
- general shortcuts
In plain-text-mode, when editor is in focus:
Setting the LOCALDEFs, hints and more
- To change the LOCALDEFs, you can write in the text-editor or use the graphical settings. Switch between the modes with the button on the right in the toolbar.
- Your changes will be saved when starting a kernel locally.
- Your changes will NOT be saved automatically when starting a kernel REMOTE!
- The graphical settings will not show all information saved in the LOCALDEFs, only those which are saved in gui/cfg/Config.XML! To change the content of this file start Setup -> Localdef Specification, which will lead you there.
Kernel-mode
In this mode, you can select the kernels, you'd like to run. Also you can create new kernels or change them.
Switch to Kernel-mode by:
- pressing on the "Kernels"-tab above the tree
Available Shortcuts
Select kernels
Select kernels by selecting nodes in the result-tree, which is located in the left. You can select more then one kernel by Holding <CTRL> or <SHIFT> while selecting the next one. You may also select whole groups of kernels by selecting a node, which is no leaf (E.g. select the "numerical"-node when you want to start all kernels with a numerical background (e.g. FFT, matmul, vector addition)) .
Last settings
When more then one kernel is selected, a combobox should appear in the top of the source editor, which lets you select the kernel which is currently edited.
! Editing other files then COMPILE.SH or PARAMETERS is only available when setting the flag kernelSourceEdit to 1
The structure of a kernel can be found here soon. When starting a kernel, mdifications are saved.
Starting a kernel locally
Start the selected kernel by ...
- pressing <CTRL>-E OR
- a right-click the kernels in result-tree and select "Execute local" OR
- selecting "Measure"->"Execute local"
! This should NOT work under Windows and other not POSIX-compliant OSs ! You may also stop a started local measurement, when you didn't close the GUI by selecting "Measure"->"Stop measurement"
Starting a kernel remote
see remote-handling
Result-mode
Switch to Result-mode by:
- pressing on the "Results"-tab above the tree
What you see
There's a tree, containing all local result-files on the left. The tree also has some nodes in the first level, which are called "Mixer". These are desribed here. On the top-right theres a panel, where you can see the result as text or as plot (see switching displaymode). Below there is the console and (if you're connected to the DB) more to add some online results to the Online-Mixer. On the right side, there's a plot or the content of a file displayed. (depending on mode)
DB-mode
The DB-Mode was deactivated and integrated into the Result-Mode :)
Switch to DB-mode by:
- choosing Evaluate->BenchIT Database OR
- typing <CTRL-D> OR
- pressing the button, which displays a world.
