darshan-ruby 3.1.4.1 → 3.1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/quarshan +10 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2481016022cd1fd8420c446404776a6d85e8437
|
4
|
+
data.tar.gz: edc8086d000f224c527b9b04e92387bd6c746327
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 745973d030cf75594a17901f54d698f10e04f4bc858884958284045ba21e32cadb6a8fa4027e290538ef8ebfb796c0b4085401b0127ca362f3d04dcfa40ae5c4
|
7
|
+
data.tar.gz: 9b0403d305f96c81ee4f94afc6cc90ca4e6027de324c2863a55f8ba6c205ef3f62c46c7fbb74601295376f8c8330387de153fb8f91068baa296316f4feddf71a
|
data/bin/quarshan
CHANGED
@@ -212,6 +212,9 @@ class Query
|
|
212
212
|
modules_present = []
|
213
213
|
file.each_module do | m |
|
214
214
|
modules_present << m.name
|
215
|
+
if @counters.size
|
216
|
+
log_processed = true
|
217
|
+
end
|
215
218
|
next if @mod != $darshan_mods[m.name]
|
216
219
|
m.each_record do | r |
|
217
220
|
if r.name.start_with?(@prefix)
|
@@ -220,7 +223,7 @@ class Query
|
|
220
223
|
end
|
221
224
|
end
|
222
225
|
end
|
223
|
-
if
|
226
|
+
if log_processed && @info
|
224
227
|
idx = 0
|
225
228
|
if @counters.size == 0
|
226
229
|
idx = @results[-1].size
|
@@ -275,6 +278,12 @@ class Query
|
|
275
278
|
res += "\n"
|
276
279
|
end
|
277
280
|
|
281
|
+
if @reductions.size > 0
|
282
|
+
@results[-1].each do |k,v|
|
283
|
+
res += v
|
284
|
+
end
|
285
|
+
end
|
286
|
+
|
278
287
|
if @counters.size != 0
|
279
288
|
for j in 0...@results[0].size # for all rows
|
280
289
|
if (@results[-1][j] != nil) && (@reductions.size == 0)
|