diff options
author | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-14 08:47:02 +0000 |
---|---|---|
committer | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-14 08:47:02 +0000 |
commit | 537a29366961560f926416721cf32eb677a36ec8 (patch) | |
tree | 9ddff810422dc49031771350941119ff2aaba702 /process.c | |
parent | 61341e050f61d44143ded6c13f94ad15905eb2a5 (diff) | |
download | bundler-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.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |