RtGetFlushTLBTickMod
The function RtGetFlushTLBTickMod allows a process to query the current frequency that the Cache Translation Lookaside Buffer (TLB) is flushed for the process cores. The frequency of the TLB is a modulo of the kernel's HAL timer period.
Syntax
BOOL RtGetFlushTLBTickMod(
ULONG *pTickMod
);
Parameters
pTickMod
A pointer to a ULONG that stores the current frequency at which the process cores’ TLB will be flushed. This value is a mod of the HAL timer period. For example, if your HAL timer period is set to 100 microseconds, and you get back a value of 2, the real-time kernel will flush the cache‘s TLB every 200 microseconds.
Return Value
If the function succeeds, it returns TRUE. If the function fails, it returns FALSE.
Remarks
Cache TLB flushing is handled by the real-time kernel whenever a Process core is idle. By default, the TickMod value is 0, which means periodic flushing of the TLB is disabled.
Requirements
Minimum supported version | Header | Library |
---|---|---|
eRTOS 1.0 SDK |
RtssApi.h | rtkrnl.lib |
See Also: