Skip to content

Commit

Permalink
Report memory usage in bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
Brikaa committed Sep 6, 2024
1 parent 09ff4ca commit b3cc3c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/src/job.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ class Job {
}
switch (key) {
case 'cg-mem':
memory = parse_int(value);
memory = parse_int(value) * 1000;
break;
case 'exitcode':
code = parse_int(value);
Expand Down
3 changes: 2 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,8 @@ Content-Type: application/json
"message": null,
"status": null,
"cpu_time": 8,
"wall_time": 154
"wall_time": 154,
"memory": 1160000
}
}
```
Expand Down

0 comments on commit b3cc3c1

Please sign in to comment.