Interface Resource<D>
- All Superinterfaces:
ThinResource<ErrorCatching<Expiring<D>>>
- All Known Subinterfaces:
MutableResource<D>
A function returning a fully-wrapped dynamics,
and the primary way models track state and report results.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Turn on profiling for all resources derived throughResourceMonad
or created byMutableResource.resource(D)
.Methods inherited from interface gov.nasa.jpl.aerie.contrib.streamline.core.ThinResource
getDynamics
-
Method Details
-
profileAllResources
static void profileAllResources()Turn on profiling for all resources derived throughResourceMonad
or created byMutableResource.resource(D)
.Calling this method once before constructing your model will profile virtually every resource. Profiling may be compute and/or memory intensive, and should not be used in production.
If only a few resources are suspect, you can also call
Profiling.profile(gov.nasa.jpl.aerie.contrib.streamline.core.Resource<D>)
directly on just those resource, rather than profiling every resource.Call
Profiling.dump()
to see results.
-