Delphi-Quellcode:
PerfFormattedData_PerfOS_Processor = record
C1TransitionsPerSec: String;
C2TransitionsPerSec: String;
C3TransitionsPerSec: String;
Caption: String;
Description: String;
DPCRate: String;
DPCsQueuedPerSec: String;
Frequency_Object: String;
Frequency_PerfTime: String;
Frequency_Sys100NS: String;
InterruptsPerSec: String;
Name: String;
PercentC1Time: String;
PercentC2Time: String;
PercentC3Time: String;
PercentDPCTime: String;
PercentIdleTime: String;
PercentInterruptTime: String;
PercentPrivilegedTime: String;
PercentProcessorTime: String;
PercentUserTime: String;
Timestamp_Object: String;
Timestamp_PerfTime: String;
Timestamp_Sys100NS: String;
end;
var
WMI_PerfFormattedData_PerfOS_Processor:array of PerfFormattedData_PerfOS_Processor;
so i could do something like this so i could reduce the code size
WMI_PerfFormattedData_PerfOS_Processor[i].Property[i2]