Camil Demetrescu edited approach.tex  over 8 years ago

Commit id: 7a6abffd0024f3140b2497ac1a0a887d27904900

deletions | additions      

       

\subsection{Overview}  \label{ss:overview}  Consider the generic OSR scenario shown Figure~\ref{fi:overview-osr}. Figure~\ref{fi:osr-dynamics}.  A base function \textsf{f} is executed and it can either terminate normally (dashed lines), or an OSR event may transfer control to a variant \textsf{f'}. The decision of whether an OSR should be fired at a given point is based on a condition: examples include a guard that tests whether \textsf{f} has become unsafe, or a profile counter that reaches a certain hotness threshold, indicating that \textsf{f} is taking longer than expected and is worth optimizing. %\ref{fi:overview-osr-final}