holoscan::FragmentScheduler
holoscan::FragmentScheduler
holoscan::FragmentScheduler
The fragment scheduler class.
This class is responsible for scheduling the the set of fragments based on the available app workers.
Add resource requirement for a fragment.
Parameters
The resource requirement for a fragment.
Add app worker resource.
Parameters
The available resource for an app worker.
Schedule the fragments.
Returns: holoscan::expected<std::unordered_map<std::string, std::string>, std::string> The mapping from fragment name to app worker id.