Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Improve timeit stats. #49

Open
Open
@1uc

Description

@1uc

I have the following log file:

$ cat /gpfs/bbp.cscs.ch/data/project/projXX/jobs/ps/2023/09/68/1724368-2023-09-15T09:47:08-pydamus-0.log
[STEP] (Sep.15 10:23:00) ==> CYCLE 28 (OUT OF 32)
...
[STEP] (Sep.15 10:24:13) ==> CYCLE 29 (OUT OF 32)
...
[INFO] (Sep.15 10:29:06) +========================================= TIMEIT STATS (Cycle Run 28) =========================================+
[INFO] (Sep.15 10:29:06) |                       Event Label                        | Avg.Time | Min.Time | Max.Time | Hits R0 / Total   |
[INFO] (Sep.15 10:29:06) +---------------------------------------------------------------------------------------------------------------+
[INFO] (Sep.15 10:29:06) | Compute LB                                               |     0.00 |     0.00 |     0.00 |       1 / 400     |
[INFO] (Sep.15 10:29:06) | Cell creation                                            |     0.54 |     0.54 |     0.54 |       1 / 400     |
[INFO] (Sep.15 10:29:06) | Synapse creation                                         |    24.64 |    24.64 |    24.64 |       1 / 400     |
[INFO] (Sep.15 10:29:06) | Enable Stimulus                                          |     0.00 |     0.00 |     0.02 |       1 / 400     |
[INFO] (Sep.15 10:29:06) | Enable Modifications                                     |     0.00 |     0.00 |     0.00 |       1 / 400     |
[INFO] (Sep.15 10:29:06) | Enable Reports                                           |     0.90 |     0.90 |     0.90 |       1 / 400     |
[INFO] (Sep.15 10:29:06) | Model Finalized                                          |     2.65 |     2.65 |     2.65 |       1 / 400     |
[INFO] (Sep.15 10:29:06) |  ╚ stdinit                                               |     2.61 |     2.61 |     2.61 |       1 / 400     |
[INFO] (Sep.15 10:29:06) | corewrite                                                |     3.68 |     3.68 |     3.68 |       1 / 400     |
[INFO] (Sep.15 10:29:06) +---------------------------------------------------------------------------------------------------------------+
[INFO] (Sep.15 10:29:06) +========================================= TIMEIT STATS (Final Stats) ==========================================+
[INFO] (Sep.15 10:29:06) |                       Event Label                        | Avg.Time | Min.Time | Max.Time | Hits R0 / Total   |
[INFO] (Sep.15 10:29:06) +---------------------------------------------------------------------------------------------------------------+
[INFO] (Sep.15 10:29:06) | finished Run                                             |     0.05 |     0.00 |     0.05 |       1 / 400     |
[INFO] (Sep.15 10:29:06) +---------------------------------------------------------------------------------------------------------------+

I would find it useful if each of the Cycle Run tables would include a total. Likewise it would be useful if there where a total duration of the entire run; not just the duration of the simulation. Finally, when summing the runtime of all rows in a Cycle Run table, it differs from the total time it took to run that cycle. This might indicate that a heavy component isn't being timed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions