7.6.57 scx::scx_sync

This function adds a future synchronization point.

void scx_sync(double sync_time);
sync_time
the time of the future synchronization point relative to the current simulated time, in seconds.

SystemC components call this function to hint to the scheduler when a system synchronization point will occur.

The scheduler uses this information to determine the quantum sizes of threads.

Threads that have run their quantum are unaffected; all other threads (including the current thread) run to the sync_time synchronization point.

Calling scx_sync() again adds another synchronization point.

Synchronization points automatically vanish when the simulation time passes.

Non-ConfidentialPDF file icon PDF versionARM 100965_1101_00_en
Copyright © 2014–2017 ARM Limited or its affiliates. All rights reserved.