RtGetFlushTLBTickMod
The function RtGetFlushTLBTickMod allows a RTSS process to query the current frequency that the Cache Translation Lookaside Buffer (TLB) is flushed for the RTSS cores. The frequency of the TLB is a modulo of the Subsystem's HAL timer period.
NOTE: RtGetFLushTLBTickMod is only supported in the RTSS environment. It cannot be called from a Windows application linked to RTX64.
Syntax
BOOL RtGetFlushTLBTickMod( ULONG *pTickMod );
Parameters
pTickMod
A pointer to a ULONG that stores the current frequency at which the RTSS 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 Subsystem will flush the cache‘s TLB every 200 microseconds.
Return Value
Returns TRUE if the function succeeds; returns FALSE if the function fails.
Remarks
Cache TLB flushing is handled by the real-time Subsystem whenever a RTSS core is idle. By default, the TickMod value is 0, which means periodic flushing of the TLB is disabled.
Requirements
Minimum Supported Version | RTX64 3.0 |
Header | RtssApi.h |
Library | Rtx_Rtss.lib |
See Also: