summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authoreregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-20 11:36:46 +0000
committereregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-20 11:36:46 +0000
commit0ef8222e6327e1ebf353a8153432668a7f9fa085 (patch)
tree907da783fb85f96b925bf41bc80cfa389a6d59ee /gc.c
parentc3a46d6acab5ab063cc6b5808c2b344f110bef12 (diff)
* gc.c: fix typos in documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gc.c b/gc.c
index bd6477050d..2d21cada24 100644
--- a/gc.c
+++ b/gc.c
@@ -4110,7 +4110,7 @@ gc_profile_clear(void)
*
* The keys mean:
*
- * +:GC_TIME+:: Time taken for this run in milliseconds
+ * +:GC_TIME+:: Time taken for this run in seconds
* +:GC_INVOKE_TIME+:: Time the GC was invoked since startup in seconds
* +:HEAP_USE_SIZE+:: Bytes of heap used
* +:HEAP_TOTAL_SIZE+:: Size of heap in bytes
@@ -4247,7 +4247,7 @@ gc_profile_report(int argc, VALUE *argv, VALUE self)
* call-seq:
* GC::Profiler.total_time -> float
*
- * The total time used for garbage collection in milliseconds
+ * The total time used for garbage collection in seconds
*/
static VALUE
@@ -4267,7 +4267,7 @@ gc_profile_total_time(VALUE self)
/*
* call-seq:
- * GC::Profiler.enable? -> true or false
+ * GC::Profiler.enabled? -> true or false
*
* The current status of GC profile mode.
*/