Jump to content

How to get nr of CPU(s)?


E1M1
 Share

Recommended Posts

First time I've ever used EnvGet for anything of any use:

ConsoleWrite("Number of CPUs: " & EnvGet("NUMBER_OF_PROCESSORS") & @CRLF)
ConsoleWrite("CPU Architecture: " & EnvGet("PROCESSOR_ARCHITECTURE") & @CRLF)
ConsoleWrite("CPU Identifier: " & EnvGet("PROCESSOR_IDENTIFIER") & @CRLF)
ConsoleWrite("CPU Level: " & EnvGet("PROCESSOR_LEVEL") & @CRLF)
ConsoleWrite("CPU Revision: " & EnvGet("PROCESSOR_REVISION") & @CRLF)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...