-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PE periodic function #70
Comments
"GVT hooks" in general would be enormously useful, representing a time in which we know all events prior to time A particularly relevant example would be to aggregate and write periodic output, i.e. that from the lp-io CODES component, or, say, optimistic profiling statistics collected by the ROSS runtime. That way, we wouldn't have to buffer an entire simulation's worth of output. I expect this pattern to be quite important for the upcoming project, regardless how exactly it ends up being used. Another simple example is doing LP/PE cleanup. For instance, we have optimistic-aware free lists in CODES, and I could use the GVT hook to trigger a cleanup of the free list rather than checking it every event. A couple of questions:
|
The "or so" remark refers to the old g_tw_periodicity variable:
|
Ah OK. So a scheduler iteration in optimistic mode is defined as up to In any case, it's a good idea to be able to limit the callbacks, esp. if we're running a model that needs to run GVT constantly. |
API for a callback for a PE function that gets called every GVT (or so).
Initially introduced in e2309b7 (Jan 2011)
Removed by me in 443bfd2 (Feb 2014).
Should we add some documentation? What is a good use/test case for this?
The text was updated successfully, but these errors were encountered: