class ServerScripts::Parser::VTune::Hotspots::Base

Constants

CPU_EFFECTIVE_TIME
CPU_OVERHEAD_TIME
CPU_SPIN_TIME
CPU_TIME
MPI_BUSY_WAIT_TIME
WAIT_TIME

Public Class Methods

new(fname) click to toggle source
# File lib/server_scripts/parser/vtune/hotspots/base.rb, line 13
def initialize fname
  @threads = {}
  parse_csv! fname
end

Protected Instance Methods

parse_for_event(event) click to toggle source
# File lib/server_scripts/parser/vtune/hotspots/base.rb, line 20
def parse_for_event event
  total = 0.0
  @threads.each_value do |thread|
    total += thread[event]
  end
  total
end