summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-14 08:47:02 +0000
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-14 08:47:02 +0000
commit537a29366961560f926416721cf32eb677a36ec8 (patch)
tree9ddff810422dc49031771350941119ff2aaba702 /process.c
parent61341e050f61d44143ded6c13f94ad15905eb2a5 (diff)
downloadbundler-537a29366961560f926416721cf32eb677a36ec8.tar.gz
* process.c (rb_proc_times): improve documentation.
[ruby-core:35785] fixes #4581, reported by Andrew Grimm. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/process.c b/process.c
index d2a13e5509..0f60cfb940 100644
--- a/process.c
+++ b/process.c
@@ -5611,12 +5611,12 @@ p_gid_switch(VALUE obj)
* call-seq:
* Process.times -> aStructTms
*
- * Returns a <code>Tms</code> structure (see <code>Struct::Tms</code>
- * on page 388) that contains user and system CPU times for this
- * process.
+ * Returns a <code>Tms</code> structure (see <code>Struct::Tms</code>)
+ * that contains user and system CPU times for this process,
+ * and also for children processes.
*
* t = Process.times
- * [ t.utime, t.stime ] #=> [0.0, 0.02]
+ * [ t.utime, t.stime, t.cutime, t.cstime ] #=> [0.0, 0.02, 0.00, 0.00]
*/
VALUE