| Summary: | Improve cpu profiling accuracy | ||
|---|---|---|---|
| Product: | Slurm | Reporter: | Carlos Fenoy <carlos.fenoy> |
| Component: | Profiling | Assignee: | David Bigagli <david> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | 5 - Enhancement | ||
| Priority: | --- | CC: | brian, da |
| Version: | 15.08.x | ||
| Hardware: | Linux | ||
| OS: | Linux | ||
| Site: | Roche | Alineos Sites: | --- |
| Atos/Eviden Sites: | --- | Confidential Site: | --- |
| Coreweave sites: | --- | Cray Sites: | --- |
| DS9 clusters: | --- | HPCnow Sites: | --- |
| HPE Sites: | --- | IBM Sites: | --- |
| NOAA SIte: | --- | OCF Sites: | --- |
| Recursion Pharma Sites: | --- | SFW Sites: | --- |
| SNIC sites: | --- | Linux Distro: | --- |
| Machine Name: | CLE Version: | ||
| Version Fixed: | 15.08.0-0rc1 | Target Release: | --- |
| DevPrio: | --- | Emory-Cloud Sites: | --- |
| Attachments: | tot_cpu from int to double patch | ||
|
Description
Carlos Fenoy
2015-06-16 02:46:57 MDT
Enhancement request to use double type to represent cpu time instead of uint32_t. David Any news on this petition? Should I implement it? If you would like to go for it please do, I don't think we will have time before 15.08 to look at it. Created attachment 2112 [details]
tot_cpu from int to double patch
I've patched the code to change tot_cpu field from int to double. I've compiled with --enable-developer flag and everything seems to work fine.
Please have a look at it.
Carlos, it appears this patch is a reverse patch, but I was able to figure it out ;). Any case it is committed in 78c0bf9a58036. Thanks! Important fix to original code here, prevents divide by zero: https://github.com/SchedMD/slurm/commit/94b11ac40bc569002b7376150883784ee57b2423 |