benchbuild.extensions.time module¶
-
class
benchbuild.extensions.time.
RunWithTime
(*extensions, config=None, **kwargs)[source]¶ Bases:
benchbuild.extensions.base.Extension
Wrap a command with time and store the timings in the database.
-
benchbuild.extensions.time.
fetch_time_output
(marker, format_s, ins)[source]¶ Fetch the output /usr/bin/time from a.
Parameters: - marker – The marker that limits the time output
- format_s – The format string used to parse the timings
- ins – A list of lines we look for the output.
Returns: A list of timing tuples