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 committed Apr 10, 2022
1 parent d78a5b0 commit 164c569
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 164c569

Please sign in to comment.