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

Michael Kostylev michael.kostylev
Sun Feb 21 11:39:27 CET 2010

On Sun Feb 21 09:04:46 2010
Reimar D?ffinger wrote:

>>> +check_struct "sys/time.h sys/resource.h" "struct rusage" ru_maxrss
>> Why the sys/time.h?  sys/resource.h doesn't require that.
> My man page recommends it as more portable.

Needless to mention that OpenBSD requires them both.
But the ru_maxrss field always contains zero while getrusage() returns no
error. On NetBSD too.


More information about the ffmpeg-devel mailing list