Skip to content

Commit

Permalink
fix sign of delta of release_memory tracer event (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann authored Apr 10, 2022
1 parent 8ec1aac commit 65fb3af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/host/resource-manager/trace.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ func (t *trace) ReleaseMemory(scope string, size, mem int64) {
t.push(traceEvt{
Type: traceReleaseMemoryEvt,
Scope: scope,
Delta: -size,
Delta: size,
Memory: mem,
})
}
Expand Down

0 comments on commit 65fb3af

Please sign in to comment.