Fórum contador de tempo(urgentissimo) #192798
04/11/2003
0
Obrigado!
Newkidsontheblock
Curtir tópico
+ 0Posts
04/11/2003
Pedro Dias
Tempo:TTime;
Iguale com o tempo antese de começar o processo
Tempo:=Time;
Faça o processamento
exiba, pode ser assim:
edit1.Text:=TimeToStr(Time-Tempo);
Gostei + 0
04/11/2003
Caninha51
var
Tempo: Integer;
begin
Tempo := GetTickCount;
// procedimento...
Showmessage(IntToStr(GetTickCount - Tempo));
end.
Falow
Caninha51
Gostei + 0
04/11/2003
Beppe
var F, S, Q: Int64; begin QueryPerformanceFrequency(Q); QueryPerformanceCounter(S); ... QueryPerformanceCounter(F); Caption := FloatToStr((F - S) / Q); end;
Ataliba
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)