Sha256: bffd18b5d786507d804492b88c39c3b1c5d7bd141b28c7d955be0a24b0e5f74b
Contents?: true
Size: 666 Bytes
Versions: 2
Compression:
Stored size: 666 Bytes
Contents
require 'threadStackCombinator' require 'threadStackExtractor' require 'threadStack' require 'rubygems' require 'hirb' class WasThreadStackProcessor attr_accessor :threadStackCombinator def initialize(threadStackCombinator) @threadStackCombinator = threadStackCombinator end def process(file) threadStackExtractor = ThreadStackExtractor.new(file) threadStacks = threadStackExtractor.getThreadStacks threadStacks.each { |threadStack| @threadStackCombinator.combine(ThreadStack.new(threadStack))} end def children_sorted threadStackCombinator.combinedThreadStacks.compact.sort { |a,b| b.count <=> a.count} end def text_count "" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
WasThreadStackProcessor-0.1.4 | lib/WasThreadStackProcessor.rb |
WasThreadStackProcessor-0.1.3 | lib/WasThreadStackProcessor.rb |