Loading...
Searching...
No Matches
camera_lens_detail::Resources Struct Reference
Public Member Functions | |
| Resources (const Json &profile) | |
| Resolve requested resources against current host limits. | |
Data Fields | |
| size_t | budget |
| int | threads |
Detailed Description
Apply the profile budget and additional conservative host-memory/thread limits.
Definition at line 669 of file camera_lens.cpp.
Constructor & Destructor Documentation
◆ Resources()
|
inlineexplicit |
Resolve requested resources against current host limits.
- Parameters
-
profile Validated memory budget and thread settings.
Restrict small hosts to one thread and at most one third of total memory. Available-memory evidence may lower the budget further to leave headroom for other processes.
Definition at line 677 of file camera_lens.cpp.
Field Documentation
◆ budget
| size_t camera_lens_detail::Resources::budget |
Definition at line 670 of file camera_lens.cpp.
◆ threads
| int camera_lens_detail::Resources::threads |
Definition at line 671 of file camera_lens.cpp.
The documentation for this struct was generated from the following file:
- src/camera_lens.cpp