Get_environment_info, Usage, Options – Altera Quartus II Scripting User Manual
Page 306: Description, Example, Get_environment_info –176
Advertising
3–176
Chapter 3: Tcl Packages & Commands
misc
Quartus II Scripting Reference Manual
© July 2013
Altera Corporation
get_environment_info
Usage
get_environment_info [-num_logical_processors] [-num_physical_processors]
[-operating_system]
Options
-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
# Get the number of physical processors available on my computer.
get_environment_info -num_physical_processors
Advertising