Changeset 53 for oup/current/Tools
- Timestamp:
- Dec 24, 2006, 12:36:07 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
oup/current/Tools/Template.pas
r51 r53 84 84 i: LongWord; 85 85 exts: TStringArray; 86 f, c1,c2: Int64; 87 time1,time2,time3: Double; 88 begin 89 QueryPerformanceFrequency(f); 90 QueryPerformanceCounter(c1); 86 begin 91 87 combo_extension.Items.Clear; 92 88 combo_extension.Items.Add('_All files_ (' + … … 102 98 end else 103 99 combo_extension.Items.Add(exts[i]); 104 QueryPerformanceCounter(c2);105 time1 := (c2 - c1) / f;106 100 combo_extension.ItemIndex := 0; 107 101 combo_extensionClick(Self); 108 QueryPerformanceCounter(c1);109 time2 := (c1 - c2) / f;110 ShowMessage(FloatToStr(time1) +#13+#10+ FloatToStr(time2));111 102 end; 112 103
Note:
See TracChangeset
for help on using the changeset viewer.