diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2010-02-22 22:21:58 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2010-02-22 22:21:58 +0000 |
commit | fc5607f86209b0a0ddec1b0a3816f7977e15f516 (patch) | |
tree | de1f30ffd0cc6add56360a4fe1f870525485f561 /configure | |
parent | b7884740fa2157c6d2a337012370c460e728d299 (diff) | |
download | ffmpeg-fc5607f86209b0a0ddec1b0a3816f7977e15f516.tar.gz |
Make -benchmark also print the maximum memory usage if possible.
Originally committed as revision 21973 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1028,8 +1028,10 @@ HAVE_LIST=" fork getaddrinfo gethrtime + GetProcessMemoryInfo GetProcessTimes getrusage + struct_rusage_ru_maxrss inet_aton inline_asm isatty @@ -2497,6 +2499,7 @@ check_func fork check_func getaddrinfo $network_extralibs check_func gethrtime check_func getrusage +check_struct "sys/time.h sys/resource.h" "struct rusage" ru_maxrss check_func inet_aton $network_extralibs check_func isatty check_func ${malloc_prefix}memalign && enable memalign @@ -2505,6 +2508,7 @@ check_func ${malloc_prefix}posix_memalign && enable posix_memalign check_func setrlimit check_func_headers io.h setmode check_func_headers lzo/lzo1x.h lzo1x_999_compress +check_lib2 "windows.h psapi.h" GetProcessMemoryInfo -lpsapi check_func_headers windows.h GetProcessTimes check_func_headers windows.h VirtualAlloc |