Commit 44e169e
committed
Add numeric elapsed_seconds to metrics JSON
Resolves #2506
genMetrics.py stores stage runtimes as human-readable strings
(e.g., "0:04.26") which are hard to consume programmatically.
This adds numeric elapsed_seconds fields (in seconds as floats)
alongside the existing string fields so runtimes are directly
usable for analysis and plotting.
New fields added per stage:
- <stage>__elapsed_seconds (float, seconds)
- total_elapsed_seconds (float, seconds)
Existing fields (runtime__total, total_time) are unchanged.
Signed-off-by: Harsh Kumar Patwa <harshkumarpatwa@gmail.com>
Signed-off-by: Harsh Kumar <harshkumar3446@gmail.com>1 parent d205bf1 commit 44e169e
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
| 318 | + | |
318 | 319 | | |
319 | 320 | | |
320 | 321 | | |
| |||
341 | 342 | | |
342 | 343 | | |
343 | 344 | | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
344 | 348 | | |
345 | 349 | | |
346 | 350 | | |
347 | 351 | | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
348 | 355 | | |
349 | 356 | | |
350 | 357 | | |
| |||
0 commit comments