multiscale / muscle3

The third major version of the MUltiScale Coupling Library and Environment
Apache License 2.0
25 stars 13 forks source link

Profiling data collection #191

Closed LourensVeen closed 1 year ago

LourensVeen commented 1 year ago

This implements profiling data collection, completing the existing code on the Python side, implementing it in C++, and adding functionality to send the data to the manager and save it to a SQLite database.

Some optimisation and analysis tools are still to follow, but this should allow other work to continue while that's in work.

This was rebased on top of the checkpointing and other recent additions, and the automatic merges were quite a mess at times, but it passes all the tests at least :-)...

LourensVeen commented 1 year ago

One general comment: can you add a flag, and/or muscle_enable_profiling special setting to specifically enable or disable profiling?

Yes, good idea, it was on my internal to-do list already. I've updated https://github.com/multiscale/muscle3/issues/78 to list it as well.

LourensVeen commented 1 year ago

Okay, I've

and also

I think that means we're ready to merge!