Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- procedure TForm1.Button1Click(Sender: TObject);
- var
- start, freq, stop: int64;
- begin
- QueryPerformanceFrequency(freq);
- QueryPerformanceCounter(start);
- // ALL PROGRAM PROCESSES
- QueryPerformanceCounter(stop);
- ShowMessage(FloattostrF((stop - start) / freq, ffNumber, 10, 3)); // Solution time will be shown upon program completion.
- end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement