Fix per call label (#30515)

pull/30514/head^2
nancylucy01 2 years ago committed by GitHub
parent dc4414aa0c
commit 45460e1f87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tools/profiling/memory/memory_diff.py

@ -122,7 +122,7 @@ else:
text += '{}: {}\n'.format(key, cur[key])
else:
text += '{}: {} -> {}\n'.format(key, old[key], cur[key])
if key == 'call/client' or 'call/server':
if 'call' in key:
call_diff_size += cur[key] - old[key]
else:
channel_diff_size += cur[key] - old[key]

Loading…
Cancel
Save