Recent

Author Topic: CPU Usage  (Read 5899 times)

bambamns

  • Full Member
  • ***
  • Posts: 226
CPU Usage
« on: April 20, 2012, 02:49:58 pm »
Hi to all,

Does anyone know any component or code to measure each CPU usage.

Delphi has http://www.aldyn.ru/products/cpu_usage/index.html and it work's just fine but it can't be compiled under Lazarus.

Thank you.
« Last Edit: April 20, 2012, 02:51:51 pm by bambamns »
Lazarus 3.6 on Windows 11

KpjComp

  • Hero Member
  • *****
  • Posts: 680
Re: CPU Usage
« Reply #1 on: April 20, 2012, 03:04:37 pm »
What errors do you get?

It might just be a case of putting {$mode delphi} at the top of the units etc,.

bambamns

  • Full Member
  • ***
  • Posts: 226
Re: CPU Usage
« Reply #2 on: April 22, 2012, 03:00:54 pm »
You are write.

I'd just downloaded examples from http://www.aldyn.ru/products/cpu_usage/files/AdCpuUsage.zip and converted them in to Lazarus.

It is working 100%

Thx
Lazarus 3.6 on Windows 11

 

TinyPortal © 2005-2018