Ignore:
Timestamp:
Dec 23, 2006, 11:16:42 PM (18 years ago)
Author:
alloc
Message:
 
File:
1 edited

Legend:

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

    r46 r51  
    3434    btn_sort_ext_asc: TSpeedButton;
    3535    btn_sort_ext_desc: TSpeedButton;
     36    Label1: TLabel;
     37    Label2: TLabel;
    3638    procedure RecreateList;
    3739    procedure LoadFileNames;
     
    8284  i:    LongWord;
    8385  exts: TStringArray;
    84 begin
     86f, c1,c2: Int64;
     87time1,time2,time3: Double;
     88begin
     89QueryPerformanceFrequency(f);
     90QueryPerformanceCounter(c1);
    8591  combo_extension.Items.Clear;
    8692  combo_extension.Items.Add('_All files_ (' +
     
    96102    end else
    97103      combo_extension.Items.Add(exts[i]);
     104QueryPerformanceCounter(c2);
     105time1 := (c2 - c1) / f;
    98106  combo_extension.ItemIndex := 0;
    99107  combo_extensionClick(Self);
     108QueryPerformanceCounter(c1);
     109time2 := (c1 - c2) / f;
     110ShowMessage(FloatToStr(time1) +#13+#10+ FloatToStr(time2));
    100111end;
    101112
Note: See TracChangeset for help on using the changeset viewer.