diff --git a/pipepar/display_streams b/pipepar/display_streams index 575ad3c..44b0923 100755 --- a/pipepar/display_streams +++ b/pipepar/display_streams @@ -18,7 +18,7 @@ action=$1 function fill_hashtables { - grep "^GOMP_stream_connect_view" | cut -d ' ' -f '2-' | while read stream thread view direction task + grep "^GOMP_\(stream\|batchQ\)_connect_view" | cut -d ' ' -f '2-' | while read stream thread view direction task do if (( 1 - ${+threads[$thread]} )) then @@ -123,7 +123,7 @@ function updates_infos { typeset -A streams - grep "^GOMP_stream_update \[out]" | cut -d ' ' -f '3-' | while read stream burstSize upStart upEnd + grep "^GOMP_\(stream\|batchQ\)_update \[out]" | cut -d ' ' -f '3-' | while read stream burstSize upStart upEnd do curVal=$(( (upEnd - upStart) * burstSize )) if (( ${+streams[$stream]} )) @@ -158,7 +158,7 @@ function stalls_infos { typeset -A streams - grep "^GOMP_stream_stall \[out]" | cut -d ' ' -f '3-' | while read stream burstSize stStart stEnd + grep "^GOMP_\(stream\|batchQ\)_stall \[out]" | cut -d ' ' -f '3-' | while read stream burstSize stStart stEnd do if (( ${+streams[$stream]} )) then