<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>patches/perftools-realtime.patch</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -21,6 +21,14 @@ google-perftools for ruby code
 
     $ CPUPROFILE=/tmp/my_app_profile RUBYOPT=&quot;-r`gem which perftools | tail -1`&quot; ruby my_app.rb
 
+  Change the sampling interval (defaults to 100 times a second, valid range is 1-4000):
+
+    $ CPUPROFILE_FREQUENCY=500 ruby my_app.rb
+
+  Use walltime instead of cputime profiling:
+
+    $ CPUPROFILE_REALTIME=1 ruby my_app.rb
+
 
 === Reporting
 </diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -45,7 +45,8 @@ Dir.chdir('src') do
       ['perftools-gc', true],
       ['perftools-osx', RUBY_PLATFORM =~ /darwin/],
       ['perftools-osx-106', RUBY_PLATFORM =~ /darwin10/],
-      ['perftools-debug', true]
+      ['perftools-debug', true],
+      ['perftools-realtime', true]
     ].each do |patch, apply|
       if apply
         sys(&quot;patch -p1 &lt; ../../../patches/#{patch}.patch&quot;)</diff>
      <filename>ext/extconf.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,7 @@
 spec = Gem::Specification.new do |s|
   s.name = 'perftools.rb'
-  s.version = '0.3.6'
-  s.date = '2009-10-26'
+  s.version = '0.3.7'
+  s.date = '2009-11-03'
   s.rubyforge_project = 'perftools-rb'
   s.summary = 'google-perftools for ruby code'
   s.description = 'A sampling profiler for ruby code based on patches to google-perftools'
@@ -28,6 +28,7 @@ spec = Gem::Specification.new do |s|
     &quot;patches/perftools-osx-106.patch&quot;,
     &quot;patches/perftools-osx.patch&quot;,
     &quot;patches/perftools-pprof.patch&quot;,
+    &quot;patches/perftools-realtime.patch&quot;,
     &quot;patches/perftools-notests.patch&quot;,
     &quot;patches/perftools.patch&quot;,
     &quot;perftools.rb.gemspec&quot;</diff>
      <filename>perftools.rb.gemspec</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>634cc2e5af284e7fabc255931baa8e20d273f44e</id>
    </parent>
  </parents>
  <author>
    <name>Aman Gupta</name>
    <email>aman@tmm1.net</email>
  </author>
  <url>http://github.com/tmm1/perftools.rb/commit/8f9b826cfc221a396506110f73de17e87f273d3e</url>
  <id>8f9b826cfc221a396506110f73de17e87f273d3e</id>
  <committed-date>2009-11-03T18:10:16-08:00</committed-date>
  <authored-date>2009-11-03T18:10:16-08:00</authored-date>
  <message>Add CPUPROFILE_REALTIME env var to use ITIMER_REAL instead of ITIMER_PROF</message>
  <tree>57b630d8ade7c60d60c89ff0b0800c61808cb5c3</tree>
  <committer>
    <name>Aman Gupta</name>
    <email>aman@tmm1.net</email>
  </committer>
</commit>
