Journal of Electrical and Computer Engineering / 2012 / Article / Alg 1

Research Article

A State-Based Modeling Approach for Efficient Performance Evaluation of Embedded System Architectures at Transaction Level

Algorithm 1

{
switch (s)
{
{ }
  case s1:
   ts0 = CurrentUserTime(ns);
   To = ts0;
   CofDisplay (“to=%f ns, CcA2=%f op/s”, To, 0);
   CofDisplay (“to=%f ns, CcA2=%f op/s”, To, Ccs1);
   To = ts0 + Tj;
   CofDisplay (“to=%f ns, CcA2=%f op/s”, To, Ccs1);
   CofDisplay (“to=%f ns, CcA2=%f op/s”, To, 0);
   Select_Min = 1;
   Select_Mout = 0;
   OpDuration = Tj;
   if ( 𝑘 < 𝑁 ) s = s 0 ;
   else { s = s 2 ; k + + ; }
   break ;
  case s2:
{ }
}
}

Article of the Year Award: Outstanding research contributions of 2020, as selected by our Chief Editors. Read the winning articles.