]> granicus.if.org Git - php/commitdiff
Fixed bug #31792 (getrusage() does not provide ru_nswap value).
authorIlia Alshanetsky <iliaa@php.net>
Tue, 1 Mar 2005 21:32:25 +0000 (21:32 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 1 Mar 2005 21:32:25 +0000 (21:32 +0000)
ext/standard/microtime.c

index 311c473e97a8c4fbce2d273770927bed60490fe0..58cc6744e191b67dfc114d1c0f9f4d539f74aa68 100644 (file)
@@ -135,6 +135,7 @@ PHP_FUNCTION(getrusage)
        PHP_RUSAGE_PARA(ru_nsignals);
        PHP_RUSAGE_PARA(ru_nvcsw);
        PHP_RUSAGE_PARA(ru_nivcsw);
+       PHP_RUSAGE_PARA(ru_nswap);
 #endif /*_OSD_POSIX*/
        PHP_RUSAGE_PARA(ru_utime.tv_usec);
        PHP_RUSAGE_PARA(ru_utime.tv_sec);