<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -2,3 +2,4 @@ coverage
 pkg
 *.log
 logs
+*.rbc</diff>
      <filename>.gitignore</filename>
    </modified>
    <modified>
      <diff>@@ -87,6 +87,10 @@ begin
     opts.on(&quot;--no-events&quot;, &quot;Disable the event system&quot;) do
       options[:events] = false
     end
+    
+    opts.on(&quot;--bleakhouse&quot;, &quot;Enable bleakhouse profiling&quot;) do
+      options[:bleakhouse] = true
+    end
   end
   
   opts.parse!</diff>
      <filename>bin/god</filename>
    </modified>
    <modified>
      <diff>@@ -130,6 +130,10 @@ module God
       def run_in_front
         require 'god'
         
+        if @options[:bleakhouse]
+          BleakHouseDiagnostic.install
+        end
+        
         # start attached pid watcher if necessary
         if @options[:attach]
           self.attach</diff>
      <filename>lib/god/cli/run.rb</filename>
    </modified>
    <modified>
      <diff>@@ -22,8 +22,8 @@ class BleakHouseDiagnostic
     File.delete(LOG_FILE) rescue nil
   end
   
-  def self.snapshot
-    self.logger.snapshot(LOG_FILE, &quot;timer&quot;, false) if self.logger
+  def self.snapshot(name)
+    self.logger.snapshot(LOG_FILE, name, false) if self.logger
   end
   
   def self.spin(delay = 1)</diff>
      <filename>lib/god/diagnostics.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>886f281595c2d8dbeeae12b7ba700922b0dc8fbe</id>
    </parent>
  </parents>
  <author>
    <name>Tom Preston-Werner</name>
    <email>tom@mojombo.com</email>
  </author>
  <url>http://github.com/tmm1/god/commit/cd36d89d37c24172649ee13fa69eb333db9a80a3</url>
  <id>cd36d89d37c24172649ee13fa69eb333db9a80a3</id>
  <committed-date>2008-02-13T13:52:33-08:00</committed-date>
  <authored-date>2008-02-13T13:52:33-08:00</authored-date>
  <message>add --bleakhouse for diagnostics</message>
  <tree>06a0bc2fbf7c66acfee33ea6015998520ad57809</tree>
  <committer>
    <name>Tom Preston-Werner</name>
    <email>tom@mojombo.com</email>
  </committer>
</commit>
