Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 12/13/2021

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

Document Table of Contents 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

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