[FFmpeg-devel] [PATCH] print memory usage with -benchmark

Michael Kostylev michael.kostylev
Sun Feb 21 12:42:25 CET 2010

On Sun Feb 21 11:51:14 2010
Reimar D?ffinger wrote:

>> But the ru_maxrss field always contains zero while getrusage() returns no
>> error. On NetBSD too.
> Some BSD version should have it at least.

% ./ffmpeg -benchmark -i ../fate-suite/zmbv/zmbv_32bit.avi -f crc -
bench: utime=0.349s maxrss=8428 kB

> But yes, support for it is very spotty unfortunately.
> So not sure if it makes so much sense, however it seemed like the easiest
> way to get that kind of information for FATE - it wouldn't be a big deal
> if only 1 or 2 systems supported it correctly.

The maxrss output looks ok on my suncc-5.10/linux-2.6.32 configurations
but suncc is broken itself. What kind of tests are expected to use -benchmark?


More information about the ffmpeg-devel mailing list