Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

ProcessorSpeedMHz class function

Project: System Information Unit.

Unit: PJSysInfo.

Class: TPJComputerInfo

Applies to: ~>5.4

class function ProcessorSpeedMHz: Cardinal;

Description

Returns the speed of the computer’s processor in megahertz (MHz).

On multi-processor systems the method returns the speed of the 1st processor.

If the processor speed cannot be found then 0 is returned.

See Also