Browse files

Add last_wallclock for young and full GC stats.

  • Loading branch information...
1 parent d7a7a0c commit 3463aa831ba710e32b18fe406fab5ca00e57008c @headius headius committed Jan 3, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 kernel/common/gc19.rb
View
6 kernel/common/gc19.rb
@@ -9,11 +9,13 @@ def self.stat
:gc => {
:young => {
:count => @agent.get('system.gc.young.count')[1],
- :total_wallclock => @agent.get('system.gc.young.total_wallclock')[1]
+ :total_wallclock => @agent.get('system.gc.young.total_wallclock')[1],
+ :last_wallclock => @agent.get('system.gc.young.last_wallclock')[1]
},
:full => {
:count => @agent.get('system.gc.full.count')[1],
- :total_wallclock => @agent.get('system.gc.full.total_wallclock')[1]
+ :total_wallclock => @agent.get('system.gc.full.total_wallclock')[1],
+ :last_wallclock => @agent.get('system.gc.full.last_wallclock')[1]
}
},
:memory => {

0 comments on commit 3463aa8

Please sign in to comment.