Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 10/04/2021
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

3.1.20.7. get_environment_info (::quartus::misc)

The following table displays information for the get_environment_info Tcl command:

Tcl Package and Version

Belongs to ::quartus::misc

Syntax get_environment_info [-h | -help] [-long_help] [-num_logical_processors] [-num_physical_processors] [-operating_system]
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-num_logical_processors Option to return the number of available logical processors (cores including hyper-threading)
-num_physical_processors Option to return the number of available physical processors (sockets)
-operating_system Option to return the operating system name
Description

Returns information about the system environment depending on the options specified.

Example Usage
# Get the number of physical processors available on my computer.
get_environment_info -num_physical_processors
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful
TCL_ERROR 1 ERROR: At least one option is required. Specify at least one option.
TCL_ERROR 1 ERROR: Multiple options used. Choose only one option for this command.

Did you find the information on this page useful?

Characters remaining:

Feedback Message