2015-02-20 00:35:01 -05:00
{{omit from|Batch File|No way to programmatically retrieving the current or elapsed time. Only human-readable formats available, which can't be parsed accurately.}}
{{omit from|GUISS}}
{{omit from|ML/I}}
2013-04-11 01:07:29 -07:00
2016-12-05 22:15:40 +01:00
;Task:
2015-02-20 00:35:01 -05:00
Write a program which uses a timer (with the least granularity available
on your system) to time how long a function takes to execute.
Whenever possible, use methods which measure only the processing time used
by the current process; instead of the difference in [[system time]]
between start and finish, which could include time used by
other processes on the computer.
2013-04-11 01:07:29 -07:00
This task is intended as a subtask for [[Measure relative performance of sorting algorithms implementations]].
2016-12-05 22:15:40 +01:00
<br><br>