Message Boards Message Boards


v 12.1, Windows 10: obtain CPU name, clock speed, notebook name at runtime?

Posted 1 year ago
1 Reply
1 Total Likes

Hi, I looked at SystemInformation[] and found generic informaton such as ProcessorType (e.g. "x86-64"). There's probably a way to probe Windows 10 (?) and determine

CPU (e.g.  i7-2600)
clock speed (e.g. 3.40 GHz)

plus the name of the executing notebook from Mathematica?

Thank you, this will be helpful organizing various benchmarks of execution times of my software.

You could use wmic and RunProcess like so:

RunProcess[{"wmic", "cpu", "get", "name"}]["StandardOutput"]


Intel(R) Core(TM) i7-4930MX CPU @ 3.00GHz  

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract