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 versionARM 100965_1101_00_en
Copyright © 2014–2017 ARM Limited or its affiliates. All rights reserved.