Changeset 53 for oup/current/Tools


Ignore:
Timestamp:
Dec 24, 2006, 12:36:07 AM (18 years ago)
Author:
alloc
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • oup/current/Tools/Template.pas

    r51 r53  
    8484  i:    LongWord;
    8585  exts: TStringArray;
    86 f, c1,c2: Int64;
    87 time1,time2,time3: Double;
    88 begin
    89 QueryPerformanceFrequency(f);
    90 QueryPerformanceCounter(c1);
     86begin
    9187  combo_extension.Items.Clear;
    9288  combo_extension.Items.Add('_All files_ (' +
     
    10298    end else
    10399      combo_extension.Items.Add(exts[i]);
    104 QueryPerformanceCounter(c2);
    105 time1 := (c2 - c1) / f;
    106100  combo_extension.ItemIndex := 0;
    107101  combo_extensionClick(Self);
    108 QueryPerformanceCounter(c1);
    109 time2 := (c1 - c2) / f;
    110 ShowMessage(FloatToStr(time1) +#13+#10+ FloatToStr(time2));
    111102end;
    112103
Note: See TracChangeset for help on using the changeset viewer.