pub struct Analysis {
pub used_cores: BTreeSet<Core>,
pub channels: Channels,
pub free_queues: FreeQueues,
pub late_resources: LateResources,
pub locations: Locations,
pub ownerships: Ownerships,
pub send_types: SendTypes,
pub sync_types: SyncTypes,
pub initialization_barriers: InitializationBarriers,
pub spawn_barriers: SpawnBarriers,
pub timer_queues: TimerQueues,
}Expand description
The result of analyzing an RTFM application
Fields§
§used_cores: BTreeSet<Core>Cores that have been assigned at least task, #[init] or #[idle]
channels: ChannelsSPSC message channels between cores
free_queues: FreeQueuesPriority ceilings of “free queues”
late_resources: LateResourcesMaps a core to the late resources it initializes
locations: LocationsLocation of all used resources
If a resource is not listed here it means that’s a “dead” (never accessed) resource and the backend should not generate code for it
None indicates that the resource must reside in memory visible to more than one core
(“shared memory”)
ownerships: OwnershipsResource ownership
send_types: SendTypesThese types must implement the Send trait
sync_types: SyncTypesThese types must implement the Sync trait
initialization_barriers: InitializationBarriersCross-core initialization barriers
spawn_barriers: SpawnBarriersCross-core spawn barriers
timer_queues: TimerQueuesTimer queues
Auto Trait Implementations§
impl Freeze for Analysis
impl RefUnwindSafe for Analysis
impl !Send for Analysis
impl !Sync for Analysis
impl Unpin for Analysis
impl UnwindSafe for Analysis
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more