Skip to content

Commit

Permalink
Merge branch 'master' of github.com:RRZE-HPC/likwid
Browse files Browse the repository at this point in the history
  • Loading branch information
TomTheBear committed Sep 16, 2024
2 parents ba677ba + 3175f31 commit 6b1627d
Show file tree
Hide file tree
Showing 4 changed files with 208 additions and 61 deletions.
13 changes: 12 additions & 1 deletion src/applications/likwid-perfctr.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1433,7 +1433,18 @@ if use_wrapper or use_timeline then
end
break
end
local remain = likwid.sleep(math.floor(duration - (twork * 1E6)))
exitvalue, exited = likwid.checkProgram(pid)
if exited then
io.stdout:flush()
if #execList > 0 then
break
end
end
local sleeptime = duration - (twork * 1E6)
local remain = 0
if sleeptime > 0 then
remain = likwid.sleep(math.floor(duration - (twork * 1E6)))
end

exitvalue, exited = likwid.checkProgram(pid)
if exited then
Expand Down
Loading

0 comments on commit 6b1627d

Please sign in to comment.