DARMA-tasking / vt

DARMA/vt => Virtual Transport
Other
34 stars 8 forks source link

Add support code for simulating load from within an application #2261

Closed nlslatt closed 4 months ago

nlslatt commented 4 months ago

What Needs to be Done? It is possible to call ElementLBData::addTime() to simulate an object doing work on some phase, but this simulated time will be added to the real time needed to simulate that running, which can sometimes have a measurable impact on the result. Add ElementLBData::setTime() to replace any time already attributed to the object with the value passed in. Note that the cost of running the task that performs this replacement will later be added to the time, but hopefully this is small enough to be negligible. The right (but more complicated) way to simulate doing work is to create a load model for that purpose.