Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
CodeDelphiTech Partner

Gather CPU Information Within Your Windows App Using This Ultimate Component Suite

cputestfimage

Want to determine the manufacturer, speed of a CPU, CPU Type, CPU Physical Count, etc. from your Delphi application? Want to know the CPU Cache, Standard features, Extended features information from code ? Don’t know how to do. Don’t worry. MiTec’s System Information Management Suite’s component helps to identify easily and we will learn how to use TMiTeC_CPU component in the blog post.

Platforms: Windows.

Installation Steps:  

You can easily install this Component Suite from GetIt Package Manager. The steps are as follows.

  1. Navigate In RAD Studio IDE->Tools->GetIt Package Manager->select Components in Categories->Components->Trail -MiTec system Information Component Suite 14.3 and click Install Button.
  2. Read the license and Click Agree All. An Information dialog saying ‘Requires a restart of RAD studio at the end of the process. Do you want to proceed? click yes and continue.
  3. It will download the plugin and installs it. Once installed Click Restart now.

How to run the Demo app: 

  • Navigate to the System Information Management Suite trails setup, Demos folder which is installed during Get It installation e.g) C:UsersDocumentsEmbarcaderoStudio21.0CatalogRepositoryMiTeC-14.3DemosDelphi14
  • Open the CPUTest project in RAD studio 10.4.1 compile and Run the application.
  • This Demo App shows how to gather some of the complex CPU information and its features.

Components used in MSIC CPUTest Demo App:

cpuproperties 7518582
<strong>TMiTeC CPU Properties<strong>
  • TMiTeC_CPU: Gathers complex information about CPU and its caches. Some of the Key properties were shown here.
  • TMemo: To list down the CPU information and its features.
  • TButton to run CPU test and close the app.
  • TCheckBox to save the CPU information in different file format such as XML,SIF file.

Implementation Details:

  • An instance  CPU of TMiTeC_CPU is created. With CPU General properties values such as Number of Physical, logical, cores, threads, number of cores per package, etc. were retrieved.
  • By looping through the CPUPhysicalCount some of the processor properties values such as Architecture, Type, Vendor, CPU Name, etc. were retrieved. Cache and its properties, Logical Processor information were shown.
  • All these information were save to different file format based on the check boxes selected.

cpudemo 8707751
<strong>MiTeC CPUTest Demo<strong>

This is quite easy to collect CPU information from your application. Use this MiTeC component suite and get the job done quickly.

Head over and check out the full MiTec System Information Management Suite for Access System Information for Windows in Delphi Applications

With the use of a Windows IDE, you can easily gather CPU information within your Windows apps with a component suite. Try your Free Trial here.

See What's New in 12.2 Athens See What's New in 12.2 Athens Dev Days of Summer 2-24

Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

IN THE ARTICLES