1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
nagachika 2011-05-14 08:47:02 +00:00
parent 61341e050f
commit 537a293669
2 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,8 @@
Sat May 14 17:42:21 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
* process.c (rb_proc_times): improve documentation.
[ruby-core:35785] fixes #4581, reported by Andrew Grimm.
Sat May 14 12:12:54 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* test/openssl/test_pkey_dsa.rb: Add basic tests and tests that

View file

@ -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