<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,4 +1,4 @@
-pushd %~dp0\..\..\..\Main
+pushd %MERLIN_ROOT%
 tf get
 popd
 pushd %~dp0</diff>
      <filename>retry.bat</filename>
    </modified>
    <modified>
      <diff>@@ -4,10 +4,10 @@ RB = &quot;#{REPO}/Merlin/Main/Languages/Ruby&quot;
 BIN = &quot;#{REPO}/Merlin/Main/Bin/debug&quot;
 CD = File.expand_path(File.dirname(__FILE__))
 DATA = &quot;#{CD}/data&quot;
-INTERPRET = &quot;-X:Interpret&quot;
+NAC = &quot;-X:NoAdaptiveCompilation&quot;
 IR = &quot;#{BIN}/ir.exe&quot;
 MSPEC = &quot;mspec.bat run -fs&quot;
-MSPEC_OPTIONS = &quot;-Gcritical -Gthread&quot;
+MSPEC_OPTIONS = &quot;-Gcritical -Gunstable&quot;
 
 require 'fileutils'
 require 'mymath'
@@ -113,10 +113,10 @@ module Stats
     iters = 10.0
     iters.to_i.times do
       c += Benchmark.measure do
-        `#{IR} #{CD}/empty.rb`
+        `#{IR} #{NAC} #{CD}/empty.rb`
       end.real
       i += Benchmark.measure do
-        `#{IR} #{INTERPRET} #{CD}/empty.rb`
+        `#{IR} #{CD}/empty.rb`
       end.real
       r += Benchmark.measure do
         `ruby #{CD}/empty.rb`
@@ -133,8 +133,8 @@ module Stats
     c = i = r = 0
     iters = 10.0
     iters.to_i.times do
-      i += `#{IR} #{INTERPRET} #{CD}/loop.rb`.to_f
-      c += `#{IR} #{CD}/loop.rb`.to_f
+      i += `#{IR} #{CD}/loop.rb`.to_f
+      c += `#{IR} #{NAC} #{CD}/loop.rb`.to_f
       r += `ruby #{CD}/loop.rb`.to_f
     end
     c, i, r = [c,i,r].map{|i| i / iters}
@@ -432,26 +432,28 @@ def usage
   o
 end
 
-if ARGV.empty?
-  puts usage
-end
+if __FILE__ == $0
+  if ARGV.empty?
+    puts usage
+  end
 
-ARGV.each do |arg|
-  found = false
-  
-  $behavior.each do |options, lmbd|
-    if options.include?(arg)
-      found = true
-      lmbd.call
-    elsif options.select{|o| o.kind_of?(Regexp) &amp;&amp; arg =~ o}.size == 1
-      found = true
-      lmbd.call($~)
+  ARGV.each do |arg|
+    found = false
+    
+    $behavior.each do |options, lmbd|
+      if options.include?(arg)
+        found = true
+        lmbd.call
+      elsif options.select{|o| o.kind_of?(Regexp) &amp;&amp; arg =~ o}.size == 1
+        found = true
+        lmbd.call($~)
+      end
+    end
+    
+    unless found
+      puts &quot;Unknown argument '#{arg}'&quot;
+      puts usage
+      exit
     end
-  end
-  
-  unless found
-    puts &quot;Unknown argument '#{arg}'&quot;
-    puts usage
-    exit
   end
 end</diff>
      <filename>stats.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e8b2179e7627ab4c46eca9a0596feabc892d1496</id>
    </parent>
  </parents>
  <author>
    <name>Jim Deville</name>
    <email>jdeville@microsoft.com</email>
  </author>
  <url>http://github.com/jredville/ironruby-stats/commit/c1cfe7b2e69be9b1d01ba8856accfb97f6117955</url>
  <id>c1cfe7b2e69be9b1d01ba8856accfb97f6117955</id>
  <committed-date>2009-06-25T16:29:26-07:00</committed-date>
  <authored-date>2009-06-25T16:29:26-07:00</authored-date>
  <message>fixes to get stats running again</message>
  <tree>3fea567e23f3d8011d8082a453758477eb10b293</tree>
  <committer>
    <name>Jim Deville</name>
    <email>jdeville@microsoft.com</email>
  </committer>
</commit>
