Skip to content

Commit a09bf32

Browse files
Profiler sends KB instead of bytes
1 parent c68a166 commit a09bf32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cylc/flow/scripts/profile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def parse_memory_file(process):
8080
memory_stats = {}
8181

8282
for line in open(process.cgroup_memory_path):
83-
return int(line)
83+
return int(line) // 1024
8484

8585

8686
def parse_cpu_file(process, cgroup_version):

0 commit comments

Comments
 (0)