7.7.14 Scheduler API - changes

This section describes changes to the sg::SchedulerInterfaceForComponents interface and related classes (and its default implementation in $MAXCORE_HOME/lib/template/tpl_scx_scheduler_mapping.{h,cpp}).

Scheduler API time representation

The single time type sg::ticks_t replaces uint64_t ticks relative to a double frequency.

sg::ticks_t, is uint64_t with a fixed time resolution, for compatibility with SystemC sc_time.

Functions that take absolute or relative time change accordingly. Arm deprecates the classes FrequencyObserver and FrequencySource. Arm adds getSimulatedTimeResolution() to the sg::SchedulerInterfaceForComponents class.

Non-ConfidentialPDF file icon PDF version100965_1105_00_en
Copyright © 2014–2018 Arm Limited or its affiliates. All rights reserved.