Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2003.01.30;
Скачать: CL | DM;

Вниз

CPU   Найти похожие ветки 

 
Seldon   (2002-11-18 21:38) [0]

Как узнать, на сколько % загружен проц?
Больщой спасиб!


 
Jeer ©   (2002-11-18 23:38) [1]

Я тебе скажу - у меня сейчас - на..
секундочку.. 4-6%
w2k + inet(4 окна) + d5 + FAR + PROMTH + Fix It


 
Александр Павлов ©   (2002-11-19 06:12) [2]

http://www.aldyn.ru/products/cpu_usage/files/AdCpuUsage.zip


 
Севостьянов Игорь ©   (2002-11-19 12:59) [3]

const
sPercent = "%";
var
MemStatus: TMemoryStatus;
S: String;
begin
MemStatus.dwLength := SizeOf(TMemoryStatus);
GlobalMemoryStatus(MemStatus);
with MemStatus do
begin
S := Format("MemoryLoad %d%s", [dwMemoryLoad, sPercent]); // percent of memory in usemmoList.Lines.Add(S);
S := Format("TotalPhys %d", [dwTotalPhys]); // bytes of physical memory
mmoList.Lines.Add(S);
S := Format("AvailPhys %d", [dwAvailPhys]); // free physical memory bytes
mmoList.Lines.Add(S);
S := Format("TotalPageFile %d", [dwTotalPageFile]);// bytes of paging file
mmoList.Lines.Add(S);
S := Format("AvailPageFile %d", [dwAvailPageFile]);// free bytes of paging file
mmoList.Lines.Add(S);
S := Format("TotalVirtual %d", [dwTotalVirtual]); // user bytes of address space
mmoList.Lines.Add(S);
S := Format("AvailVirtual %d", [dwAvailVirtual]); // free user bytes
mmoList.Lines.Add(S);
S := Format("PercentUseMem %s%s", [FloatToStr(100 - Round(dwAvailPhys/(dwTotalPhys/100))), sPercent]); // percent of memory in use
end;
end;



Страницы: 1 вся ветка

Текущий архив: 2003.01.30;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.021 c
3-96514
Дима2003
2003-01-14 12:45
2003.01.30
HEX to Text


1-96657
nikulin
2003-01-21 15:29
2003.01.30
Поток


14-96958
JibSkeart
2003-01-12 13:07
2003.01.30
Типа с Наступающим старым Новым Годом !!!


3-96568
Kilo
2003-01-11 18:30
2003.01.30
Вместо ноля выводится 1,4210854715202E-14


4-97077
с - - + + -
2002-12-15 11:56
2003.01.30
popup menu не на delphi, а на API