Illustrated C/C++ source sheets, symbol index, API relationship graph, compiler console and debug trace

LIVE AI / FLEXIBLE SENSING / FLIGHT CONTEXT

Sensoraia API

Live AI and sensing, connected to the flight.
See, listen, inspect and return supported results while airborne.

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()

camera_lens_detail::Resources::Resources ( const Json & profile)
inlineexplicit

Resolve requested resources against current host limits.

Parameters
profileValidated 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: