Haps Memory
API Reference Manual  /  Simulator API  /  Simulator API Functions  / 

Logging

SIM_get_quiet

Name

SIM_get_quiet — return setting of the quiet flag

Synopsis

C and DML

#include <simics/simulator-api.h> // in C
import "simics/simulator-api.dml"; // in DML

bool
SIM_get_quiet();

Python

import simics

simics.SIM_get_quiet(...)

Description

This function returns the current value of Simics’s quiet flag.

Execution Context

Cell Context

SIM_get_verbose

Name

SIM_get_verbose — get the verbose flag

Synopsis

C and DML

#include <simics/simulator-api.h> // in C
import "simics/simulator-api.dml"; // in DML

bool
SIM_get_verbose();

Python

import simics

simics.SIM_get_verbose(...)

Description

This function returns the value of Simics’s verbosity flag (corresponding to the --verbose command line argument).

Execution Context

Cell Context

SIM_set_quiet

Name

SIM_set_quiet — enable/disable quiet mode

Synopsis

C and DML

#include <simics/simulator-api.h> // in C
import "simics/simulator-api.dml"; // in DML

void
SIM_set_quiet(bool quiet);

Python

import simics

simics.SIM_set_quiet(...)

Description

Calling this function with an argument of true will enable the quiet mode, whereas an argument of false will disable it. Any other arguments will cause a frontend exception. Please note that enabling the quiet mode will disable verbose mode.

Execution Context

Cell Context

SIM_set_verbose

Name

SIM_set_verbose — enable/disable verbose mode

Synopsis

C and DML

#include <simics/simulator-api.h> // in C
import "simics/simulator-api.dml"; // in DML

void
SIM_set_verbose(bool verbose);

Python

import simics

simics.SIM_set_verbose(...)

Description

This function sets Simics’s internal verbosity flag (corresponding to the --verbose command line argument). The verbose argument can be either true or false. Note that setting this flag will disable quiet mode.

Execution Context

Cell Context

Haps Memory