You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We could use an arena allocator instead or avoid copying at this position.
The text was updated successfully, but these errors were encountered:
n-eiling
changed the title
Heap allocations in real time critical path lead to significan slow down
Heap allocations in real time critical path lead to significant slow down
Jun 26, 2024
We should avoid all heap allocations during the simulation as they lead to syscalls and context switches.
For example in a simple simulation involving the Villas interface ~30% of simulation time is spent on this line:
dpsim/dpsim-models/include/dpsim-models/Attribute.h
Line 355 in 9665729
We could use an arena allocator instead or avoid copying at this position.
The text was updated successfully, but these errors were encountered: