Changeset 164 for MicroThreading/Demo/UMainForm.pas
- Timestamp:
- Feb 8, 2011, 11:05:30 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MicroThreading/Demo/UMainForm.pas
r162 r164 7 7 uses 8 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, 9 ComCtrls, ExtCtrls, Spin, UMicroThreading, DateUtils, UPlatform,9 ComCtrls, ExtCtrls, Spin, Menus, UMicroThreading, DateUtils, UPlatform, 10 10 UMicroThreadList, UThreadEx; 11 11 … … 46 46 GroupBox2: TGroupBox; 47 47 GroupBox3: TGroupBox; 48 Label10: TLabel;49 48 Label11: TLabel; 50 49 Label12: TLabel; … … 57 56 Label3: TLabel; 58 57 Label4: TLabel; 59 Label5: TLabel; 60 Label6: TLabel; 61 Label7: TLabel; 62 Label8: TLabel; 63 Label9: TLabel; 58 MainMenu1: TMainMenu; 64 59 Memo1: TMemo; 60 MenuItem1: TMenuItem; 61 MenuItem2: TMenuItem; 62 MenuItem3: TMenuItem; 63 MenuItem4: TMenuItem; 65 64 PageControl1: TPageControl; 66 65 SpinEdit1: TSpinEdit; … … 134 133 DoubleBuffered := True; 135 134 // ListView1.DoubleBuffered := True; 136 Label6.Caption := IntToStr(GetLogicalProcessorCount);137 135 Event := TMicroThreadEvent.Create; 138 136 MicroThreadList := TMicroThreadList.Create(Self); … … 345 343 Label2.Caption := DateTimeToStr(NowPrecise) + ' ' + 346 344 FloatToStr(Frac(NowPrecise / OneSecond)); 347 Label9.Caption := IntToStr(MainScheduler.ThreadPoolCount);348 Label10.Caption := IntToStr(MainScheduler.MicroThreadCount);349 345 end; 350 346
Note:
See TracChangeset
for help on using the changeset viewer.