Modes

In , the term mode is used to refer to a set of project settings. Each project must have at least one mode and may have many modes. The ability to have multiple modes makes it easy to quickly switch from one set of compiler switches, for example, to another. This can provide a straightforward way for you to compare the effects of different compiler, runtime, and environment settings on program performance.

By default, AcuBench provides a Release mode, containing very simple compiler and runtime command lines and basic environment settings, and a Debug mode, which adds the -Ga compiler flag to include all available debugging information in the compiled object.

When you make changes to an existing mode or add a new mode in the Project Settings interface, the changes are saved in the workspace project file (.pjt) for the affected project. If you create an individual project file (.pjf), these settings are carried over to that file.

You can also store each mode in a project options file (.pof). Project options files and methods for creating them are discussed in Saving a Mode as a POF.