note 80411 added to function.getrusage

From: Date: Mon, 14 Jan 2008 21:22:12 +0000
Subject: note 80411 added to function.getrusage
Groups: php.notes 
Request: Send a blank email to php-notes+get-135101@lists.php.net to get a copy of this message
getrusage() reports kernel counters that are updated only once application loses context and a switch to kernel space happens. For example on modern Linux server kernels that would mean that getrusage() calls would return information rounded at 10ms, desktop kernels - at 1ms. getrusage() isn't usable for micro-measurements at all - and getmicrotime(true) might be much more valuable resource. ---- Server IP: 193.219.81.76 Probable Submitter: 78.62.13.13 ---- Manual Page -- http://www.php.net/manual/en/function.getrusage.php Edit -- https://master.php.net/note/edit/80411 Del: integrated -- https://master.php.net/note/delete/80411/integrated Del: useless -- https://master.php.net/note/delete/80411/useless Del: bad code -- https://master.php.net/note/delete/80411/bad+code Del: spam -- https://master.php.net/note/delete/80411/spam Del: non-english -- https://master.php.net/note/delete/80411/non-english Del: in docs -- https://master.php.net/note/delete/80411/in+docs Del: other reasons-- https://master.php.net/note/delete/80411 Reject -- https://master.php.net/note/reject/80411 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#135101) next »