[FFmpeg-devel] [PATCH] ffmpeg: extend -benchmark_all option to show elapsed time

James Darnley james.darnley at gmail.com
Wed Jan 27 21:13:14 CET 2016


On 2016-01-27 19:27, Stefano Sabatini wrote:
> On date Wednesday 2016-01-27 13:56:38 +0100, James Darnley encoded:
>> On 2016-01-11 18:21, Stefano Sabatini wrote:
>>> +This option shows the following information for each processing step,
>>> +in this order: the user process time (in microseconds), the elapsed
>>> +relative time (in microseconds), the processing step type, and the
>>> +relative stream.
>>
> 
>> What is "relative time" in ffmpeg and how does the new time printed
>> differ from the old time?
> 
> Relative time is time computed not relying on an absolute clock - also
> called wallclock - which is not reliable when computing elapsed times
> since it is affected by system time changes.
> 
> I can drop the "relative" since in this context it's confusing, since
> it simply refers to the operation duration.
> 
> Since this is the physical duration it is more handy when estimating
> the effective time required to perform a similar conversion operation.
> 

Ah of course.

As for the wording I don't know what to suggest.  Add "wallclock" to the
doc, maybe?  If you think relative is fine then stick with what you've
already written.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 603 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160127/443a7072/attachment.sig>


More information about the ffmpeg-devel mailing list