<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -22,16 +22,20 @@ class MemoryProfiler &lt; Scout::Plugin
     unless swap_total == 0    
       swap_percent_used = (swap_used / swap_total.to_f * 100).to_i
     end
+    
+    # will be passed at the end to report to Scout
+    report_data = Hash.new
 
-    report('Memory Total' =&gt; mem_total)
-    report('Memory Used' =&gt; mem_used)
-    report('% Memory Used' =&gt; mem_percent_used)
+    report_data['Memory Total'] = mem_total
+    report_data['Memory Used'] = mem_used
+    report_data['% Memory Used'] = mem_percent_used
 
-    report('Swap Total' =&gt; swap_total)
-    report('Swap Used' =&gt; swap_used)
+    report_data['Swap Total'] = swap_total
+    report_data['Swap Used'] = swap_used
     unless  swap_total == 0   
-      report('% Swap Used' =&gt; swap_percent_used)
+      report_data['% Swap Used'] = swap_percent_used
     end
+    report(report_data)
         
   rescue Exception =&gt; e
     if e.message =~ /No such file or directory/</diff>
      <filename>memory_profiler/memory_profiler.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>09eb7e51f9c3a48f96a05e53dbe8b4f0c0be9a1d</id>
    </parent>
  </parents>
  <author>
    <name>itsderek23</name>
    <email>derek.haynes@gmail.com</email>
  </author>
  <url>http://github.com/highgroove/scout-plugins/commit/654eb109c82c42601ded4b8f68a088bcd7c933c2</url>
  <id>654eb109c82c42601ded4b8f68a088bcd7c933c2</id>
  <committed-date>2009-07-09T14:03:39-07:00</committed-date>
  <authored-date>2009-07-09T14:03:39-07:00</authored-date>
  <message>Sending a single report for memory profiler</message>
  <tree>fb6043534d0edb89760b2d4b0e626f0c29ad83bb</tree>
  <committer>
    <name>itsderek23</name>
    <email>derek.haynes@gmail.com</email>
  </committer>
</commit>
