-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for live job statistics, like sstat (#355)
* add code to support live job stats retrieval * switch linking to libslurmfull - will make a few things easier, without so many function reimplementations - is required to implement getting live-performance stats of jobs in the first place - nothing changes from a user perspective * fix [user|system|total]_cpu_time not being calculated correctly * add tests for live job statistics * xcollections: add to_dict method * separate Job and Step statistics * core.job: rename cpu_time to elapsed_cpu_time * db.job: return 1 for cpus() when the job is still pending * stats: fix logic how collection/step stats are added up * setup: enhanced search for slurm lib * stats: make sure cpu time values are int * update CHANGELOG
- Loading branch information
Showing
18 changed files
with
729 additions
and
230 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.