Hi, be kind enough to CC me as I'm not in the list.
I wonder why getrusage() skip the ru_nswap ?
quoting ext/standard/microtime.c:
> #if !defined( _OSD_POSIX) && !defined(__BEOS__) /* BS2000 has only a few fields in the rusage struct */
> PHP_RUSAGE_PARA(ru_oublock);
> PHP_RUSAGE_PARA(ru_inblock);
> PHP_RUSAGE_PARA(ru_msgsnd);
> PHP_RUSAGE_PARA(ru_msgrcv);
> PHP_RUSAGE_PARA(ru_maxrss);
> PHP_RUSAGE_PARA(ru_ixrss);
> PHP_RUSAGE_PARA(ru_idrss);
> PHP_RUSAGE_PARA(ru_minflt);
> PHP_RUSAGE_PARA(ru_majflt);
> PHP_RUSAGE_PARA(ru_nsignals);
> PHP_RUSAGE_PARA(ru_nvcsw);
> PHP_RUSAGE_PARA(ru_nivcsw);
> #endif /*_OSD_POSIX*/
> PHP_RUSAGE_PARA(ru_utime.tv_usec);
> PHP_RUSAGE_PARA(ru_utime.tv_sec);
> PHP_RUSAGE_PARA(ru_stime.tv_usec);
> PHP_RUSAGE_PARA(ru_stime.tv_sec);
> #undef PHP_RUSAGE_PARA


Where is 'ru_nswap' ?
Sure, there's a good reason for that not being reported.

A pity is that it stands in the doc http://php.net/manual/en/function.getrusage.php.
I believe it can be usefull to review over sites.


Thanks,
Ã+
--
bertrand Gugger (toggg)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to