Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Get the number of CPUs in Pascal

License

Notifications You must be signed in to change notification settings

Xor-el/NumCPULib4Pascal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NumCPULib4Pascal

Count the number of CPUs (Logical and Physical) on the current machine.

Build Status Build Status

Usage

Add NumCPULib to uses clause:

uses
  NumCPULib;

var
  lcc, pcc: Int32;
begin
// count logical cpus (aka logical processors)
 lcc := TNumCPULib.GetLogicalCPUCount();
// count physical cpus (aka cores)
 pcc := TNumCPULib.GetPhysicalCPUCount();
end;

About

Get the number of CPUs in Pascal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Contributors 2

  •  
  •