From 109b118f3fe88fc943492f43131c9464c2024ae9 Mon Sep 17 00:00:00 2001
From: Phillip Raffeck <phillip.raffeck@fau.de>
Date: Fri, 27 Jan 2017 17:49:21 +0100
Subject: [PATCH] temporarily disable cache analysis

---
 lib/analysis/wca.rb | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/lib/analysis/wca.rb b/lib/analysis/wca.rb
index 1546961..2a0b956 100644
--- a/lib/analysis/wca.rb
+++ b/lib/analysis/wca.rb
@@ -124,8 +124,9 @@ class WCA
     end
 
     # run cache analyses
-    ca = CacheAnalysis.new(builder.refinement['machinecode'], @pml, @options)
-    ca.analyze(entry['machinecode'], builder)
+    # TODO temporarily disabled
+    #ca = CacheAnalysis.new(builder.refinement['machinecode'], @pml, @options)
+    #ca.analyze(entry['machinecode'], builder)
 
     # END: remove me soon
 
@@ -182,7 +183,8 @@ class WCA
       edgefreq = edgefreqs[ref]
       profile.add(ProfileEntry.new(ref, edgecost, edgefreqs[ref], totalcosts[ref]))
     }
-    ca.summarize(@options, freqs, Hash[freqs.map{ |v,freq| [v,freq * builder.ilp.get_cost(v)] }], report)
+    # TODO temporarily disabled
+    #ca.summarize(@options, freqs, Hash[freqs.map{ |v,freq| [v,freq * builder.ilp.get_cost(v)] }], report)
     if @options.verbose
       puts "Cycles: #{cycles}"
       puts "Edge Profile:"
-- 
GitLab