Commit 275d71f5 authored by Matthieu Dorier's avatar Matthieu Dorier
Browse files

improved quarshan

parent 7fd9cac5
......@@ -212,6 +212,9 @@ class Query
modules_present = []
file.each_module do | m |
modules_present << m.name
if @counters.size
log_processed = true
end
next if @mod != $darshan_mods[m.name]
m.each_record do | r |
if r.name.start_with?(@prefix)
......@@ -220,7 +223,7 @@ class Query
end
end
end
if (log_processed || @counters.size == 0) && @info
if log_processed && @info
idx = 0
if @counters.size == 0
idx = @results[-1].size
......@@ -275,6 +278,12 @@ class Query
res += "\n"
end
if @reductions.size > 0
@results[-1].each do |k,v|
res += v
end
end
if @counters.size != 0
for j in 0...@results[0].size # for all rows
if (@results[-1][j] != nil) && (@reductions.size == 0)
......
Gem::Specification.new do |s|
s.name = 'darshan-ruby'
s.version = '3.1.4.1'
s.version = '3.1.4.2'
s.date = '2017-04-20'
s.summary = "Ruby binding to Darshan version 3.1.4 and above"
s.description = "Ruby binding to ANL's Darshan library for HPC I/O tracing and analysis"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment