Changeset 159 for MicroThreading/Demo/UMainForm.lfm
- Timestamp:
- Jan 31, 2011, 2:16:21 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MicroThreading/Demo/UMainForm.lfm
r158 r159 1 1 object MainForm: TMainForm 2 Left = 2 242 Left = 237 3 3 Height = 533 4 Top = 984 Top = 102 5 5 Width = 816 6 6 Caption = 'MicroThreading demo' … … 16 16 Top = 8 17 17 Width = 802 18 ActivePage = TabSheet 118 ActivePage = TabSheet2 19 19 Anchors = [akTop, akLeft, akRight, akBottom] 20 TabIndex = 120 TabIndex = 0 21 21 TabOrder = 0 22 22 object TabSheet2: TTabSheet 23 23 Caption = 'Scheduler state' 24 ClientHeight = 492 25 ClientWidth = 798 26 object ListView1: TListView 27 Left = 222 28 Height = 459 29 Top = 24 30 Width = 571 31 Anchors = [akTop, akLeft, akRight, akBottom] 32 Columns = < 33 item 34 Caption = 'Id' 35 Width = 40 36 end 37 item 38 Caption = 'Usage' 39 end 40 item 41 Caption = 'Priority' 42 end 43 item 44 Caption = 'State' 45 Width = 60 46 end 47 item 48 Caption = 'Block state' 49 end 50 item 51 Caption = 'Execution time' 52 Width = 70 53 end 54 item 55 Caption = 'Execution count' 56 end 57 item 58 Caption = 'Completion' 59 end 60 item 61 Caption = 'Used stack' 62 Width = 178 63 end 64 item 65 Caption = 'Name' 66 end> 67 OwnerData = True 68 ReadOnly = True 69 RowSelect = True 70 TabOrder = 0 71 ViewStyle = vsReport 72 OnData = ListView1Data 73 end 74 object Label1: TLabel 75 Left = 222 76 Height = 14 77 Top = 7 78 Width = 76 79 Caption = 'Microthreads:' 80 ParentColor = False 81 end 24 ClientHeight = 493 25 ClientWidth = 794 82 26 object GroupBox1: TGroupBox 83 27 Left = 6 … … 86 30 Width = 205 87 31 Caption = 'State' 88 ClientHeight = 6 632 ClientHeight = 63 89 33 ClientWidth = 201 90 TabOrder = 134 TabOrder = 0 91 35 object Label5: TLabel 92 36 Left = 9 93 37 Height = 14 94 38 Top = 4 95 Width = 1 3539 Width = 117 96 40 Caption = 'Logical processor count:' 97 41 ParentColor = False … … 109 53 Height = 14 110 54 Top = 20 111 Width = 7855 Width = 69 112 56 Caption = 'Thread count:' 113 57 ParentColor = False … … 117 61 Height = 14 118 62 Top = 36 119 Width = 10763 Width = 95 120 64 Caption = 'Micro thread count:' 121 65 ParentColor = False … … 141 85 Height = 14 142 86 Top = 52 143 Width = 8387 Width = 73 144 88 Caption = 'Main thread id:' 145 89 ParentColor = False … … 160 104 Width = 206 161 105 Caption = 'Control' 162 ClientHeight = 1 11106 ClientHeight = 108 163 107 ClientWidth = 202 164 TabOrder = 2108 TabOrder = 1 165 109 object ButtonSchedulerStartStop: TButton 166 110 Left = 8 … … 176 120 Height = 14 177 121 Top = 46 178 Width = 78122 Width = 69 179 123 Caption = 'Thread count:' 180 124 ParentColor = False … … 190 134 object CheckBoxUseMainThread: TCheckBox 191 135 Left = 10 192 Height = 20136 Height = 17 193 137 Top = 64 194 Width = 112138 Width = 98 195 139 Caption = 'Use main thread' 196 140 OnChange = CheckBoxUseMainThreadChange … … 200 144 object ListView2: TListView 201 145 Left = 6 202 Height = 23 6146 Height = 237 203 147 Top = 247 204 148 Width = 206 … … 213 157 end> 214 158 OwnerData = True 215 TabOrder = 3159 TabOrder = 2 216 160 ViewStyle = vsReport 217 161 OnData = ListView2Data … … 221 165 Height = 14 222 166 Top = 233 223 Width = 50167 Width = 44 224 168 Caption = 'Threads:' 225 169 ParentColor = False 170 end 171 object Button4: TButton 172 Left = 226 173 Height = 25 174 Top = 17 175 Width = 123 176 Caption = 'Show manager' 177 OnClick = Button4Click 178 TabOrder = 3 226 179 end 227 180 end 228 181 object TabSheet1: TTabSheet 229 182 Caption = 'Job control' 230 ClientHeight = 49 2231 ClientWidth = 79 8183 ClientHeight = 493 184 ClientWidth = 794 232 185 object ButtonAddWorkers: TButton 233 186 Left = 10 … … 252 205 Height = 14 253 206 Top = 14 254 Width = 3 7207 Width = 34 255 208 Caption = 'Count:' 256 209 ParentColor = False … … 269 222 object Memo1: TMemo 270 223 Left = 316 271 Height = 24 3224 Height = 244 272 225 Top = 14 273 226 Width = 294 … … 289 242 Height = 14 290 243 Top = 38 291 Width = 5 7244 Width = 52 292 245 Caption = 'Iterations:' 293 246 ParentColor = False … … 309 262 Width = 292 310 263 Caption = 'Do inside jobs' 311 ClientHeight = 1 22264 ClientHeight = 119 312 265 ClientWidth = 288 313 266 TabOrder = 6 314 267 object CheckBox1: TCheckBox 315 268 Left = 4 316 Height = 20269 Height = 17 317 270 Top = 9 318 Width = 76271 Width = 66 319 272 Caption = 'Use sleep' 320 273 OnChange = CheckBox1Change … … 334 287 Height = 14 335 288 Top = 15 336 Width = 1 7289 Width = 14 337 290 Caption = 'ms' 338 291 ParentColor = False … … 340 293 object CheckBox2: TCheckBox 341 294 Left = 5 342 Height = 20295 Height = 17 343 296 Top = 32 344 Width = 1 26297 Width = 112 345 298 Caption = 'Write test to memo' 346 299 OnChange = CheckBox2Change … … 349 302 object CheckBox3: TCheckBox 350 303 Left = 5 351 Height = 20304 Height = 17 352 305 Top = 56 353 Width = 9 8306 Width = 90 354 307 Caption = 'Wait for event' 355 308 OnChange = CheckBox3Change … … 379 332 Height = 14 380 333 Top = 56 381 Width = 1 7334 Width = 14 382 335 Caption = 'ms' 383 336 ParentColor = False
Note:
See TracChangeset
for help on using the changeset viewer.