Skip to content

Commit

Permalink
platin: write cache-hits into report file
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanhepp committed Sep 19, 2014
1 parent 78bb690 commit e1f405c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/platin/lib/tools/wcet.rb
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ def summarize_results(additional_info = {})
'source' => te.origin,
'cycles' => te.cycles }
te.attributes.select { |k,v| k.start_with? 'cache-misses' }.each { |k,v| dict[k] = v }
te.attributes.select { |k,v| k.start_with? 'cache-hits' }.each { |k,v| dict[k] = v }
te.attributes.select { |k,v| k.start_with? 'cache-cycles' }.each { |k,v| dict[k] = v }
(additional_info[te.origin] || []).each { |k,v| dict[k] = v }
dict
Expand Down

0 comments on commit e1f405c

Please sign in to comment.