\section{Applications of Cheddar ADL} \label{applications_of_cheddar_adl} In this section, we show how Cheddar ADL is used for scheduling analysis in the Cheddar context.\\ We implement Cheddar ADL through a XML format. XML tags represent the different types of components and attributes. Each real-time application architecture is specified by a XML file, which must be conform to the DTD (Document Type Definition) of Cheddar ADL. %(see \cite{Fotsing13} for more details). Cheddar tools % allow to check this XML file format, verify specific consistency rules, and then append an instance of the matching component into the internal system representation. Notice that the Cheddar ADL file does not indicate what is the type of the scheduling analysis to apply. Users choose the method through a graphical interface, or by calling dedicated programs from the Cheddar toolbox. A tool is also provided to guide users towards the feasibility tests that are usable according to the architecture of their system \cite{gaudel11}.\\ %several feasibility tests, and to do many scheduling simulations, in order to completely %study the application. %\subsection{Example} Like announced in our requirements, Cheddar ADL should be a gateway with another tool in order to perform schedulability analysis. The figure \ref{interoperability_fig} shows how, in general case, an analysis tool with it specific language is used to check an another model. \begin{figure} \centering \includegraphics[width=11cm,height=5cm]{figures/interoperability} \caption{How interoperability with other ADLs is ensured: the particular case of AADL and Cheddar ADL} \label{interoperability_fig} \end{figure} Using an ADL editor or not, the user produces its own model, which is transformed by an ADL Model Translator, in order to generate the specific model, compatible with your analysis tool.\\ Especially in our case, we show how Cheddar is integrated into an iteration of the development process of a real-time system using AADL inspector, an AADL model editor\footnote{AADL inspector is a product of Ellidiss Technologies http://www.ellidiss.com}: \begin{itemize} \item The designer models a system using AADL inspector. \item The system is then transformed toward the Cheddar ADL used by the analysis tool. \\This transformation extracts information relevant to the schedulability analysis only. \\The example of figure \ref{example_cheddar_adl} is a result of transformation. \begin{figure}{} \begin{lstlisting}{} ... core1 POSIX_1003_HIGHEST_PRIORITY_FIRST_PROTOCOL PREEMPTIVE ... processor1 IDENTICAL_MULTICORES_TYPE TIME_UNIT_MIGRATION_TYPE ... T1 processor1 2 4 0 SCHED_FIFO 4 0 ... static_example scheduling_sequence.xml ...