timers.c.077i.pure-const 136 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767
  1. local analysis of prvInsertTimerInActiveList.part.0
  2. scanning: pxOverflowTimerList.14_1 = pxOverflowTimerList;
  3. scanning: _3 = &pxTimer_2(D)->xTimerListItem;
  4. scanning: vListInsert (pxOverflowTimerList.14_1, _3);
  5. scanning: return xProcessTimerNow_4;
  6. Function is locally const.
  7. local analysis of vTimerSetTimerNumber
  8. scanning: MEM[(struct Timer_t *)xTimer_2(D)].uxTimerNumber = uxTimerNumber_3(D);
  9. Indirect ref write is not const/pure
  10. scanning: return;
  11. local analysis of uxTimerGetTimerNumber
  12. scanning: _3 = MEM[(struct Timer_t *)xTimer_2(D)].uxTimerNumber;
  13. Indirect ref read is not const
  14. scanning: return _3;
  15. Function is locally pure.
  16. local analysis of xTimerPendFunctionCall
  17. scanning: xTimerQueue.26_1 = xTimerQueue;
  18. scanning: if (xTimerQueue.26_1 == 0B)
  19. scanning: __asm__ __volatile__(" mov %0, %1
  20. msr basepri, %0
  21. isb
  22. dsb
  23. " : "=r" ulNewBASEPRI_14 : "i" 16 : "memory");
  24. memory asm clobber is not const/pure
  25. volatile is not const/pure
  26. scanning: xMessage.xMessageID = -1;
  27. scanning: xMessage.u.xCallbackParameters.pxCallbackFunction = xFunctionToPend_4(D);
  28. scanning: xMessage.u.xCallbackParameters.pvParameter1 = pvParameter1_6(D);
  29. scanning: xMessage.u.xCallbackParameters.ulParameter2 = ulParameter2_8(D);
  30. scanning: xReturn_12 = xQueueGenericSend (xTimerQueue.26_1, &xMessage, xTicksToWait_10(D), 0);
  31. scanning: return xReturn_12;
  32. Function is locally looping.
  33. Function can locally free.
  34. local analysis of xTimerPendFunctionCallFromISR
  35. scanning: xMessage.xMessageID = -2;
  36. scanning: xMessage.u.xCallbackParameters.pxCallbackFunction = xFunctionToPend_4(D);
  37. scanning: xMessage.u.xCallbackParameters.pvParameter1 = pvParameter1_6(D);
  38. scanning: xMessage.u.xCallbackParameters.ulParameter2 = ulParameter2_8(D);
  39. scanning: xTimerQueue.25_1 = xTimerQueue;
  40. scanning: xReturn_12 = xQueueGenericSendFromISR (xTimerQueue.25_1, &xMessage, pxHigherPriorityTaskWoken_10(D), 0);
  41. scanning: return xReturn_12;
  42. Function is locally const.
  43. local analysis of vTimerSetTimerID
  44. scanning: if (xTimer_1(D) == 0B)
  45. scanning: __asm__ __volatile__(" mov %0, %1
  46. msr basepri, %0
  47. isb
  48. dsb
  49. " : "=r" ulNewBASEPRI_7 : "i" 16 : "memory");
  50. memory asm clobber is not const/pure
  51. volatile is not const/pure
  52. scanning: vPortEnterCritical ();
  53. scanning: MEM[(struct Timer_t *)xTimer_1(D)].pvTimerID = pvNewID_4(D);
  54. Indirect ref write is not const/pure
  55. scanning: vPortExitCritical ();
  56. scanning: return;
  57. Function is locally looping.
  58. Function can locally free.
  59. local analysis of pvTimerGetTimerID
  60. scanning: if (xTimer_1(D) == 0B)
  61. scanning: __asm__ __volatile__(" mov %0, %1
  62. msr basepri, %0
  63. isb
  64. dsb
  65. " : "=r" ulNewBASEPRI_6 : "i" 16 : "memory");
  66. memory asm clobber is not const/pure
  67. volatile is not const/pure
  68. scanning: vPortEnterCritical ();
  69. scanning: pvReturn_4 = MEM[(struct Timer_t *)xTimer_1(D)].pvTimerID;
  70. Indirect ref read is not const
  71. scanning: vPortExitCritical ();
  72. scanning: return pvReturn_4;
  73. Function is locally looping.
  74. Function can locally free.
  75. local analysis of xTimerIsTimerActive
  76. scanning: if (xTimer_3(D) == 0B)
  77. scanning: __asm__ __volatile__(" mov %0, %1
  78. msr basepri, %0
  79. isb
  80. dsb
  81. " : "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
  82. memory asm clobber is not const/pure
  83. volatile is not const/pure
  84. scanning: vPortEnterCritical ();
  85. scanning: _1 = MEM[(struct Timer_t *)xTimer_3(D)].ucStatus;
  86. Indirect ref read is not const
  87. scanning: _4 = _1 & 1;
  88. scanning: _2 = (long int) _4;
  89. scanning: vPortExitCritical ();
  90. scanning: return _2;
  91. Function is locally looping.
  92. Function can locally free.
  93. local analysis of prvCheckForValidListAndQueue
  94. scanning: vPortEnterCritical ();
  95. scanning: xTimerQueue.17_1 = xTimerQueue;
  96. scanning: if (xTimerQueue.17_1 == 0B)
  97. scanning: vListInitialise (&xActiveTimerList1);
  98. scanning: vListInitialise (&xActiveTimerList2);
  99. scanning: pxCurrentTimerList = &xActiveTimerList1;
  100. scanning: pxOverflowTimerList = &xActiveTimerList2;
  101. scanning: _2 = xQueueGenericCreate (10, 16, 0);
  102. scanning: xTimerQueue = _2;
  103. scanning: if (_2 != 0B)
  104. scanning: vQueueAddToRegistry (_2, "TmrQ");
  105. scanning: vPortExitCritical ();
  106. scanning: return;
  107. Function is locally const.
  108. local analysis of prvSwitchTimerLists
  109. scanning: _1 = pxCurrentTimerList.11_2->xListEnd.pxNext;
  110. Indirect ref read is not const
  111. scanning: xNextExpireTime_10 = _1->xItemValue;
  112. Indirect ref read is not const
  113. scanning: prvProcessExpiredTimer (xNextExpireTime_10, 4294967295);
  114. scanning: pxCurrentTimerList.11_2 = pxCurrentTimerList;
  115. scanning: _3 ={v} pxCurrentTimerList.11_2->uxNumberOfItems;
  116. Volatile stmt is not const/pure
  117. Indirect ref read is not const
  118. scanning: if (_3 != 0)
  119. scanning: pxOverflowTimerList.12_4 = pxOverflowTimerList;
  120. scanning: pxCurrentTimerList = pxOverflowTimerList.12_4;
  121. scanning: pxOverflowTimerList = pxCurrentTimerList.11_7;
  122. scanning: return;
  123. local analysis of prvProcessReceivedCommands
  124. scanning: _1 = xMessage.xMessageID;
  125. scanning: if (_1 < 0)
  126. scanning: _2 = MEM[(const struct CallbackParameters_t *)&xMessage + 4B].pxCallbackFunction;
  127. Indirect ref read is not const
  128. scanning: _3 = MEM[(const struct CallbackParameters_t *)&xMessage + 4B].pvParameter1;
  129. Indirect ref read is not const
  130. scanning: _4 = MEM[(const struct CallbackParameters_t *)&xMessage + 4B].ulParameter2;
  131. Indirect ref read is not const
  132. scanning: _2 (_3, _4);
  133. scanning: _5 = xMessage.xMessageID;
  134. scanning: if (_5 >= 0)
  135. scanning: pxTimer_47 = xMessage.u.xTimerParameters.pxTimer;
  136. scanning: _6 = pxTimer_47->xTimerListItem.pvContainer;
  137. Indirect ref read is not const
  138. scanning: if (_6 != 0B)
  139. scanning: _7 = &pxTimer_47->xTimerListItem;
  140. scanning: uxListRemove (_7);
  141. scanning: xTimeNow_50 = prvSampleTimeNow (&xTimerListsWereSwitched);
  142. scanning: _8 = xMessage.xMessageID;
  143. scanning: switch (_8) <default: <L41> [20.00%], case 1 ... 2: <L11> [20.00%], case 3: <L21> [20.00%], case 4: <L23> [20.00%], case 5: <L28> [20.00%], case 6 ... 7: <L11> [20.00%], case 8: <L21> [20.00%], case 9: <L23> [20.00%]>
  144. scanning: <L41>:
  145. scanning: <L11>:
  146. scanning: _9 = pxTimer_14->ucStatus;
  147. Indirect ref read is not const
  148. scanning: _10 = _9 | 1;
  149. scanning: pxTimer_14->ucStatus = _10;
  150. Indirect ref write is not const/pure
  151. scanning: _11 = xMessage.u.xTimerParameters.xMessageValue;
  152. scanning: _12 = pxTimer_14->xTimerPeriodInTicks;
  153. Indirect ref read is not const
  154. scanning: _13 = _11 + _12;
  155. scanning: _15 = prvInsertTimerInActiveList (pxTimer_14, _13, xTimeNow_46, _11);
  156. scanning: if (_15 != 0)
  157. scanning: _16 = pxTimer_14->ucStatus;
  158. Indirect ref read is not const
  159. scanning: _65 = _16 & 4;
  160. scanning: if (_65 != 0)
  161. scanning: _17 = xMessage.u.xTimerParameters.xMessageValue;
  162. scanning: _18 = pxTimer_14->xTimerPeriodInTicks;
  163. Indirect ref read is not const
  164. scanning: _19 = _17 + _18;
  165. scanning: prvReloadTimer (pxTimer_14, _19, xTimeNow_46);
  166. scanning: _21 = _16 & 254;
  167. scanning: pxTimer_14->ucStatus = _21;
  168. Indirect ref write is not const/pure
  169. scanning: _22 = pxTimer_14->pxCallbackFunction;
  170. Indirect ref read is not const
  171. scanning: _22 (pxTimer_14);
  172. scanning: <L21>:
  173. scanning: _23 = pxTimer_20->ucStatus;
  174. Indirect ref read is not const
  175. scanning: _24 = _23 & 254;
  176. scanning: pxTimer_20->ucStatus = _24;
  177. Indirect ref write is not const/pure
  178. scanning: <L23>:
  179. scanning: _25 = pxTimer_44->ucStatus;
  180. Indirect ref read is not const
  181. scanning: _26 = _25 | 1;
  182. scanning: pxTimer_44->ucStatus = _26;
  183. Indirect ref write is not const/pure
  184. scanning: _27 = xMessage.u.xTimerParameters.xMessageValue;
  185. scanning: pxTimer_44->xTimerPeriodInTicks = _27;
  186. Indirect ref write is not const/pure
  187. scanning: if (_27 == 0)
  188. scanning: __asm__ __volatile__(" mov %0, %1
  189. msr basepri, %0
  190. isb
  191. dsb
  192. " : "=r" ulNewBASEPRI_64 : "i" 16 : "memory");
  193. memory asm clobber is not const/pure
  194. volatile is not const/pure
  195. scanning: _30 = _27 + xTimeNow_67;
  196. scanning: prvInsertTimerInActiveList (pxTimer_44, _30, xTimeNow_67, xTimeNow_67);
  197. scanning: <L28>:
  198. scanning: _31 = pxTimer_56->ucStatus;
  199. Indirect ref read is not const
  200. scanning: _63 = _31 & 2;
  201. scanning: if (_63 == 0)
  202. scanning: vPortFree (pxTimer_56);
  203. scanning: _33 = _31 & 254;
  204. scanning: pxTimer_56->ucStatus = _33;
  205. Indirect ref write is not const/pure
  206. scanning: <L38>:
  207. scanning: xTimerQueue.16_34 = xTimerQueue;
  208. scanning: _35 = xQueueReceive (xTimerQueue.16_34, &xMessage, 0);
  209. scanning: if (_35 != 0)
  210. scanning: return;
  211. Function is locally looping.
  212. Function can locally free.
  213. local analysis of prvInsertTimerInActiveList
  214. scanning: pxTimer_8(D)->xTimerListItem.xItemValue = xNextExpiryTime_9(D);
  215. Indirect ref write is not const/pure
  216. scanning: pxTimer_8(D)->xTimerListItem.pvOwner = pxTimer_8(D);
  217. Indirect ref write is not const/pure
  218. scanning: if (xNextExpiryTime_9(D) <= xTimeNow_12(D))
  219. scanning: _1 = xTimeNow_12(D) - xCommandTime_13(D);
  220. scanning: _2 = pxTimer_8(D)->xTimerPeriodInTicks;
  221. Indirect ref read is not const
  222. scanning: if (_1 >= _2)
  223. scanning: xProcessTimerNow_16 = prvInsertTimerInActiveList.part.0 (pxTimer_8(D));
  224. scanning: if (xTimeNow_12(D) < xCommandTime_13(D))
  225. scanning: if (xNextExpiryTime_9(D) >= xCommandTime_13(D))
  226. scanning: pxCurrentTimerList.15_3 = pxCurrentTimerList;
  227. scanning: _4 = &pxTimer_8(D)->xTimerListItem;
  228. scanning: vListInsert (pxCurrentTimerList.15_3, _4);
  229. scanning: return xProcessTimerNow_5;
  230. local analysis of prvSampleTimeNow
  231. scanning: xTimeNow_5 = xTaskGetTickCount ();
  232. scanning: xLastTime.9_1 = xLastTime;
  233. scanning: if (xLastTime.9_1 > xTimeNow_5)
  234. scanning: prvSwitchTimerLists ();
  235. scanning: *pxTimerListsWereSwitched_6(D) = 1;
  236. Indirect ref write is not const/pure
  237. scanning: *pxTimerListsWereSwitched_6(D) = 0;
  238. Indirect ref write is not const/pure
  239. scanning: xLastTime = xTimeNow_5;
  240. scanning: return xTimeNow_5;
  241. local analysis of prvGetNextExpireTime
  242. scanning: pxCurrentTimerList.3_1 = pxCurrentTimerList;
  243. scanning: _2 ={v} pxCurrentTimerList.3_1->uxNumberOfItems;
  244. Volatile stmt is not const/pure
  245. Indirect ref read is not const
  246. scanning: if (_2 == 0)
  247. scanning: *pxListWasEmpty_7(D) = iftmp.2_5;
  248. Indirect ref write is not const/pure
  249. scanning: if (iftmp.2_5 == 0)
  250. scanning: _3 = pxCurrentTimerList.3_1->xListEnd.pxNext;
  251. Indirect ref read is not const
  252. scanning: xNextExpireTime_9 = _3->xItemValue;
  253. Indirect ref read is not const
  254. scanning: return xNextExpireTime_4;
  255. local analysis of prvProcessTimerOrBlockTask
  256. scanning: vTaskSuspendAll ();
  257. scanning: xTimeNow_12 = prvSampleTimeNow (&xTimerListsWereSwitched);
  258. scanning: xTimerListsWereSwitched.5_1 = xTimerListsWereSwitched;
  259. scanning: if (xTimerListsWereSwitched.5_1 == 0)
  260. scanning: if (xListWasEmpty_14(D) == 0)
  261. scanning: if (xTimeNow_12 >= xNextExpireTime_15(D))
  262. scanning: xTaskResumeAll ();
  263. scanning: prvProcessExpiredTimer (xNextExpireTime_15(D), xTimeNow_12);
  264. scanning: if (xListWasEmpty_14(D) != 0)
  265. scanning: pxOverflowTimerList.7_2 = pxOverflowTimerList;
  266. scanning: _3 ={v} pxOverflowTimerList.7_2->uxNumberOfItems;
  267. Volatile stmt is not const/pure
  268. Indirect ref read is not const
  269. scanning: if (_3 == 0)
  270. scanning: xTimerQueue.8_4 = xTimerQueue;
  271. scanning: _5 = xNextExpireTime_15(D) - xTimeNow_12;
  272. scanning: vQueueWaitForMessageRestricted (xTimerQueue.8_4, _5, xListWasEmpty_7);
  273. scanning: _6 = xTaskResumeAll ();
  274. scanning: if (_6 == 0)
  275. scanning: MEM[(volatile uint32_t *)3758157060B] ={v} 268435456;
  276. Volatile stmt is not const/pure
  277. Volatile indirect ref is not const/pure
  278. scanning: __asm__ __volatile__("dsb" : : : "memory");
  279. memory asm clobber is not const/pure
  280. volatile is not const/pure
  281. scanning: __asm__ __volatile__("isb");
  282. memory asm clobber is not const/pure
  283. volatile is not const/pure
  284. scanning: xTaskResumeAll ();
  285. scanning: return;
  286. Function is locally looping.
  287. Function can locally free.
  288. local analysis of prvTimerTask
  289. scanning: xNextExpireTime_5 = prvGetNextExpireTime (&xListWasEmpty);
  290. scanning: xListWasEmpty.1_1 = xListWasEmpty;
  291. scanning: prvProcessTimerOrBlockTask (xNextExpireTime_5, xListWasEmpty.1_1);
  292. scanning: prvProcessReceivedCommands ();
  293. ;; 2 loops found
  294. ;;
  295. ;; Loop 0
  296. ;; header 0, latch 1
  297. ;; depth 0, outer -1
  298. ;; nodes: 0 1 2 3 4
  299. ;;
  300. ;; Loop 1
  301. ;; header 3, latch 4
  302. ;; depth 1, outer 0
  303. ;; nodes: 3 4
  304. ;; 2 succs { 3 }
  305. ;; 3 succs { 4 }
  306. ;; 4 succs { 3 }
  307. cannot prove finiteness of loop 1
  308. Function is locally looping.
  309. Function is locally const.
  310. local analysis of prvProcessExpiredTimer
  311. scanning: pxCurrentTimerList.13_1 = pxCurrentTimerList;
  312. scanning: _2 = pxCurrentTimerList.13_1->xListEnd.pxNext;
  313. Indirect ref read is not const
  314. scanning: pxTimer_9 = _2->pvOwner;
  315. Indirect ref read is not const
  316. scanning: _3 = &pxTimer_9->xTimerListItem;
  317. scanning: uxListRemove (_3);
  318. scanning: _4 = pxTimer_9->ucStatus;
  319. Indirect ref read is not const
  320. scanning: _16 = _4 & 4;
  321. scanning: if (_16 != 0)
  322. scanning: prvReloadTimer (pxTimer_9, xNextExpireTime_12(D), xTimeNow_13(D));
  323. scanning: _5 = _4 & 254;
  324. scanning: pxTimer_9->ucStatus = _5;
  325. Indirect ref write is not const/pure
  326. scanning: _6 = pxTimer_9->pxCallbackFunction;
  327. Indirect ref read is not const
  328. scanning: _6 (pxTimer_9);
  329. scanning: return;
  330. local analysis of prvReloadTimer
  331. scanning: _1 = pxTimer_10(D)->xTimerPeriodInTicks;
  332. Indirect ref read is not const
  333. scanning: xExpiredTime_13 = _1 + xExpiredTime_6;
  334. scanning: _2 = pxTimer_10(D)->pxCallbackFunction;
  335. Indirect ref read is not const
  336. scanning: _2 (pxTimer_10(D));
  337. scanning: _3 = pxTimer_10(D)->xTimerPeriodInTicks;
  338. Indirect ref read is not const
  339. scanning: _4 = _3 + xExpiredTime_6;
  340. scanning: _5 = prvInsertTimerInActiveList (pxTimer_10(D), _4, xTimeNow_11(D), xExpiredTime_6);
  341. scanning: if (_5 != 0)
  342. scanning: return;
  343. ;; 2 loops found
  344. ;;
  345. ;; Loop 0
  346. ;; header 0, latch 1
  347. ;; depth 0, outer -1
  348. ;; nodes: 0 1 2 3 4 5
  349. ;;
  350. ;; Loop 1
  351. ;; header 4, latch 3
  352. ;; depth 1, outer 0
  353. ;; nodes: 4 3
  354. ;; 2 succs { 4 }
  355. ;; 3 succs { 4 }
  356. ;; 4 succs { 3 5 }
  357. ;; 5 succs { 1 }
  358. cannot prove finiteness of loop 1
  359. Function is locally looping.
  360. Function is locally pure.
  361. local analysis of pcTimerGetName
  362. scanning: if (xTimer_1(D) == 0B)
  363. scanning: __asm__ __volatile__(" mov %0, %1
  364. msr basepri, %0
  365. isb
  366. dsb
  367. " : "=r" ulNewBASEPRI_4 : "i" 16 : "memory");
  368. memory asm clobber is not const/pure
  369. volatile is not const/pure
  370. scanning: _3 = MEM[(struct Timer_t *)xTimer_1(D)].pcTimerName;
  371. Indirect ref read is not const
  372. scanning: return _3;
  373. Function is locally looping.
  374. Function can locally free.
  375. local analysis of xTimerGetExpiryTime
  376. scanning: if (xTimer_1(D) == 0B)
  377. scanning: __asm__ __volatile__(" mov %0, %1
  378. msr basepri, %0
  379. isb
  380. dsb
  381. " : "=r" ulNewBASEPRI_4 : "i" 16 : "memory");
  382. memory asm clobber is not const/pure
  383. volatile is not const/pure
  384. scanning: xReturn_3 = MEM[(struct Timer_t *)xTimer_1(D)].xTimerListItem.xItemValue;
  385. Indirect ref read is not const
  386. scanning: return xReturn_3;
  387. Function is locally looping.
  388. Function can locally free.
  389. local analysis of uxTimerGetReloadMode
  390. scanning: if (xTimer_3(D) == 0B)
  391. scanning: __asm__ __volatile__(" mov %0, %1
  392. msr basepri, %0
  393. isb
  394. dsb
  395. " : "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
  396. memory asm clobber is not const/pure
  397. volatile is not const/pure
  398. scanning: vPortEnterCritical ();
  399. scanning: _1 = MEM[(struct Timer_t *)xTimer_3(D)].ucStatus;
  400. Indirect ref read is not const
  401. scanning: _4 = _1 & 4;
  402. scanning: if (_4 == 0)
  403. scanning: vPortExitCritical ();
  404. scanning: return uxReturn_2;
  405. Function is locally looping.
  406. Function can locally free.
  407. local analysis of vTimerSetReloadMode
  408. scanning: if (xTimer_6(D) == 0B)
  409. scanning: __asm__ __volatile__(" mov %0, %1
  410. msr basepri, %0
  411. isb
  412. dsb
  413. " : "=r" ulNewBASEPRI_13 : "i" 16 : "memory");
  414. memory asm clobber is not const/pure
  415. volatile is not const/pure
  416. scanning: vPortEnterCritical ();
  417. scanning: if (uxAutoReload_9(D) != 0)
  418. scanning: _1 = MEM[(struct Timer_t *)xTimer_6(D)].ucStatus;
  419. Indirect ref read is not const
  420. scanning: _2 = _1 | 4;
  421. scanning: MEM[(struct Timer_t *)xTimer_6(D)].ucStatus = _2;
  422. Indirect ref write is not const/pure
  423. scanning: _3 = MEM[(struct Timer_t *)xTimer_6(D)].ucStatus;
  424. Indirect ref read is not const
  425. scanning: _4 = _3 & 251;
  426. scanning: MEM[(struct Timer_t *)xTimer_6(D)].ucStatus = _4;
  427. Indirect ref write is not const/pure
  428. scanning: vPortExitCritical ();
  429. scanning: return;
  430. Function is locally looping.
  431. Function can locally free.
  432. local analysis of xTimerGetPeriod
  433. scanning: if (xTimer_1(D) == 0B)
  434. scanning: __asm__ __volatile__(" mov %0, %1
  435. msr basepri, %0
  436. isb
  437. dsb
  438. " : "=r" ulNewBASEPRI_4 : "i" 16 : "memory");
  439. memory asm clobber is not const/pure
  440. volatile is not const/pure
  441. scanning: _3 = MEM[(struct Timer_t *)xTimer_1(D)].xTimerPeriodInTicks;
  442. Indirect ref read is not const
  443. scanning: return _3;
  444. Function is locally looping.
  445. Function can locally free.
  446. local analysis of xTimerGetTimerDaemonTaskHandle
  447. scanning: xTimerTaskHandle.24_1 = xTimerTaskHandle;
  448. scanning: if (xTimerTaskHandle.24_1 == 0B)
  449. scanning: __asm__ __volatile__(" mov %0, %1
  450. msr basepri, %0
  451. isb
  452. dsb
  453. " : "=r" ulNewBASEPRI_3 : "i" 16 : "memory");
  454. memory asm clobber is not const/pure
  455. volatile is not const/pure
  456. scanning: return xTimerTaskHandle.24_1;
  457. Function is locally looping.
  458. Function can locally free.
  459. local analysis of xTimerGenericCommand
  460. scanning: if (xTimer_7(D) == 0B)
  461. scanning: __asm__ __volatile__(" mov %0, %1
  462. msr basepri, %0
  463. isb
  464. dsb
  465. " : "=r" ulNewBASEPRI_24 : "i" 16 : "memory");
  466. memory asm clobber is not const/pure
  467. volatile is not const/pure
  468. scanning: xTimerQueue.20_1 = xTimerQueue;
  469. scanning: if (xTimerQueue.20_1 != 0B)
  470. scanning: xMessage.xMessageID = xCommandID_9(D);
  471. scanning: xMessage.u.xTimerParameters.xMessageValue = xOptionalValue_11(D);
  472. scanning: xMessage.u.xTimerParameters.pxTimer = xTimer_7(D);
  473. scanning: if (xCommandID_9(D) <= 5)
  474. scanning: _2 = xTaskGetSchedulerState ();
  475. scanning: if (_2 == 2)
  476. scanning: xTimerQueue.21_3 = xTimerQueue;
  477. scanning: xReturn_22 = xQueueGenericSend (xTimerQueue.21_3, &xMessage, xTicksToWait_20(D), 0);
  478. scanning: xTimerQueue.22_4 = xTimerQueue;
  479. scanning: xReturn_19 = xQueueGenericSend (xTimerQueue.22_4, &xMessage, 0, 0);
  480. scanning: xReturn_16 = xQueueGenericSendFromISR (xTimerQueue.20_1, &xMessage, pxHigherPriorityTaskWoken_14(D), 0);
  481. scanning: return xReturn_5;
  482. Function is locally looping.
  483. Function can locally free.
  484. local analysis of prvInitialiseNewTimer
  485. scanning: if (xTimerPeriodInTicks_5(D) == 0)
  486. scanning: __asm__ __volatile__(" mov %0, %1
  487. msr basepri, %0
  488. isb
  489. dsb
  490. " : "=r" ulNewBASEPRI_19 : "i" 16 : "memory");
  491. memory asm clobber is not const/pure
  492. volatile is not const/pure
  493. scanning: prvCheckForValidListAndQueue ();
  494. scanning: pxNewTimer_8(D)->pcTimerName = pcTimerName_9(D);
  495. Indirect ref write is not const/pure
  496. scanning: pxNewTimer_8(D)->xTimerPeriodInTicks = xTimerPeriodInTicks_5(D);
  497. Indirect ref write is not const/pure
  498. scanning: pxNewTimer_8(D)->pvTimerID = pvTimerID_12(D);
  499. Indirect ref write is not const/pure
  500. scanning: pxNewTimer_8(D)->pxCallbackFunction = pxCallbackFunction_14(D);
  501. Indirect ref write is not const/pure
  502. scanning: _1 = &pxNewTimer_8(D)->xTimerListItem;
  503. scanning: vListInitialiseItem (_1);
  504. scanning: if (uxAutoReload_17(D) != 0)
  505. scanning: _2 = pxNewTimer_8(D)->ucStatus;
  506. Indirect ref read is not const
  507. scanning: _3 = _2 | 4;
  508. scanning: pxNewTimer_8(D)->ucStatus = _3;
  509. Indirect ref write is not const/pure
  510. scanning: return;
  511. Function is locally looping.
  512. Function can locally free.
  513. local analysis of xTimerCreate
  514. scanning: pxNewTimer_4 = pvPortMalloc (44);
  515. scanning: if (pxNewTimer_4 != 0B)
  516. scanning: pxNewTimer_4->ucStatus = 0;
  517. Indirect ref write is not const/pure
  518. scanning: prvInitialiseNewTimer (pcTimerName_6(D), xTimerPeriodInTicks_7(D), uxAutoReload_8(D), pvTimerID_9(D), pxCallbackFunction_10(D), pxNewTimer_4);
  519. scanning: return pxNewTimer_4;
  520. local analysis of xTimerCreateTimerTask
  521. scanning: prvCheckForValidListAndQueue ();
  522. scanning: xTimerQueue.0_1 = xTimerQueue;
  523. scanning: if (xTimerQueue.0_1 != 0B)
  524. scanning: xReturn_5 = xTaskCreate (prvTimerTask, "Tmr Svc", 180, 0B, 2, &xTimerTaskHandle);
  525. scanning: if (xReturn_5 == 0)
  526. scanning: __asm__ __volatile__(" mov %0, %1
  527. msr basepri, %0
  528. isb
  529. dsb
  530. " : "=r" ulNewBASEPRI_7 : "i" 16 : "memory");
  531. memory asm clobber is not const/pure
  532. volatile is not const/pure
  533. scanning: return xReturn_5;
  534. Function is locally looping.
  535. Function can locally free.
  536. callgraph:
  537. prvSampleTimeNow/73 (prvSampleTimeNow) @05e5b0e0
  538. Type: function definition analyzed
  539. Visibility:
  540. next sharing asm name: 25
  541. Aux: @05d18c48
  542. References: xLastTime.6551/42 (read)xLastTime.6551/42 (write)
  543. Referring:
  544. Function prvSampleTimeNow/73 is inline copy in prvTimerTask/22
  545. Clone of prvSampleTimeNow/25
  546. Availability: local
  547. Function flags: count:1073741824 (estimated locally) body local optimize_size
  548. Called by: prvProcessTimerOrBlockTask/23 (inlined) (1073741824 (estimated locally),10000.02 per call)
  549. Calls: xTaskGetTickCount/41 (1073741824 (estimated locally),10000.02 per call) prvSwitchTimerLists/28 (354334802 (estimated locally),3300.01 per call)
  550. prvInitialiseNewTimer.constprop.0/72 (prvInitialiseNewTimer.constprop) @05e55d20
  551. Type: function definition analyzed
  552. Visibility:
  553. Aux: @05d18d88
  554. References:
  555. Referring:
  556. Function prvInitialiseNewTimer.constprop/72 is inline copy in xTimerCreate/11
  557. Clone of prvInitialiseNewTimer/12
  558. Availability: local
  559. Function flags: count:574129754 (estimated locally) local optimize_size
  560. Called by: xTimerCreate/11 (inlined) (574129754 (estimated locally),0.53 per call)
  561. Calls: prvCheckForValidListAndQueue/29 (189463535 (estimated locally),0.18 per call) vListInitialiseItem/53 (189463535 (estimated locally),0.18 per call)
  562. prvInsertTimerInActiveList.part.0/57 (prvInsertTimerInActiveList.part.0) @05e55a80
  563. Type: function definition analyzed
  564. Visibility: prevailing_def_ironly artificial
  565. Aux: @05d18ba8
  566. References: pxOverflowTimerList/7 (read)
  567. Referring:
  568. Function prvInsertTimerInActiveList.part.0/57 is inline copy in prvInsertTimerInActiveList/26
  569. Availability: local
  570. Function flags: count:177167400 (estimated locally) first_run:1 body local split_part optimize_size
  571. Called by: prvInsertTimerInActiveList/26 (inlined) (177167400 (estimated locally),0.16 per call)
  572. Calls: vListInsert/44 (177167400 (estimated locally),0.16 per call)
  573. xQueueGenericSendFromISR/56 (xQueueGenericSendFromISR) @05f5cc40
  574. Type: function
  575. Visibility: external public
  576. References:
  577. Referring:
  578. Availability: not_available
  579. Function flags: optimize_size
  580. Called by: xTimerPendFunctionCallFromISR/33 (1073741824 (estimated locally),1.00 per call) xTimerGenericCommand/13 (87689 (estimated locally),0.25 per call)
  581. Calls:
  582. xQueueGenericSend/55 (xQueueGenericSend) @05f5cb60
  583. Type: function
  584. Visibility: external public
  585. References:
  586. Referring:
  587. Availability: not_available
  588. Function flags: optimize_size
  589. Called by: xTimerPendFunctionCall/34 (123389 (estimated locally),0.53 per call) xTimerGenericCommand/13 (57875 (estimated locally),0.16 per call) xTimerGenericCommand/13 (29814 (estimated locally),0.08 per call)
  590. Calls:
  591. xTaskGetSchedulerState/54 (xTaskGetSchedulerState) @05f5ca80
  592. Type: function
  593. Visibility: external public
  594. References:
  595. Referring:
  596. Availability: not_available
  597. Function flags: optimize_size
  598. Called by: xTimerGenericCommand/13 (87689 (estimated locally),0.25 per call)
  599. Calls:
  600. vListInitialiseItem/53 (vListInitialiseItem) @05f5c8c0
  601. Type: function
  602. Visibility: external public
  603. References:
  604. Referring:
  605. Availability: not_available
  606. Function flags: optimize_size
  607. Called by: prvInitialiseNewTimer.constprop/72 (189463535 (estimated locally),0.18 per call)
  608. Calls:
  609. pvPortMalloc/52 (pvPortMalloc) @05f5c700
  610. Type: function
  611. Visibility: external public
  612. References:
  613. Referring:
  614. Availability: not_available
  615. Function flags: optimize_size
  616. Called by: xTimerCreate/11 (1073741824 (estimated locally),1.00 per call)
  617. Calls:
  618. vPortExitCritical/51 (vPortExitCritical) @05f5c460
  619. Type: function
  620. Visibility: external public
  621. References:
  622. Referring:
  623. Availability: not_available
  624. Function flags: optimize_size
  625. Called by: vTimerSetTimerID/32 (123389 (estimated locally),0.53 per call) pvTimerGetTimerID/31 (123389 (estimated locally),0.53 per call) xTimerIsTimerActive/30 (123389 (estimated locally),0.53 per call) uxTimerGetReloadMode/17 (123389 (estimated locally),0.53 per call) vTimerSetReloadMode/16 (123389 (estimated locally),0.53 per call) prvCheckForValidListAndQueue/29 (1073741824 (estimated locally),1.00 per call)
  626. Calls:
  627. vQueueAddToRegistry/50 (vQueueAddToRegistry) @05f5c380
  628. Type: function
  629. Visibility: external public
  630. References:
  631. Referring:
  632. Availability: not_available
  633. Function flags: optimize_size
  634. Called by: prvCheckForValidListAndQueue/29 (100070816 (estimated locally),0.09 per call)
  635. Calls:
  636. xQueueGenericCreate/49 (xQueueGenericCreate) @05f5c2a0
  637. Type: function
  638. Visibility: external public
  639. References:
  640. Referring:
  641. Availability: not_available
  642. Function flags: optimize_size
  643. Called by: prvCheckForValidListAndQueue/29 (187153200 (estimated locally),0.17 per call)
  644. Calls:
  645. vListInitialise/48 (vListInitialise) @05f5c0e0
  646. Type: function
  647. Visibility: external public
  648. References:
  649. Referring:
  650. Availability: not_available
  651. Function flags: optimize_size
  652. Called by: prvCheckForValidListAndQueue/29 (187153200 (estimated locally),0.17 per call) prvCheckForValidListAndQueue/29 (187153200 (estimated locally),0.17 per call)
  653. Calls:
  654. vPortEnterCritical/47 (vPortEnterCritical) @05f5c000
  655. Type: function
  656. Visibility: external public
  657. References:
  658. Referring:
  659. Availability: not_available
  660. Function flags: optimize_size
  661. Called by: vTimerSetTimerID/32 (123389 (estimated locally),0.53 per call) pvTimerGetTimerID/31 (123389 (estimated locally),0.53 per call) xTimerIsTimerActive/30 (123389 (estimated locally),0.53 per call) uxTimerGetReloadMode/17 (123389 (estimated locally),0.53 per call) vTimerSetReloadMode/16 (123389 (estimated locally),0.53 per call) prvCheckForValidListAndQueue/29 (1073741824 (estimated locally),1.00 per call)
  662. Calls:
  663. xQueueReceive/46 (xQueueReceive) @05f36e00
  664. Type: function
  665. Visibility: external public
  666. References:
  667. Referring:
  668. Availability: not_available
  669. Function flags: optimize_size
  670. Called by: prvProcessReceivedCommands/27 (19321729474 (estimated locally),179947.93 per call)
  671. Calls:
  672. vPortFree/45 (vPortFree) @05f36d20
  673. Type: function
  674. Visibility: external public
  675. References:
  676. Referring:
  677. Availability: not_available
  678. Function flags: optimize_size
  679. Called by: prvProcessReceivedCommands/27 (66280295 (estimated locally),617.28 per call)
  680. Calls:
  681. vListInsert/44 (vListInsert) @05f369a0
  682. Type: function
  683. Visibility: external public
  684. References:
  685. Referring:
  686. Availability: not_available
  687. Function flags: optimize_size
  688. Called by: prvInsertTimerInActiveList/26 (357019157 (estimated locally),0.33 per call) prvInsertTimerInActiveList.part.0/57 (177167400 (estimated locally),0.16 per call)
  689. Calls:
  690. uxListRemove/43 (uxListRemove) @05f36700
  691. Type: function
  692. Visibility: external public
  693. References:
  694. Referring:
  695. Availability: not_available
  696. Function flags: optimize_size
  697. Called by: prvProcessReceivedCommands/27 (536970861 (estimated locally),5000.94 per call) prvProcessExpiredTimer/21 (1073741824 (estimated locally),1.00 per call)
  698. Calls:
  699. xTaskGetTickCount/41 (xTaskGetTickCount) @05f36380
  700. Type: function
  701. Visibility: external public
  702. References:
  703. Referring:
  704. Availability: not_available
  705. Function flags: optimize_size
  706. Called by: prvSampleTimeNow/73 (1073741824 (estimated locally),10000.02 per call) prvSampleTimeNow/25 (1004246918 (estimated locally),9352.79 per call)
  707. Calls:
  708. vQueueWaitForMessageRestricted/40 (vQueueWaitForMessageRestricted) @05f361c0
  709. Type: function
  710. Visibility: external public
  711. References:
  712. Referring:
  713. Availability: not_available
  714. Function flags: optimize_size
  715. Called by: prvProcessTimerOrBlockTask/23 (600704865 (estimated locally),5594.51 per call)
  716. Calls:
  717. xTaskResumeAll/39 (xTaskResumeAll) @05f360e0
  718. Type: function
  719. Visibility: external public
  720. References:
  721. Referring:
  722. Availability: not_available
  723. Function flags: optimize_size
  724. Called by: prvProcessTimerOrBlockTask/23 (354334802 (estimated locally),3300.01 per call) prvProcessTimerOrBlockTask/23 (600704865 (estimated locally),5594.51 per call) prvProcessTimerOrBlockTask/23 (118702158 (estimated locally),1105.50 per call)
  725. Calls:
  726. vTaskSuspendAll/38 (vTaskSuspendAll) @05f36000
  727. Type: function
  728. Visibility: external public
  729. References:
  730. Referring:
  731. Availability: not_available
  732. Function flags: optimize_size
  733. Called by: prvProcessTimerOrBlockTask/23 (1073741824 (estimated locally),10000.02 per call)
  734. Calls:
  735. xTaskCreate/37 (xTaskCreate) @05f2aee0
  736. Type: function
  737. Visibility: external public
  738. References:
  739. Referring:
  740. Availability: not_available
  741. Function flags: optimize_size
  742. Called by: xTimerCreateTimerTask/10 (78363 (estimated locally),0.53 per call)
  743. Calls:
  744. vTimerSetTimerNumber/36 (vTimerSetTimerNumber) @05f2aa80
  745. Type: function definition analyzed
  746. Visibility: externally_visible public
  747. Aux: @05d18da8
  748. References:
  749. Referring:
  750. Availability: available
  751. Function flags: count:1073741824 (estimated locally) body optimize_size
  752. Called by:
  753. Calls:
  754. uxTimerGetTimerNumber/35 (uxTimerGetTimerNumber) @05f2a7e0
  755. Type: function definition analyzed
  756. Visibility: externally_visible public
  757. Aux: @05d18aa8
  758. References:
  759. Referring:
  760. Availability: available
  761. Function flags: count:1073741824 (estimated locally) body optimize_size
  762. Called by:
  763. Calls:
  764. xTimerPendFunctionCall/34 (xTimerPendFunctionCall) @05f2a540
  765. Type: function definition analyzed
  766. Visibility: externally_visible public
  767. Aux: @05d189e8
  768. References: xTimerQueue/8 (read)
  769. Referring:
  770. Availability: available
  771. Function flags: count:230763 (estimated locally) body optimize_size
  772. Called by:
  773. Calls: xQueueGenericSend/55 (123389 (estimated locally),0.53 per call)
  774. xTimerPendFunctionCallFromISR/33 (xTimerPendFunctionCallFromISR) @05f2a0e0
  775. Type: function definition analyzed
  776. Visibility: externally_visible public
  777. Aux: @05d18c28
  778. References: xTimerQueue/8 (read)
  779. Referring:
  780. Availability: available
  781. Function flags: count:1073741824 (estimated locally) body optimize_size
  782. Called by:
  783. Calls: xQueueGenericSendFromISR/56 (1073741824 (estimated locally),1.00 per call)
  784. vTimerSetTimerID/32 (vTimerSetTimerID) @05f268c0
  785. Type: function definition analyzed
  786. Visibility: externally_visible public
  787. Aux: @05d18d48
  788. References:
  789. Referring:
  790. Availability: available
  791. Function flags: count:230763 (estimated locally) body optimize_size
  792. Called by:
  793. Calls: vPortExitCritical/51 (123389 (estimated locally),0.53 per call) vPortEnterCritical/47 (123389 (estimated locally),0.53 per call)
  794. pvTimerGetTimerID/31 (pvTimerGetTimerID) @05f26ee0
  795. Type: function definition analyzed
  796. Visibility: externally_visible public
  797. Aux: @05d189c8
  798. References:
  799. Referring:
  800. Availability: available
  801. Function flags: count:230763 (estimated locally) body optimize_size
  802. Called by:
  803. Calls: vPortExitCritical/51 (123389 (estimated locally),0.53 per call) vPortEnterCritical/47 (123389 (estimated locally),0.53 per call)
  804. xTimerIsTimerActive/30 (xTimerIsTimerActive) @05f26b60
  805. Type: function definition analyzed
  806. Visibility: externally_visible public
  807. Aux: @05d18bc8
  808. References:
  809. Referring:
  810. Availability: available
  811. Function flags: count:230763 (estimated locally) body optimize_size
  812. Called by:
  813. Calls: vPortExitCritical/51 (123389 (estimated locally),0.53 per call) vPortEnterCritical/47 (123389 (estimated locally),0.53 per call)
  814. prvCheckForValidListAndQueue/29 (prvCheckForValidListAndQueue) @05f267e0
  815. Type: function definition analyzed
  816. Visibility: prevailing_def_ironly
  817. Aux: @05d18ac8
  818. References: xTimerQueue/8 (read)xActiveTimerList1/4 (addr)xActiveTimerList2/5 (addr)pxCurrentTimerList/6 (write)xActiveTimerList1/4 (addr)pxOverflowTimerList/7 (write)xActiveTimerList2/5 (addr)xTimerQueue/8 (write)
  819. Referring:
  820. Availability: local
  821. Function flags: count:1073741824 (estimated locally) body local optimize_size
  822. Called by: prvInitialiseNewTimer.constprop/72 (189463535 (estimated locally),0.18 per call) xTimerCreateTimerTask/10 (146556 (estimated locally),1.00 per call)
  823. Calls: vPortExitCritical/51 (1073741824 (estimated locally),1.00 per call) vQueueAddToRegistry/50 (100070816 (estimated locally),0.09 per call) xQueueGenericCreate/49 (187153200 (estimated locally),0.17 per call) vListInitialise/48 (187153200 (estimated locally),0.17 per call) vListInitialise/48 (187153200 (estimated locally),0.17 per call) vPortEnterCritical/47 (1073741824 (estimated locally),1.00 per call)
  824. prvSwitchTimerLists/28 (prvSwitchTimerLists) @05f26460
  825. Type: function definition analyzed
  826. Visibility: prevailing_def_ironly
  827. Aux: @05d18b08
  828. References: pxCurrentTimerList/6 (read)pxOverflowTimerList/7 (read)pxCurrentTimerList/6 (write)pxOverflowTimerList/7 (write)
  829. Referring:
  830. Availability: local
  831. Function flags: count:118111600 (estimated locally) body local optimize_size
  832. Called by: prvSampleTimeNow/73 (354334802 (estimated locally),3300.01 per call) prvSampleTimeNow/25 (331401483 (estimated locally),3086.42 per call)
  833. Calls: prvProcessExpiredTimer/21 (955630223 (estimated locally),8.09 per call)
  834. prvProcessReceivedCommands/27 (prvProcessReceivedCommands) @05f260e0
  835. Type: function definition analyzed
  836. Visibility: prevailing_def_ironly
  837. Aux: @05d18be8
  838. References: xTimerQueue/8 (read)
  839. Referring:
  840. Function prvProcessReceivedCommands/27 is inline copy in prvTimerTask/22
  841. Availability: local
  842. Function flags: count:1073741824 (estimated locally) body local optimize_size
  843. Called by: prvTimerTask/22 (inlined) (1073741824 (estimated locally),10000.02 per call)
  844. Calls: xQueueReceive/46 (19321729474 (estimated locally),179947.93 per call) vPortFree/45 (66280295 (estimated locally),617.28 per call) prvInsertTimerInActiveList/26 (189802709 (estimated locally),1767.68 per call) prvReloadTimer/20 (33140147 (estimated locally),308.64 per call) prvInsertTimerInActiveList/26 (200849425 (estimated locally),1870.56 per call) prvSampleTimeNow/25 (inlined) (1004246918 (estimated locally),9352.79 per call) uxListRemove/43 (536970861 (estimated locally),5000.94 per call)
  845. Indirect call(100424661 (estimated locally),935.28 per call)
  846. Indirect call(7486204063 (estimated locally),69720.83 per call)
  847. prvInsertTimerInActiveList/26 (prvInsertTimerInActiveList) @05f1a7e0
  848. Type: function definition analyzed
  849. Visibility: prevailing_def_ironly
  850. Aux: @05d18d28
  851. References: pxCurrentTimerList/6 (read)
  852. Referring:
  853. Availability: local
  854. Function flags: count:1073741824 (estimated locally) body local optimize_size
  855. Called by: prvProcessReceivedCommands/27 (189802709 (estimated locally),1767.68 per call) prvProcessReceivedCommands/27 (200849425 (estimated locally),1870.56 per call) prvReloadTimer/20 (1073741824 (estimated locally),9.09 per call)
  856. Calls: vListInsert/44 (357019157 (estimated locally),0.33 per call) prvInsertTimerInActiveList.part.0/57 (inlined) (177167400 (estimated locally),0.16 per call)
  857. prvSampleTimeNow/25 (prvSampleTimeNow) @05f1ad20
  858. Type: function definition analyzed
  859. Visibility: prevailing_def_ironly
  860. previous sharing asm name: 73
  861. Aux: @05d18c08
  862. References: xLastTime.6551/42 (read)xLastTime.6551/42 (write)
  863. Referring:
  864. Function prvSampleTimeNow/25 is inline copy in prvTimerTask/22
  865. Availability: local
  866. Function flags: count:1004246918 (estimated locally) body local optimize_size
  867. Called by: prvProcessReceivedCommands/27 (inlined) (1004246918 (estimated locally),9352.79 per call)
  868. Calls: prvSwitchTimerLists/28 (331401483 (estimated locally),3086.42 per call) xTaskGetTickCount/41 (1004246918 (estimated locally),9352.79 per call)
  869. prvGetNextExpireTime/24 (prvGetNextExpireTime) @05f1aa80
  870. Type: function definition analyzed
  871. Visibility: prevailing_def_ironly
  872. Aux: @05d18a08
  873. References: pxCurrentTimerList/6 (read)
  874. Referring:
  875. Function prvGetNextExpireTime/24 is inline copy in prvTimerTask/22
  876. Availability: local
  877. Function flags: count:1073741824 (estimated locally) body local optimize_size
  878. Called by: prvTimerTask/22 (inlined) (1073741824 (estimated locally),10000.02 per call)
  879. Calls:
  880. prvProcessTimerOrBlockTask/23 (prvProcessTimerOrBlockTask) @05f1a700
  881. Type: function definition analyzed
  882. Visibility: prevailing_def_ironly
  883. Aux: @05d18c68
  884. References: pxOverflowTimerList/7 (read)xTimerQueue/8 (read)
  885. Referring:
  886. Function prvProcessTimerOrBlockTask/23 is inline copy in prvTimerTask/22
  887. Availability: local
  888. Function flags: count:1073741824 (estimated locally) body local optimize_size
  889. Called by: prvTimerTask/22 (inlined) (1073741824 (estimated locally),10000.02 per call)
  890. Calls: xTaskResumeAll/39 (354334802 (estimated locally),3300.01 per call) xTaskResumeAll/39 (600704865 (estimated locally),5594.51 per call) vQueueWaitForMessageRestricted/40 (600704865 (estimated locally),5594.51 per call) prvProcessExpiredTimer/21 (118702158 (estimated locally),1105.50 per call) xTaskResumeAll/39 (118702158 (estimated locally),1105.50 per call) prvSampleTimeNow/73 (inlined) (1073741824 (estimated locally),10000.02 per call) vTaskSuspendAll/38 (1073741824 (estimated locally),10000.02 per call)
  891. prvTimerTask/22 (prvTimerTask) @05f1a2a0
  892. Type: function definition analyzed
  893. Visibility: prevailing_def_ironly
  894. Address is taken.
  895. Aux: @05d18a28
  896. References:
  897. Referring: xTimerCreateTimerTask/10 (addr)
  898. Availability: available
  899. Function flags: count:107374 (estimated locally) body executed_once optimize_size
  900. Called by:
  901. Calls: prvProcessReceivedCommands/27 (inlined) (1073741824 (estimated locally),10000.02 per call) prvProcessTimerOrBlockTask/23 (inlined) (1073741824 (estimated locally),10000.02 per call) prvGetNextExpireTime/24 (inlined) (1073741824 (estimated locally),10000.02 per call)
  902. prvProcessExpiredTimer/21 (prvProcessExpiredTimer) @05f1a000
  903. Type: function definition analyzed
  904. Visibility: prevailing_def_ironly
  905. Aux: @05d18ae8
  906. References: pxCurrentTimerList/6 (read)
  907. Referring:
  908. Availability: local
  909. Function flags: count:1073741824 (estimated locally) body local optimize_size
  910. Called by: prvProcessTimerOrBlockTask/23 (118702158 (estimated locally),1105.50 per call) prvSwitchTimerLists/28 (955630223 (estimated locally),8.09 per call)
  911. Calls: prvReloadTimer/20 (354334802 (estimated locally),0.33 per call) uxListRemove/43 (1073741824 (estimated locally),1.00 per call)
  912. Indirect call(1073741824 (estimated locally),1.00 per call)
  913. prvReloadTimer/20 (prvReloadTimer) @05ec0540
  914. Type: function definition analyzed
  915. Visibility: prevailing_def_ironly
  916. Aux: @05d18a48
  917. References:
  918. Referring:
  919. Availability: local
  920. Function flags: count:118111600 (estimated locally) body local optimize_size
  921. Called by: prvProcessReceivedCommands/27 (33140147 (estimated locally),308.64 per call) prvProcessExpiredTimer/21 (354334802 (estimated locally),0.33 per call)
  922. Calls: prvInsertTimerInActiveList/26 (1073741824 (estimated locally),9.09 per call)
  923. Indirect call(955630223 (estimated locally),8.09 per call) of param:0 loaded from aggregate passed by reference at offset 256 (vptr maybe changed)
  924. pcTimerGetName/19 (pcTimerGetName) @05ec0ee0
  925. Type: function definition analyzed
  926. Visibility: externally_visible public
  927. Aux: @05d18a68
  928. References:
  929. Referring:
  930. Availability: available
  931. Function flags: count:357913 (estimated locally) body optimize_size
  932. Called by:
  933. Calls:
  934. xTimerGetExpiryTime/18 (xTimerGetExpiryTime) @05ec0b60
  935. Type: function definition analyzed
  936. Visibility: externally_visible public
  937. Aux: @05d18b28
  938. References:
  939. Referring:
  940. Availability: available
  941. Function flags: count:357913 (estimated locally) body optimize_size
  942. Called by:
  943. Calls:
  944. uxTimerGetReloadMode/17 (uxTimerGetReloadMode) @05ec07e0
  945. Type: function definition analyzed
  946. Visibility: externally_visible public
  947. Aux: @05d18ca8
  948. References:
  949. Referring:
  950. Availability: available
  951. Function flags: count:230763 (estimated locally) body optimize_size
  952. Called by:
  953. Calls: vPortExitCritical/51 (123389 (estimated locally),0.53 per call) vPortEnterCritical/47 (123389 (estimated locally),0.53 per call)
  954. vTimerSetReloadMode/16 (vTimerSetReloadMode) @05ec0460
  955. Type: function definition analyzed
  956. Visibility: externally_visible public
  957. Aux: @05d18cc8
  958. References:
  959. Referring:
  960. Availability: available
  961. Function flags: count:230763 (estimated locally) body optimize_size
  962. Called by:
  963. Calls: vPortExitCritical/51 (123389 (estimated locally),0.53 per call) vPortEnterCritical/47 (123389 (estimated locally),0.53 per call)
  964. xTimerGetPeriod/15 (xTimerGetPeriod) @05ec00e0
  965. Type: function definition analyzed
  966. Visibility: externally_visible public
  967. Aux: @05d18ce8
  968. References:
  969. Referring:
  970. Availability: available
  971. Function flags: count:357913 (estimated locally) body optimize_size
  972. Called by:
  973. Calls:
  974. xTimerGetTimerDaemonTaskHandle/14 (xTimerGetTimerDaemonTaskHandle) @05f157e0
  975. Type: function definition analyzed
  976. Visibility: externally_visible public
  977. Aux: @05d18d08
  978. References: xTimerTaskHandle/9 (read)
  979. Referring:
  980. Availability: available
  981. Function flags: count:357913 (estimated locally) body optimize_size
  982. Called by:
  983. Calls:
  984. xTimerGenericCommand/13 (xTimerGenericCommand) @05f151c0
  985. Type: function definition analyzed
  986. Visibility: externally_visible public
  987. Aux: @05d18dc8
  988. References: xTimerQueue/8 (read)xTimerQueue/8 (read)xTimerQueue/8 (read)
  989. Referring:
  990. Availability: available
  991. Function flags: count:357913 (estimated locally) body optimize_size
  992. Called by:
  993. Calls: xQueueGenericSendFromISR/56 (87689 (estimated locally),0.25 per call) xQueueGenericSend/55 (57875 (estimated locally),0.16 per call) xQueueGenericSend/55 (29814 (estimated locally),0.08 per call) xTaskGetSchedulerState/54 (87689 (estimated locally),0.25 per call)
  994. prvInitialiseNewTimer/12 (prvInitialiseNewTimer) @05f15a80
  995. Type: function
  996. Body removed by symtab_remove_unreachable_nodes
  997. Visibility: prevailing_def_ironly
  998. References:
  999. Referring:
  1000. Availability: not_available
  1001. Function flags: count:160260 (estimated locally) body optimize_size
  1002. Called by:
  1003. Calls:
  1004. xTimerCreate/11 (xTimerCreate) @05f15700
  1005. Type: function definition analyzed
  1006. Visibility: externally_visible public
  1007. Aux: @03344e50
  1008. References:
  1009. Referring:
  1010. Availability: available
  1011. Function flags: count:1073741824 (estimated locally) body optimize_size
  1012. Called by:
  1013. Calls: prvInitialiseNewTimer.constprop/72 (inlined) (574129754 (estimated locally),0.53 per call) pvPortMalloc/52 (1073741824 (estimated locally),1.00 per call)
  1014. xTimerCreateTimerTask/10 (xTimerCreateTimerTask) @05f15460
  1015. Type: function definition analyzed
  1016. Visibility: externally_visible public
  1017. Aux: @03344f10
  1018. References: xTimerQueue/8 (read)prvTimerTask/22 (addr)xTimerTaskHandle/9 (addr)
  1019. Referring:
  1020. Availability: available
  1021. Function flags: count:146556 (estimated locally) body optimize_size
  1022. Called by:
  1023. Calls: xTaskCreate/37 (78363 (estimated locally),0.53 per call) prvCheckForValidListAndQueue/29 (146556 (estimated locally),1.00 per call)
  1024. ordered call graph: reduced for nothrow
  1025. prvSampleTimeNow/73 (prvSampleTimeNow) @05e5b0e0
  1026. Type: function definition analyzed
  1027. Visibility:
  1028. next sharing asm name: 25
  1029. Aux: @05d18c48
  1030. References: xLastTime.6551/42 (read)xLastTime.6551/42 (write)
  1031. Referring:
  1032. Function prvSampleTimeNow/73 is inline copy in prvTimerTask/22
  1033. Clone of prvSampleTimeNow/25
  1034. Availability: local
  1035. Function flags: count:1073741824 (estimated locally) body local optimize_size
  1036. Called by: prvProcessTimerOrBlockTask/23 (inlined) (1073741824 (estimated locally),10000.02 per call)
  1037. Calls: xTaskGetTickCount/41 (1073741824 (estimated locally),10000.02 per call) prvSwitchTimerLists/28 (354334802 (estimated locally),3300.01 per call)
  1038. prvInitialiseNewTimer.constprop.0/72 (prvInitialiseNewTimer.constprop) @05e55d20
  1039. Type: function definition analyzed
  1040. Visibility:
  1041. Aux: @05d18d88
  1042. References:
  1043. Referring:
  1044. Function prvInitialiseNewTimer.constprop/72 is inline copy in xTimerCreate/11
  1045. Clone of prvInitialiseNewTimer/12
  1046. Availability: local
  1047. Function flags: count:574129754 (estimated locally) local optimize_size
  1048. Called by: xTimerCreate/11 (inlined) (574129754 (estimated locally),0.53 per call)
  1049. Calls: prvCheckForValidListAndQueue/29 (189463535 (estimated locally),0.18 per call) vListInitialiseItem/53 (189463535 (estimated locally),0.18 per call)
  1050. prvInsertTimerInActiveList.part.0/57 (prvInsertTimerInActiveList.part.0) @05e55a80
  1051. Type: function definition analyzed
  1052. Visibility: prevailing_def_ironly artificial
  1053. Aux: @05d18ba8
  1054. References: pxOverflowTimerList/7 (read)
  1055. Referring:
  1056. Function prvInsertTimerInActiveList.part.0/57 is inline copy in prvInsertTimerInActiveList/26
  1057. Availability: local
  1058. Function flags: count:177167400 (estimated locally) first_run:1 body local split_part optimize_size
  1059. Called by: prvInsertTimerInActiveList/26 (inlined) (177167400 (estimated locally),0.16 per call)
  1060. Calls: vListInsert/44 (177167400 (estimated locally),0.16 per call)
  1061. vTimerSetTimerNumber/36 (vTimerSetTimerNumber) @05f2aa80
  1062. Type: function definition analyzed
  1063. Visibility: externally_visible public
  1064. Aux: @05d18da8
  1065. References:
  1066. Referring:
  1067. Availability: available
  1068. Function flags: count:1073741824 (estimated locally) body optimize_size
  1069. Called by:
  1070. Calls:
  1071. uxTimerGetTimerNumber/35 (uxTimerGetTimerNumber) @05f2a7e0
  1072. Type: function definition analyzed
  1073. Visibility: externally_visible public
  1074. Aux: @05d18aa8
  1075. References:
  1076. Referring:
  1077. Availability: available
  1078. Function flags: count:1073741824 (estimated locally) body optimize_size
  1079. Called by:
  1080. Calls:
  1081. xTimerPendFunctionCall/34 (xTimerPendFunctionCall) @05f2a540
  1082. Type: function definition analyzed
  1083. Visibility: externally_visible public
  1084. Aux: @05d189e8
  1085. References: xTimerQueue/8 (read)
  1086. Referring:
  1087. Availability: available
  1088. Function flags: count:230763 (estimated locally) body optimize_size
  1089. Called by:
  1090. Calls: xQueueGenericSend/55 (123389 (estimated locally),0.53 per call)
  1091. xTimerPendFunctionCallFromISR/33 (xTimerPendFunctionCallFromISR) @05f2a0e0
  1092. Type: function definition analyzed
  1093. Visibility: externally_visible public
  1094. Aux: @05d18c28
  1095. References: xTimerQueue/8 (read)
  1096. Referring:
  1097. Availability: available
  1098. Function flags: count:1073741824 (estimated locally) body optimize_size
  1099. Called by:
  1100. Calls: xQueueGenericSendFromISR/56 (1073741824 (estimated locally),1.00 per call)
  1101. vTimerSetTimerID/32 (vTimerSetTimerID) @05f268c0
  1102. Type: function definition analyzed
  1103. Visibility: externally_visible public
  1104. Aux: @05d18d48
  1105. References:
  1106. Referring:
  1107. Availability: available
  1108. Function flags: count:230763 (estimated locally) body optimize_size
  1109. Called by:
  1110. Calls: vPortExitCritical/51 (123389 (estimated locally),0.53 per call) vPortEnterCritical/47 (123389 (estimated locally),0.53 per call)
  1111. pvTimerGetTimerID/31 (pvTimerGetTimerID) @05f26ee0
  1112. Type: function definition analyzed
  1113. Visibility: externally_visible public
  1114. Aux: @05d189c8
  1115. References:
  1116. Referring:
  1117. Availability: available
  1118. Function flags: count:230763 (estimated locally) body optimize_size
  1119. Called by:
  1120. Calls: vPortExitCritical/51 (123389 (estimated locally),0.53 per call) vPortEnterCritical/47 (123389 (estimated locally),0.53 per call)
  1121. xTimerIsTimerActive/30 (xTimerIsTimerActive) @05f26b60
  1122. Type: function definition analyzed
  1123. Visibility: externally_visible public
  1124. Aux: @05d18bc8
  1125. References:
  1126. Referring:
  1127. Availability: available
  1128. Function flags: count:230763 (estimated locally) body optimize_size
  1129. Called by:
  1130. Calls: vPortExitCritical/51 (123389 (estimated locally),0.53 per call) vPortEnterCritical/47 (123389 (estimated locally),0.53 per call)
  1131. prvCheckForValidListAndQueue/29 (prvCheckForValidListAndQueue) @05f267e0
  1132. Type: function definition analyzed
  1133. Visibility: prevailing_def_ironly
  1134. Aux: @05d18ac8
  1135. References: xTimerQueue/8 (read)xActiveTimerList1/4 (addr)xActiveTimerList2/5 (addr)pxCurrentTimerList/6 (write)xActiveTimerList1/4 (addr)pxOverflowTimerList/7 (write)xActiveTimerList2/5 (addr)xTimerQueue/8 (write)
  1136. Referring:
  1137. Availability: local
  1138. Function flags: count:1073741824 (estimated locally) body local optimize_size
  1139. Called by: prvInitialiseNewTimer.constprop/72 (189463535 (estimated locally),0.18 per call) xTimerCreateTimerTask/10 (146556 (estimated locally),1.00 per call)
  1140. Calls: vPortExitCritical/51 (1073741824 (estimated locally),1.00 per call) vQueueAddToRegistry/50 (100070816 (estimated locally),0.09 per call) xQueueGenericCreate/49 (187153200 (estimated locally),0.17 per call) vListInitialise/48 (187153200 (estimated locally),0.17 per call) vListInitialise/48 (187153200 (estimated locally),0.17 per call) vPortEnterCritical/47 (1073741824 (estimated locally),1.00 per call)
  1141. prvSwitchTimerLists/28 (prvSwitchTimerLists) @05f26460
  1142. Type: function definition analyzed
  1143. Visibility: prevailing_def_ironly
  1144. Aux: @05d18b08
  1145. References: pxCurrentTimerList/6 (read)pxOverflowTimerList/7 (read)pxCurrentTimerList/6 (write)pxOverflowTimerList/7 (write)
  1146. Referring:
  1147. Availability: local
  1148. Function flags: count:118111600 (estimated locally) body local optimize_size
  1149. Called by: prvSampleTimeNow/73 (354334802 (estimated locally),3300.01 per call) prvSampleTimeNow/25 (331401483 (estimated locally),3086.42 per call)
  1150. Calls: prvProcessExpiredTimer/21 (955630223 (estimated locally),8.09 per call)
  1151. prvProcessReceivedCommands/27 (prvProcessReceivedCommands) @05f260e0
  1152. Type: function definition analyzed
  1153. Visibility: prevailing_def_ironly
  1154. Aux: @05d18be8
  1155. References: xTimerQueue/8 (read)
  1156. Referring:
  1157. Function prvProcessReceivedCommands/27 is inline copy in prvTimerTask/22
  1158. Availability: local
  1159. Function flags: count:1073741824 (estimated locally) body local optimize_size
  1160. Called by: prvTimerTask/22 (inlined) (1073741824 (estimated locally),10000.02 per call)
  1161. Calls: xQueueReceive/46 (19321729474 (estimated locally),179947.93 per call) vPortFree/45 (66280295 (estimated locally),617.28 per call) prvInsertTimerInActiveList/26 (189802709 (estimated locally),1767.68 per call) prvReloadTimer/20 (33140147 (estimated locally),308.64 per call) prvInsertTimerInActiveList/26 (200849425 (estimated locally),1870.56 per call) prvSampleTimeNow/25 (inlined) (1004246918 (estimated locally),9352.79 per call) uxListRemove/43 (536970861 (estimated locally),5000.94 per call)
  1162. Indirect call(100424661 (estimated locally),935.28 per call)
  1163. Indirect call(7486204063 (estimated locally),69720.83 per call)
  1164. prvInsertTimerInActiveList/26 (prvInsertTimerInActiveList) @05f1a7e0
  1165. Type: function definition analyzed
  1166. Visibility: prevailing_def_ironly
  1167. Aux: @05d18d28
  1168. References: pxCurrentTimerList/6 (read)
  1169. Referring:
  1170. Availability: local
  1171. Function flags: count:1073741824 (estimated locally) body local optimize_size
  1172. Called by: prvProcessReceivedCommands/27 (189802709 (estimated locally),1767.68 per call) prvProcessReceivedCommands/27 (200849425 (estimated locally),1870.56 per call) prvReloadTimer/20 (1073741824 (estimated locally),9.09 per call)
  1173. Calls: vListInsert/44 (357019157 (estimated locally),0.33 per call) prvInsertTimerInActiveList.part.0/57 (inlined) (177167400 (estimated locally),0.16 per call)
  1174. prvSampleTimeNow/25 (prvSampleTimeNow) @05f1ad20
  1175. Type: function definition analyzed
  1176. Visibility: prevailing_def_ironly
  1177. previous sharing asm name: 73
  1178. Aux: @05d18c08
  1179. References: xLastTime.6551/42 (read)xLastTime.6551/42 (write)
  1180. Referring:
  1181. Function prvSampleTimeNow/25 is inline copy in prvTimerTask/22
  1182. Availability: local
  1183. Function flags: count:1004246918 (estimated locally) body local optimize_size
  1184. Called by: prvProcessReceivedCommands/27 (inlined) (1004246918 (estimated locally),9352.79 per call)
  1185. Calls: prvSwitchTimerLists/28 (331401483 (estimated locally),3086.42 per call) xTaskGetTickCount/41 (1004246918 (estimated locally),9352.79 per call)
  1186. prvGetNextExpireTime/24 (prvGetNextExpireTime) @05f1aa80
  1187. Type: function definition analyzed
  1188. Visibility: prevailing_def_ironly
  1189. Aux: @05d18a08
  1190. References: pxCurrentTimerList/6 (read)
  1191. Referring:
  1192. Function prvGetNextExpireTime/24 is inline copy in prvTimerTask/22
  1193. Availability: local
  1194. Function flags: count:1073741824 (estimated locally) body local optimize_size
  1195. Called by: prvTimerTask/22 (inlined) (1073741824 (estimated locally),10000.02 per call)
  1196. Calls:
  1197. prvProcessTimerOrBlockTask/23 (prvProcessTimerOrBlockTask) @05f1a700
  1198. Type: function definition analyzed
  1199. Visibility: prevailing_def_ironly
  1200. Aux: @05d18c68
  1201. References: pxOverflowTimerList/7 (read)xTimerQueue/8 (read)
  1202. Referring:
  1203. Function prvProcessTimerOrBlockTask/23 is inline copy in prvTimerTask/22
  1204. Availability: local
  1205. Function flags: count:1073741824 (estimated locally) body local optimize_size
  1206. Called by: prvTimerTask/22 (inlined) (1073741824 (estimated locally),10000.02 per call)
  1207. Calls: xTaskResumeAll/39 (354334802 (estimated locally),3300.01 per call) xTaskResumeAll/39 (600704865 (estimated locally),5594.51 per call) vQueueWaitForMessageRestricted/40 (600704865 (estimated locally),5594.51 per call) prvProcessExpiredTimer/21 (118702158 (estimated locally),1105.50 per call) xTaskResumeAll/39 (118702158 (estimated locally),1105.50 per call) prvSampleTimeNow/73 (inlined) (1073741824 (estimated locally),10000.02 per call) vTaskSuspendAll/38 (1073741824 (estimated locally),10000.02 per call)
  1208. prvTimerTask/22 (prvTimerTask) @05f1a2a0
  1209. Type: function definition analyzed
  1210. Visibility: prevailing_def_ironly
  1211. Address is taken.
  1212. Aux: @05d18a28
  1213. References:
  1214. Referring: xTimerCreateTimerTask/10 (addr)
  1215. Availability: available
  1216. Function flags: count:107374 (estimated locally) body executed_once optimize_size
  1217. Called by:
  1218. Calls: prvProcessReceivedCommands/27 (inlined) (1073741824 (estimated locally),10000.02 per call) prvProcessTimerOrBlockTask/23 (inlined) (1073741824 (estimated locally),10000.02 per call) prvGetNextExpireTime/24 (inlined) (1073741824 (estimated locally),10000.02 per call)
  1219. prvProcessExpiredTimer/21 (prvProcessExpiredTimer) @05f1a000
  1220. Type: function definition analyzed
  1221. Visibility: prevailing_def_ironly
  1222. Aux: @05d18ae8
  1223. References: pxCurrentTimerList/6 (read)
  1224. Referring:
  1225. Availability: local
  1226. Function flags: count:1073741824 (estimated locally) body local optimize_size
  1227. Called by: prvProcessTimerOrBlockTask/23 (118702158 (estimated locally),1105.50 per call) prvSwitchTimerLists/28 (955630223 (estimated locally),8.09 per call)
  1228. Calls: prvReloadTimer/20 (354334802 (estimated locally),0.33 per call) uxListRemove/43 (1073741824 (estimated locally),1.00 per call)
  1229. Indirect call(1073741824 (estimated locally),1.00 per call)
  1230. prvReloadTimer/20 (prvReloadTimer) @05ec0540
  1231. Type: function definition analyzed
  1232. Visibility: prevailing_def_ironly
  1233. Aux: @05d18a48
  1234. References:
  1235. Referring:
  1236. Availability: local
  1237. Function flags: count:118111600 (estimated locally) body local optimize_size
  1238. Called by: prvProcessReceivedCommands/27 (33140147 (estimated locally),308.64 per call) prvProcessExpiredTimer/21 (354334802 (estimated locally),0.33 per call)
  1239. Calls: prvInsertTimerInActiveList/26 (1073741824 (estimated locally),9.09 per call)
  1240. Indirect call(955630223 (estimated locally),8.09 per call) of param:0 loaded from aggregate passed by reference at offset 256 (vptr maybe changed)
  1241. pcTimerGetName/19 (pcTimerGetName) @05ec0ee0
  1242. Type: function definition analyzed
  1243. Visibility: externally_visible public
  1244. Aux: @05d18a68
  1245. References:
  1246. Referring:
  1247. Availability: available
  1248. Function flags: count:357913 (estimated locally) body optimize_size
  1249. Called by:
  1250. Calls:
  1251. xTimerGetExpiryTime/18 (xTimerGetExpiryTime) @05ec0b60
  1252. Type: function definition analyzed
  1253. Visibility: externally_visible public
  1254. Aux: @05d18b28
  1255. References:
  1256. Referring:
  1257. Availability: available
  1258. Function flags: count:357913 (estimated locally) body optimize_size
  1259. Called by:
  1260. Calls:
  1261. uxTimerGetReloadMode/17 (uxTimerGetReloadMode) @05ec07e0
  1262. Type: function definition analyzed
  1263. Visibility: externally_visible public
  1264. Aux: @05d18ca8
  1265. References:
  1266. Referring:
  1267. Availability: available
  1268. Function flags: count:230763 (estimated locally) body optimize_size
  1269. Called by:
  1270. Calls: vPortExitCritical/51 (123389 (estimated locally),0.53 per call) vPortEnterCritical/47 (123389 (estimated locally),0.53 per call)
  1271. vTimerSetReloadMode/16 (vTimerSetReloadMode) @05ec0460
  1272. Type: function definition analyzed
  1273. Visibility: externally_visible public
  1274. Aux: @05d18cc8
  1275. References:
  1276. Referring:
  1277. Availability: available
  1278. Function flags: count:230763 (estimated locally) body optimize_size
  1279. Called by:
  1280. Calls: vPortExitCritical/51 (123389 (estimated locally),0.53 per call) vPortEnterCritical/47 (123389 (estimated locally),0.53 per call)
  1281. xTimerGetPeriod/15 (xTimerGetPeriod) @05ec00e0
  1282. Type: function definition analyzed
  1283. Visibility: externally_visible public
  1284. Aux: @05d18ce8
  1285. References:
  1286. Referring:
  1287. Availability: available
  1288. Function flags: count:357913 (estimated locally) body optimize_size
  1289. Called by:
  1290. Calls:
  1291. xTimerGetTimerDaemonTaskHandle/14 (xTimerGetTimerDaemonTaskHandle) @05f157e0
  1292. Type: function definition analyzed
  1293. Visibility: externally_visible public
  1294. Aux: @05d18d08
  1295. References: xTimerTaskHandle/9 (read)
  1296. Referring:
  1297. Availability: available
  1298. Function flags: count:357913 (estimated locally) body optimize_size
  1299. Called by:
  1300. Calls:
  1301. xTimerGenericCommand/13 (xTimerGenericCommand) @05f151c0
  1302. Type: function definition analyzed
  1303. Visibility: externally_visible public
  1304. Aux: @05d18dc8
  1305. References: xTimerQueue/8 (read)xTimerQueue/8 (read)xTimerQueue/8 (read)
  1306. Referring:
  1307. Availability: available
  1308. Function flags: count:357913 (estimated locally) body optimize_size
  1309. Called by:
  1310. Calls: xQueueGenericSendFromISR/56 (87689 (estimated locally),0.25 per call) xQueueGenericSend/55 (57875 (estimated locally),0.16 per call) xQueueGenericSend/55 (29814 (estimated locally),0.08 per call) xTaskGetSchedulerState/54 (87689 (estimated locally),0.25 per call)
  1311. xTimerCreate/11 (xTimerCreate) @05f15700
  1312. Type: function definition analyzed
  1313. Visibility: externally_visible public
  1314. Aux: @03344e50
  1315. References:
  1316. Referring:
  1317. Availability: available
  1318. Function flags: count:1073741824 (estimated locally) body optimize_size
  1319. Called by:
  1320. Calls: prvInitialiseNewTimer.constprop/72 (inlined) (574129754 (estimated locally),0.53 per call) pvPortMalloc/52 (1073741824 (estimated locally),1.00 per call)
  1321. xTimerCreateTimerTask/10 (xTimerCreateTimerTask) @05f15460
  1322. Type: function definition analyzed
  1323. Visibility: externally_visible public
  1324. Aux: @03344f10
  1325. References: xTimerQueue/8 (read)prvTimerTask/22 (addr)xTimerTaskHandle/9 (addr)
  1326. Referring:
  1327. Availability: available
  1328. Function flags: count:146556 (estimated locally) body optimize_size
  1329. Called by:
  1330. Calls: xTaskCreate/37 (78363 (estimated locally),0.53 per call) prvCheckForValidListAndQueue/29 (146556 (estimated locally),1.00 per call)
  1331. MALLOC LATTICE Initial:
  1332. prvSampleTimeNow: malloc_bottom
  1333. prvInitialiseNewTimer.constprop: malloc_bottom
  1334. prvInsertTimerInActiveList.part.0: malloc_bottom
  1335. vTimerSetTimerNumber: malloc_bottom
  1336. uxTimerGetTimerNumber: malloc_bottom
  1337. xTimerPendFunctionCall: malloc_bottom
  1338. xTimerPendFunctionCallFromISR: malloc_bottom
  1339. vTimerSetTimerID: malloc_bottom
  1340. pvTimerGetTimerID: malloc_bottom
  1341. xTimerIsTimerActive: malloc_bottom
  1342. prvCheckForValidListAndQueue: malloc_bottom
  1343. prvSwitchTimerLists: malloc_bottom
  1344. prvProcessReceivedCommands: malloc_bottom
  1345. prvInsertTimerInActiveList: malloc_bottom
  1346. prvSampleTimeNow: malloc_bottom
  1347. prvGetNextExpireTime: malloc_bottom
  1348. prvProcessTimerOrBlockTask: malloc_bottom
  1349. prvTimerTask: malloc_bottom
  1350. prvProcessExpiredTimer: malloc_bottom
  1351. prvReloadTimer: malloc_bottom
  1352. pcTimerGetName: malloc_bottom
  1353. xTimerGetExpiryTime: malloc_bottom
  1354. uxTimerGetReloadMode: malloc_bottom
  1355. vTimerSetReloadMode: malloc_bottom
  1356. xTimerGetPeriod: malloc_bottom
  1357. xTimerGetTimerDaemonTaskHandle: malloc_bottom
  1358. xTimerGenericCommand: malloc_bottom
  1359. prvInitialiseNewTimer: malloc_bottom
  1360. xTimerCreate: malloc_bottom
  1361. xTimerCreateTimerTask: malloc_bottom
  1362. MALLOC LATTICE after propagation:
  1363. prvSampleTimeNow: malloc_bottom
  1364. prvInitialiseNewTimer.constprop: malloc_bottom
  1365. prvInsertTimerInActiveList.part.0: malloc_bottom
  1366. vTimerSetTimerNumber: malloc_bottom
  1367. uxTimerGetTimerNumber: malloc_bottom
  1368. xTimerPendFunctionCall: malloc_bottom
  1369. xTimerPendFunctionCallFromISR: malloc_bottom
  1370. vTimerSetTimerID: malloc_bottom
  1371. pvTimerGetTimerID: malloc_bottom
  1372. xTimerIsTimerActive: malloc_bottom
  1373. prvCheckForValidListAndQueue: malloc_bottom
  1374. prvSwitchTimerLists: malloc_bottom
  1375. prvProcessReceivedCommands: malloc_bottom
  1376. prvInsertTimerInActiveList: malloc_bottom
  1377. prvSampleTimeNow: malloc_bottom
  1378. prvGetNextExpireTime: malloc_bottom
  1379. prvProcessTimerOrBlockTask: malloc_bottom
  1380. prvTimerTask: malloc_bottom
  1381. prvProcessExpiredTimer: malloc_bottom
  1382. prvReloadTimer: malloc_bottom
  1383. pcTimerGetName: malloc_bottom
  1384. xTimerGetExpiryTime: malloc_bottom
  1385. uxTimerGetReloadMode: malloc_bottom
  1386. vTimerSetReloadMode: malloc_bottom
  1387. xTimerGetPeriod: malloc_bottom
  1388. xTimerGetTimerDaemonTaskHandle: malloc_bottom
  1389. xTimerGenericCommand: malloc_bottom
  1390. prvInitialiseNewTimer: malloc_bottom
  1391. xTimerCreate: malloc_bottom
  1392. xTimerCreateTimerTask: malloc_bottom
  1393. callgraph:
  1394. prvSampleTimeNow/73 (prvSampleTimeNow) @05e5b0e0
  1395. Type: function definition analyzed
  1396. Visibility:
  1397. next sharing asm name: 25
  1398. Aux: @03344fd0
  1399. References: xLastTime.6551/42 (read)xLastTime.6551/42 (write)
  1400. Referring:
  1401. Function prvSampleTimeNow/73 is inline copy in prvTimerTask/22
  1402. Clone of prvSampleTimeNow/25
  1403. Availability: local
  1404. Function flags: count:1073741824 (estimated locally) body local optimize_size
  1405. Called by: prvProcessTimerOrBlockTask/23 (inlined) (1073741824 (estimated locally),10000.02 per call)
  1406. Calls: xTaskGetTickCount/41 (1073741824 (estimated locally),10000.02 per call) prvSwitchTimerLists/28 (354334802 (estimated locally),3300.01 per call)
  1407. prvInitialiseNewTimer.constprop.0/72 (prvInitialiseNewTimer.constprop) @05e55d20
  1408. Type: function definition analyzed
  1409. Visibility:
  1410. Aux: @03344ed0
  1411. References:
  1412. Referring:
  1413. Function prvInitialiseNewTimer.constprop/72 is inline copy in xTimerCreate/11
  1414. Clone of prvInitialiseNewTimer/12
  1415. Availability: local
  1416. Function flags: count:574129754 (estimated locally) local optimize_size
  1417. Called by: xTimerCreate/11 (inlined) (574129754 (estimated locally),0.53 per call)
  1418. Calls: prvCheckForValidListAndQueue/29 (189463535 (estimated locally),0.18 per call) vListInitialiseItem/53 (189463535 (estimated locally),0.18 per call)
  1419. prvInsertTimerInActiveList.part.0/57 (prvInsertTimerInActiveList.part.0) @05e55a80
  1420. Type: function definition analyzed
  1421. Visibility: prevailing_def_ironly artificial
  1422. Aux: @03344e90
  1423. References: pxOverflowTimerList/7 (read)
  1424. Referring:
  1425. Function prvInsertTimerInActiveList.part.0/57 is inline copy in prvInsertTimerInActiveList/26
  1426. Availability: local
  1427. Function flags: count:177167400 (estimated locally) first_run:1 body local split_part optimize_size
  1428. Called by: prvInsertTimerInActiveList/26 (inlined) (177167400 (estimated locally),0.16 per call)
  1429. Calls: vListInsert/44 (177167400 (estimated locally),0.16 per call)
  1430. xQueueGenericSendFromISR/56 (xQueueGenericSendFromISR) @05f5cc40
  1431. Type: function
  1432. Visibility: external public
  1433. References:
  1434. Referring:
  1435. Availability: not_available
  1436. Function flags: optimize_size
  1437. Called by: xTimerPendFunctionCallFromISR/33 (1073741824 (estimated locally),1.00 per call) xTimerGenericCommand/13 (87689 (estimated locally),0.25 per call)
  1438. Calls:
  1439. xQueueGenericSend/55 (xQueueGenericSend) @05f5cb60
  1440. Type: function
  1441. Visibility: external public
  1442. References:
  1443. Referring:
  1444. Availability: not_available
  1445. Function flags: optimize_size
  1446. Called by: xTimerPendFunctionCall/34 (123389 (estimated locally),0.53 per call) xTimerGenericCommand/13 (57875 (estimated locally),0.16 per call) xTimerGenericCommand/13 (29814 (estimated locally),0.08 per call)
  1447. Calls:
  1448. xTaskGetSchedulerState/54 (xTaskGetSchedulerState) @05f5ca80
  1449. Type: function
  1450. Visibility: external public
  1451. References:
  1452. Referring:
  1453. Availability: not_available
  1454. Function flags: optimize_size
  1455. Called by: xTimerGenericCommand/13 (87689 (estimated locally),0.25 per call)
  1456. Calls:
  1457. vListInitialiseItem/53 (vListInitialiseItem) @05f5c8c0
  1458. Type: function
  1459. Visibility: external public
  1460. References:
  1461. Referring:
  1462. Availability: not_available
  1463. Function flags: optimize_size
  1464. Called by: prvInitialiseNewTimer.constprop/72 (189463535 (estimated locally),0.18 per call)
  1465. Calls:
  1466. pvPortMalloc/52 (pvPortMalloc) @05f5c700
  1467. Type: function
  1468. Visibility: external public
  1469. References:
  1470. Referring:
  1471. Availability: not_available
  1472. Function flags: optimize_size
  1473. Called by: xTimerCreate/11 (1073741824 (estimated locally),1.00 per call)
  1474. Calls:
  1475. vPortExitCritical/51 (vPortExitCritical) @05f5c460
  1476. Type: function
  1477. Visibility: external public
  1478. References:
  1479. Referring:
  1480. Availability: not_available
  1481. Function flags: optimize_size
  1482. Called by: vTimerSetTimerID/32 (123389 (estimated locally),0.53 per call) pvTimerGetTimerID/31 (123389 (estimated locally),0.53 per call) xTimerIsTimerActive/30 (123389 (estimated locally),0.53 per call) uxTimerGetReloadMode/17 (123389 (estimated locally),0.53 per call) vTimerSetReloadMode/16 (123389 (estimated locally),0.53 per call) prvCheckForValidListAndQueue/29 (1073741824 (estimated locally),1.00 per call)
  1483. Calls:
  1484. vQueueAddToRegistry/50 (vQueueAddToRegistry) @05f5c380
  1485. Type: function
  1486. Visibility: external public
  1487. References:
  1488. Referring:
  1489. Availability: not_available
  1490. Function flags: optimize_size
  1491. Called by: prvCheckForValidListAndQueue/29 (100070816 (estimated locally),0.09 per call)
  1492. Calls:
  1493. xQueueGenericCreate/49 (xQueueGenericCreate) @05f5c2a0
  1494. Type: function
  1495. Visibility: external public
  1496. References:
  1497. Referring:
  1498. Availability: not_available
  1499. Function flags: optimize_size
  1500. Called by: prvCheckForValidListAndQueue/29 (187153200 (estimated locally),0.17 per call)
  1501. Calls:
  1502. vListInitialise/48 (vListInitialise) @05f5c0e0
  1503. Type: function
  1504. Visibility: external public
  1505. References:
  1506. Referring:
  1507. Availability: not_available
  1508. Function flags: optimize_size
  1509. Called by: prvCheckForValidListAndQueue/29 (187153200 (estimated locally),0.17 per call) prvCheckForValidListAndQueue/29 (187153200 (estimated locally),0.17 per call)
  1510. Calls:
  1511. vPortEnterCritical/47 (vPortEnterCritical) @05f5c000
  1512. Type: function
  1513. Visibility: external public
  1514. References:
  1515. Referring:
  1516. Availability: not_available
  1517. Function flags: optimize_size
  1518. Called by: vTimerSetTimerID/32 (123389 (estimated locally),0.53 per call) pvTimerGetTimerID/31 (123389 (estimated locally),0.53 per call) xTimerIsTimerActive/30 (123389 (estimated locally),0.53 per call) uxTimerGetReloadMode/17 (123389 (estimated locally),0.53 per call) vTimerSetReloadMode/16 (123389 (estimated locally),0.53 per call) prvCheckForValidListAndQueue/29 (1073741824 (estimated locally),1.00 per call)
  1519. Calls:
  1520. xQueueReceive/46 (xQueueReceive) @05f36e00
  1521. Type: function
  1522. Visibility: external public
  1523. References:
  1524. Referring:
  1525. Availability: not_available
  1526. Function flags: optimize_size
  1527. Called by: prvProcessReceivedCommands/27 (19321729474 (estimated locally),179947.93 per call)
  1528. Calls:
  1529. vPortFree/45 (vPortFree) @05f36d20
  1530. Type: function
  1531. Visibility: external public
  1532. References:
  1533. Referring:
  1534. Availability: not_available
  1535. Function flags: optimize_size
  1536. Called by: prvProcessReceivedCommands/27 (66280295 (estimated locally),617.28 per call)
  1537. Calls:
  1538. vListInsert/44 (vListInsert) @05f369a0
  1539. Type: function
  1540. Visibility: external public
  1541. References:
  1542. Referring:
  1543. Availability: not_available
  1544. Function flags: optimize_size
  1545. Called by: prvInsertTimerInActiveList/26 (357019157 (estimated locally),0.33 per call) prvInsertTimerInActiveList.part.0/57 (177167400 (estimated locally),0.16 per call)
  1546. Calls:
  1547. uxListRemove/43 (uxListRemove) @05f36700
  1548. Type: function
  1549. Visibility: external public
  1550. References:
  1551. Referring:
  1552. Availability: not_available
  1553. Function flags: optimize_size
  1554. Called by: prvProcessReceivedCommands/27 (536970861 (estimated locally),5000.94 per call) prvProcessExpiredTimer/21 (1073741824 (estimated locally),1.00 per call)
  1555. Calls:
  1556. xTaskGetTickCount/41 (xTaskGetTickCount) @05f36380
  1557. Type: function
  1558. Visibility: external public
  1559. References:
  1560. Referring:
  1561. Availability: not_available
  1562. Function flags: optimize_size
  1563. Called by: prvSampleTimeNow/73 (1073741824 (estimated locally),10000.02 per call) prvSampleTimeNow/25 (1004246918 (estimated locally),9352.79 per call)
  1564. Calls:
  1565. vQueueWaitForMessageRestricted/40 (vQueueWaitForMessageRestricted) @05f361c0
  1566. Type: function
  1567. Visibility: external public
  1568. References:
  1569. Referring:
  1570. Availability: not_available
  1571. Function flags: optimize_size
  1572. Called by: prvProcessTimerOrBlockTask/23 (600704865 (estimated locally),5594.51 per call)
  1573. Calls:
  1574. xTaskResumeAll/39 (xTaskResumeAll) @05f360e0
  1575. Type: function
  1576. Visibility: external public
  1577. References:
  1578. Referring:
  1579. Availability: not_available
  1580. Function flags: optimize_size
  1581. Called by: prvProcessTimerOrBlockTask/23 (354334802 (estimated locally),3300.01 per call) prvProcessTimerOrBlockTask/23 (600704865 (estimated locally),5594.51 per call) prvProcessTimerOrBlockTask/23 (118702158 (estimated locally),1105.50 per call)
  1582. Calls:
  1583. vTaskSuspendAll/38 (vTaskSuspendAll) @05f36000
  1584. Type: function
  1585. Visibility: external public
  1586. References:
  1587. Referring:
  1588. Availability: not_available
  1589. Function flags: optimize_size
  1590. Called by: prvProcessTimerOrBlockTask/23 (1073741824 (estimated locally),10000.02 per call)
  1591. Calls:
  1592. xTaskCreate/37 (xTaskCreate) @05f2aee0
  1593. Type: function
  1594. Visibility: external public
  1595. References:
  1596. Referring:
  1597. Availability: not_available
  1598. Function flags: optimize_size
  1599. Called by: xTimerCreateTimerTask/10 (78363 (estimated locally),0.53 per call)
  1600. Calls:
  1601. vTimerSetTimerNumber/36 (vTimerSetTimerNumber) @05f2aa80
  1602. Type: function definition analyzed
  1603. Visibility: externally_visible public
  1604. Aux: @03344eb0
  1605. References:
  1606. Referring:
  1607. Availability: available
  1608. Function flags: count:1073741824 (estimated locally) body optimize_size
  1609. Called by:
  1610. Calls:
  1611. uxTimerGetTimerNumber/35 (uxTimerGetTimerNumber) @05f2a7e0
  1612. Type: function definition analyzed
  1613. Visibility: externally_visible public
  1614. Aux: @03345170
  1615. References:
  1616. Referring:
  1617. Availability: available
  1618. Function flags: count:1073741824 (estimated locally) body optimize_size
  1619. Called by:
  1620. Calls:
  1621. xTimerPendFunctionCall/34 (xTimerPendFunctionCall) @05f2a540
  1622. Type: function definition analyzed
  1623. Visibility: externally_visible public
  1624. Aux: @03345110
  1625. References: xTimerQueue/8 (read)
  1626. Referring:
  1627. Availability: available
  1628. Function flags: count:230763 (estimated locally) body optimize_size
  1629. Called by:
  1630. Calls: xQueueGenericSend/55 (123389 (estimated locally),0.53 per call)
  1631. xTimerPendFunctionCallFromISR/33 (xTimerPendFunctionCallFromISR) @05f2a0e0
  1632. Type: function definition analyzed
  1633. Visibility: externally_visible public
  1634. Aux: @03345050
  1635. References: xTimerQueue/8 (read)
  1636. Referring:
  1637. Availability: available
  1638. Function flags: count:1073741824 (estimated locally) body optimize_size
  1639. Called by:
  1640. Calls: xQueueGenericSendFromISR/56 (1073741824 (estimated locally),1.00 per call)
  1641. vTimerSetTimerID/32 (vTimerSetTimerID) @05f268c0
  1642. Type: function definition analyzed
  1643. Visibility: externally_visible public
  1644. Aux: @03345010
  1645. References:
  1646. Referring:
  1647. Availability: available
  1648. Function flags: count:230763 (estimated locally) body optimize_size
  1649. Called by:
  1650. Calls: vPortExitCritical/51 (123389 (estimated locally),0.53 per call) vPortEnterCritical/47 (123389 (estimated locally),0.53 per call)
  1651. pvTimerGetTimerID/31 (pvTimerGetTimerID) @05f26ee0
  1652. Type: function definition analyzed
  1653. Visibility: externally_visible public
  1654. Aux: @03344e10
  1655. References:
  1656. Referring:
  1657. Availability: available
  1658. Function flags: count:230763 (estimated locally) body optimize_size
  1659. Called by:
  1660. Calls: vPortExitCritical/51 (123389 (estimated locally),0.53 per call) vPortEnterCritical/47 (123389 (estimated locally),0.53 per call)
  1661. xTimerIsTimerActive/30 (xTimerIsTimerActive) @05f26b60
  1662. Type: function definition analyzed
  1663. Visibility: externally_visible public
  1664. Aux: @03344f70
  1665. References:
  1666. Referring:
  1667. Availability: available
  1668. Function flags: count:230763 (estimated locally) body optimize_size
  1669. Called by:
  1670. Calls: vPortExitCritical/51 (123389 (estimated locally),0.53 per call) vPortEnterCritical/47 (123389 (estimated locally),0.53 per call)
  1671. prvCheckForValidListAndQueue/29 (prvCheckForValidListAndQueue) @05f267e0
  1672. Type: function definition analyzed
  1673. Visibility: prevailing_def_ironly
  1674. Aux: @03344f10
  1675. References: xTimerQueue/8 (read)xActiveTimerList1/4 (addr)xActiveTimerList2/5 (addr)pxCurrentTimerList/6 (write)xActiveTimerList1/4 (addr)pxOverflowTimerList/7 (write)xActiveTimerList2/5 (addr)xTimerQueue/8 (write)
  1676. Referring:
  1677. Availability: local
  1678. Function flags: count:1073741824 (estimated locally) body local optimize_size
  1679. Called by: prvInitialiseNewTimer.constprop/72 (189463535 (estimated locally),0.18 per call) xTimerCreateTimerTask/10 (146556 (estimated locally),1.00 per call)
  1680. Calls: vPortExitCritical/51 (1073741824 (estimated locally),1.00 per call) vQueueAddToRegistry/50 (100070816 (estimated locally),0.09 per call) xQueueGenericCreate/49 (187153200 (estimated locally),0.17 per call) vListInitialise/48 (187153200 (estimated locally),0.17 per call) vListInitialise/48 (187153200 (estimated locally),0.17 per call) vPortEnterCritical/47 (1073741824 (estimated locally),1.00 per call)
  1681. prvSwitchTimerLists/28 (prvSwitchTimerLists) @05f26460
  1682. Type: function definition analyzed
  1683. Visibility: prevailing_def_ironly
  1684. Aux: @03345070
  1685. References: pxCurrentTimerList/6 (read)pxOverflowTimerList/7 (read)pxCurrentTimerList/6 (write)pxOverflowTimerList/7 (write)
  1686. Referring:
  1687. Availability: local
  1688. Function flags: count:118111600 (estimated locally) body local optimize_size
  1689. Called by: prvSampleTimeNow/73 (354334802 (estimated locally),3300.01 per call) prvSampleTimeNow/25 (331401483 (estimated locally),3086.42 per call)
  1690. Calls: prvProcessExpiredTimer/21 (955630223 (estimated locally),8.09 per call)
  1691. prvProcessReceivedCommands/27 (prvProcessReceivedCommands) @05f260e0
  1692. Type: function definition analyzed
  1693. Visibility: prevailing_def_ironly
  1694. Aux: @03344f90
  1695. References: xTimerQueue/8 (read)
  1696. Referring:
  1697. Function prvProcessReceivedCommands/27 is inline copy in prvTimerTask/22
  1698. Availability: local
  1699. Function flags: count:1073741824 (estimated locally) body local optimize_size
  1700. Called by: prvTimerTask/22 (inlined) (1073741824 (estimated locally),10000.02 per call)
  1701. Calls: xQueueReceive/46 (19321729474 (estimated locally),179947.93 per call) vPortFree/45 (66280295 (estimated locally),617.28 per call) prvInsertTimerInActiveList/26 (189802709 (estimated locally),1767.68 per call) prvReloadTimer/20 (33140147 (estimated locally),308.64 per call) prvInsertTimerInActiveList/26 (200849425 (estimated locally),1870.56 per call) prvSampleTimeNow/25 (inlined) (1004246918 (estimated locally),9352.79 per call) uxListRemove/43 (536970861 (estimated locally),5000.94 per call)
  1702. Indirect call(100424661 (estimated locally),935.28 per call)
  1703. Indirect call(7486204063 (estimated locally),69720.83 per call)
  1704. prvInsertTimerInActiveList/26 (prvInsertTimerInActiveList) @05f1a7e0
  1705. Type: function definition analyzed
  1706. Visibility: prevailing_def_ironly
  1707. Aux: @03345190
  1708. References: pxCurrentTimerList/6 (read)
  1709. Referring:
  1710. Availability: local
  1711. Function flags: count:1073741824 (estimated locally) body local optimize_size
  1712. Called by: prvProcessReceivedCommands/27 (189802709 (estimated locally),1767.68 per call) prvProcessReceivedCommands/27 (200849425 (estimated locally),1870.56 per call) prvReloadTimer/20 (1073741824 (estimated locally),9.09 per call)
  1713. Calls: vListInsert/44 (357019157 (estimated locally),0.33 per call) prvInsertTimerInActiveList.part.0/57 (inlined) (177167400 (estimated locally),0.16 per call)
  1714. prvSampleTimeNow/25 (prvSampleTimeNow) @05f1ad20
  1715. Type: function definition analyzed
  1716. Visibility: prevailing_def_ironly
  1717. previous sharing asm name: 73
  1718. Aux: @03344f30
  1719. References: xLastTime.6551/42 (read)xLastTime.6551/42 (write)
  1720. Referring:
  1721. Function prvSampleTimeNow/25 is inline copy in prvTimerTask/22
  1722. Availability: local
  1723. Function flags: count:1004246918 (estimated locally) body local optimize_size
  1724. Called by: prvProcessReceivedCommands/27 (inlined) (1004246918 (estimated locally),9352.79 per call)
  1725. Calls: prvSwitchTimerLists/28 (331401483 (estimated locally),3086.42 per call) xTaskGetTickCount/41 (1004246918 (estimated locally),9352.79 per call)
  1726. prvGetNextExpireTime/24 (prvGetNextExpireTime) @05f1aa80
  1727. Type: function definition analyzed
  1728. Visibility: prevailing_def_ironly
  1729. Aux: @03345090
  1730. References: pxCurrentTimerList/6 (read)
  1731. Referring:
  1732. Function prvGetNextExpireTime/24 is inline copy in prvTimerTask/22
  1733. Availability: local
  1734. Function flags: count:1073741824 (estimated locally) body local optimize_size
  1735. Called by: prvTimerTask/22 (inlined) (1073741824 (estimated locally),10000.02 per call)
  1736. Calls:
  1737. prvProcessTimerOrBlockTask/23 (prvProcessTimerOrBlockTask) @05f1a700
  1738. Type: function definition analyzed
  1739. Visibility: prevailing_def_ironly
  1740. Aux: @033450d0
  1741. References: pxOverflowTimerList/7 (read)xTimerQueue/8 (read)
  1742. Referring:
  1743. Function prvProcessTimerOrBlockTask/23 is inline copy in prvTimerTask/22
  1744. Availability: local
  1745. Function flags: count:1073741824 (estimated locally) body local optimize_size
  1746. Called by: prvTimerTask/22 (inlined) (1073741824 (estimated locally),10000.02 per call)
  1747. Calls: xTaskResumeAll/39 (354334802 (estimated locally),3300.01 per call) xTaskResumeAll/39 (600704865 (estimated locally),5594.51 per call) vQueueWaitForMessageRestricted/40 (600704865 (estimated locally),5594.51 per call) prvProcessExpiredTimer/21 (118702158 (estimated locally),1105.50 per call) xTaskResumeAll/39 (118702158 (estimated locally),1105.50 per call) prvSampleTimeNow/73 (inlined) (1073741824 (estimated locally),10000.02 per call) vTaskSuspendAll/38 (1073741824 (estimated locally),10000.02 per call)
  1748. prvTimerTask/22 (prvTimerTask) @05f1a2a0
  1749. Type: function definition analyzed
  1750. Visibility: prevailing_def_ironly
  1751. Address is taken.
  1752. Aux: @033450b0
  1753. References:
  1754. Referring: xTimerCreateTimerTask/10 (addr)
  1755. Availability: available
  1756. Function flags: count:107374 (estimated locally) body executed_once optimize_size
  1757. Called by:
  1758. Calls: prvProcessReceivedCommands/27 (inlined) (1073741824 (estimated locally),10000.02 per call) prvProcessTimerOrBlockTask/23 (inlined) (1073741824 (estimated locally),10000.02 per call) prvGetNextExpireTime/24 (inlined) (1073741824 (estimated locally),10000.02 per call)
  1759. prvProcessExpiredTimer/21 (prvProcessExpiredTimer) @05f1a000
  1760. Type: function definition analyzed
  1761. Visibility: prevailing_def_ironly
  1762. Aux: @03344e30
  1763. References: pxCurrentTimerList/6 (read)
  1764. Referring:
  1765. Availability: local
  1766. Function flags: count:1073741824 (estimated locally) body local optimize_size
  1767. Called by: prvProcessTimerOrBlockTask/23 (118702158 (estimated locally),1105.50 per call) prvSwitchTimerLists/28 (955630223 (estimated locally),8.09 per call)
  1768. Calls: prvReloadTimer/20 (354334802 (estimated locally),0.33 per call) uxListRemove/43 (1073741824 (estimated locally),1.00 per call)
  1769. Indirect call(1073741824 (estimated locally),1.00 per call)
  1770. prvReloadTimer/20 (prvReloadTimer) @05ec0540
  1771. Type: function definition analyzed
  1772. Visibility: prevailing_def_ironly
  1773. Aux: @03344e50
  1774. References:
  1775. Referring:
  1776. Availability: local
  1777. Function flags: count:118111600 (estimated locally) body local optimize_size
  1778. Called by: prvProcessReceivedCommands/27 (33140147 (estimated locally),308.64 per call) prvProcessExpiredTimer/21 (354334802 (estimated locally),0.33 per call)
  1779. Calls: prvInsertTimerInActiveList/26 (1073741824 (estimated locally),9.09 per call)
  1780. Indirect call(955630223 (estimated locally),8.09 per call) of param:0 loaded from aggregate passed by reference at offset 256 (vptr maybe changed)
  1781. pcTimerGetName/19 (pcTimerGetName) @05ec0ee0
  1782. Type: function definition analyzed
  1783. Visibility: externally_visible public
  1784. Aux: @05d18dc8
  1785. References:
  1786. Referring:
  1787. Availability: available
  1788. Function flags: count:357913 (estimated locally) body optimize_size
  1789. Called by:
  1790. Calls:
  1791. xTimerGetExpiryTime/18 (xTimerGetExpiryTime) @05ec0b60
  1792. Type: function definition analyzed
  1793. Visibility: externally_visible public
  1794. Aux: @05d18a08
  1795. References:
  1796. Referring:
  1797. Availability: available
  1798. Function flags: count:357913 (estimated locally) body optimize_size
  1799. Called by:
  1800. Calls:
  1801. uxTimerGetReloadMode/17 (uxTimerGetReloadMode) @05ec07e0
  1802. Type: function definition analyzed
  1803. Visibility: externally_visible public
  1804. Aux: @05d18c48
  1805. References:
  1806. Referring:
  1807. Availability: available
  1808. Function flags: count:230763 (estimated locally) body optimize_size
  1809. Called by:
  1810. Calls: vPortExitCritical/51 (123389 (estimated locally),0.53 per call) vPortEnterCritical/47 (123389 (estimated locally),0.53 per call)
  1811. vTimerSetReloadMode/16 (vTimerSetReloadMode) @05ec0460
  1812. Type: function definition analyzed
  1813. Visibility: externally_visible public
  1814. Aux: @05d18a28
  1815. References:
  1816. Referring:
  1817. Availability: available
  1818. Function flags: count:230763 (estimated locally) body optimize_size
  1819. Called by:
  1820. Calls: vPortExitCritical/51 (123389 (estimated locally),0.53 per call) vPortEnterCritical/47 (123389 (estimated locally),0.53 per call)
  1821. xTimerGetPeriod/15 (xTimerGetPeriod) @05ec00e0
  1822. Type: function definition analyzed
  1823. Visibility: externally_visible public
  1824. Aux: @05d18b08
  1825. References:
  1826. Referring:
  1827. Availability: available
  1828. Function flags: count:357913 (estimated locally) body optimize_size
  1829. Called by:
  1830. Calls:
  1831. xTimerGetTimerDaemonTaskHandle/14 (xTimerGetTimerDaemonTaskHandle) @05f157e0
  1832. Type: function definition analyzed
  1833. Visibility: externally_visible public
  1834. Aux: @05d18ba8
  1835. References: xTimerTaskHandle/9 (read)
  1836. Referring:
  1837. Availability: available
  1838. Function flags: count:357913 (estimated locally) body optimize_size
  1839. Called by:
  1840. Calls:
  1841. xTimerGenericCommand/13 (xTimerGenericCommand) @05f151c0
  1842. Type: function definition analyzed
  1843. Visibility: externally_visible public
  1844. Aux: @05d18c28
  1845. References: xTimerQueue/8 (read)xTimerQueue/8 (read)xTimerQueue/8 (read)
  1846. Referring:
  1847. Availability: available
  1848. Function flags: count:357913 (estimated locally) body optimize_size
  1849. Called by:
  1850. Calls: xQueueGenericSendFromISR/56 (87689 (estimated locally),0.25 per call) xQueueGenericSend/55 (57875 (estimated locally),0.16 per call) xQueueGenericSend/55 (29814 (estimated locally),0.08 per call) xTaskGetSchedulerState/54 (87689 (estimated locally),0.25 per call)
  1851. prvInitialiseNewTimer/12 (prvInitialiseNewTimer) @05f15a80
  1852. Type: function
  1853. Body removed by symtab_remove_unreachable_nodes
  1854. Visibility: prevailing_def_ironly
  1855. References:
  1856. Referring:
  1857. Availability: not_available
  1858. Function flags: count:160260 (estimated locally) body optimize_size
  1859. Called by:
  1860. Calls:
  1861. xTimerCreate/11 (xTimerCreate) @05f15700
  1862. Type: function definition analyzed
  1863. Visibility: externally_visible public
  1864. Aux: @05d18bc8
  1865. References:
  1866. Referring:
  1867. Availability: available
  1868. Function flags: count:1073741824 (estimated locally) body optimize_size
  1869. Called by:
  1870. Calls: prvInitialiseNewTimer.constprop/72 (inlined) (574129754 (estimated locally),0.53 per call) pvPortMalloc/52 (1073741824 (estimated locally),1.00 per call)
  1871. xTimerCreateTimerTask/10 (xTimerCreateTimerTask) @05f15460
  1872. Type: function definition analyzed
  1873. Visibility: externally_visible public
  1874. Aux: @05d18c68
  1875. References: xTimerQueue/8 (read)prvTimerTask/22 (addr)xTimerTaskHandle/9 (addr)
  1876. Referring:
  1877. Availability: available
  1878. Function flags: count:146556 (estimated locally) body optimize_size
  1879. Called by:
  1880. Calls: xTaskCreate/37 (78363 (estimated locally),0.53 per call) prvCheckForValidListAndQueue/29 (146556 (estimated locally),1.00 per call)
  1881. ordered call graph: reduced
  1882. vTimerSetTimerNumber/36 (vTimerSetTimerNumber) @05f2aa80
  1883. Type: function definition analyzed
  1884. Visibility: externally_visible public
  1885. Aux: @03344eb0
  1886. References:
  1887. Referring:
  1888. Availability: available
  1889. Function flags: count:1073741824 (estimated locally) body optimize_size
  1890. Called by:
  1891. Calls:
  1892. uxTimerGetTimerNumber/35 (uxTimerGetTimerNumber) @05f2a7e0
  1893. Type: function definition analyzed
  1894. Visibility: externally_visible public
  1895. Aux: @03345170
  1896. References:
  1897. Referring:
  1898. Availability: available
  1899. Function flags: count:1073741824 (estimated locally) body optimize_size
  1900. Called by:
  1901. Calls:
  1902. xTimerPendFunctionCall/34 (xTimerPendFunctionCall) @05f2a540
  1903. Type: function definition analyzed
  1904. Visibility: externally_visible public
  1905. Aux: @03345110
  1906. References: xTimerQueue/8 (read)
  1907. Referring:
  1908. Availability: available
  1909. Function flags: count:230763 (estimated locally) body optimize_size
  1910. Called by:
  1911. Calls: xQueueGenericSend/55 (123389 (estimated locally),0.53 per call)
  1912. xTimerPendFunctionCallFromISR/33 (xTimerPendFunctionCallFromISR) @05f2a0e0
  1913. Type: function definition analyzed
  1914. Visibility: externally_visible public
  1915. Aux: @03345050
  1916. References: xTimerQueue/8 (read)
  1917. Referring:
  1918. Availability: available
  1919. Function flags: count:1073741824 (estimated locally) body optimize_size
  1920. Called by:
  1921. Calls: xQueueGenericSendFromISR/56 (1073741824 (estimated locally),1.00 per call)
  1922. vTimerSetTimerID/32 (vTimerSetTimerID) @05f268c0
  1923. Type: function definition analyzed
  1924. Visibility: externally_visible public
  1925. Aux: @03345010
  1926. References:
  1927. Referring:
  1928. Availability: available
  1929. Function flags: count:230763 (estimated locally) body optimize_size
  1930. Called by:
  1931. Calls: vPortExitCritical/51 (123389 (estimated locally),0.53 per call) vPortEnterCritical/47 (123389 (estimated locally),0.53 per call)
  1932. pvTimerGetTimerID/31 (pvTimerGetTimerID) @05f26ee0
  1933. Type: function definition analyzed
  1934. Visibility: externally_visible public
  1935. Aux: @03344e10
  1936. References:
  1937. Referring:
  1938. Availability: available
  1939. Function flags: count:230763 (estimated locally) body optimize_size
  1940. Called by:
  1941. Calls: vPortExitCritical/51 (123389 (estimated locally),0.53 per call) vPortEnterCritical/47 (123389 (estimated locally),0.53 per call)
  1942. xTimerIsTimerActive/30 (xTimerIsTimerActive) @05f26b60
  1943. Type: function definition analyzed
  1944. Visibility: externally_visible public
  1945. Aux: @03344f70
  1946. References:
  1947. Referring:
  1948. Availability: available
  1949. Function flags: count:230763 (estimated locally) body optimize_size
  1950. Called by:
  1951. Calls: vPortExitCritical/51 (123389 (estimated locally),0.53 per call) vPortEnterCritical/47 (123389 (estimated locally),0.53 per call)
  1952. prvTimerTask/22 (prvTimerTask) @05f1a2a0
  1953. Type: function definition analyzed
  1954. Visibility: prevailing_def_ironly
  1955. Address is taken.
  1956. Aux: @033450b0
  1957. References:
  1958. Referring: xTimerCreateTimerTask/10 (addr)
  1959. Availability: available
  1960. Function flags: count:107374 (estimated locally) body executed_once optimize_size
  1961. Called by:
  1962. Calls: prvProcessReceivedCommands/27 (inlined) (1073741824 (estimated locally),10000.02 per call) prvProcessTimerOrBlockTask/23 (inlined) (1073741824 (estimated locally),10000.02 per call) prvGetNextExpireTime/24 (inlined) (1073741824 (estimated locally),10000.02 per call)
  1963. prvGetNextExpireTime/24 (prvGetNextExpireTime) @05f1aa80
  1964. Type: function definition analyzed
  1965. Visibility: prevailing_def_ironly
  1966. Aux: @03345090
  1967. References: pxCurrentTimerList/6 (read)
  1968. Referring:
  1969. Function prvGetNextExpireTime/24 is inline copy in prvTimerTask/22
  1970. Availability: local
  1971. Function flags: count:1073741824 (estimated locally) body local optimize_size
  1972. Called by: prvTimerTask/22 (inlined) (1073741824 (estimated locally),10000.02 per call)
  1973. Calls:
  1974. prvProcessTimerOrBlockTask/23 (prvProcessTimerOrBlockTask) @05f1a700
  1975. Type: function definition analyzed
  1976. Visibility: prevailing_def_ironly
  1977. Aux: @033450d0
  1978. References: pxOverflowTimerList/7 (read)xTimerQueue/8 (read)
  1979. Referring:
  1980. Function prvProcessTimerOrBlockTask/23 is inline copy in prvTimerTask/22
  1981. Availability: local
  1982. Function flags: count:1073741824 (estimated locally) body local optimize_size
  1983. Called by: prvTimerTask/22 (inlined) (1073741824 (estimated locally),10000.02 per call)
  1984. Calls: xTaskResumeAll/39 (354334802 (estimated locally),3300.01 per call) xTaskResumeAll/39 (600704865 (estimated locally),5594.51 per call) vQueueWaitForMessageRestricted/40 (600704865 (estimated locally),5594.51 per call) prvProcessExpiredTimer/21 (118702158 (estimated locally),1105.50 per call) xTaskResumeAll/39 (118702158 (estimated locally),1105.50 per call) prvSampleTimeNow/73 (inlined) (1073741824 (estimated locally),10000.02 per call) vTaskSuspendAll/38 (1073741824 (estimated locally),10000.02 per call)
  1985. prvSampleTimeNow/73 (prvSampleTimeNow) @05e5b0e0
  1986. Type: function definition analyzed
  1987. Visibility:
  1988. next sharing asm name: 25
  1989. Aux: @03344fd0
  1990. References: xLastTime.6551/42 (read)xLastTime.6551/42 (write)
  1991. Referring:
  1992. Function prvSampleTimeNow/73 is inline copy in prvTimerTask/22
  1993. Clone of prvSampleTimeNow/25
  1994. Availability: local
  1995. Function flags: count:1073741824 (estimated locally) body local optimize_size
  1996. Called by: prvProcessTimerOrBlockTask/23 (inlined) (1073741824 (estimated locally),10000.02 per call)
  1997. Calls: xTaskGetTickCount/41 (1073741824 (estimated locally),10000.02 per call) prvSwitchTimerLists/28 (354334802 (estimated locally),3300.01 per call)
  1998. prvProcessReceivedCommands/27 (prvProcessReceivedCommands) @05f260e0
  1999. Type: function definition analyzed
  2000. Visibility: prevailing_def_ironly
  2001. Aux: @03344f90
  2002. References: xTimerQueue/8 (read)
  2003. Referring:
  2004. Function prvProcessReceivedCommands/27 is inline copy in prvTimerTask/22
  2005. Availability: local
  2006. Function flags: count:1073741824 (estimated locally) body local optimize_size
  2007. Called by: prvTimerTask/22 (inlined) (1073741824 (estimated locally),10000.02 per call)
  2008. Calls: xQueueReceive/46 (19321729474 (estimated locally),179947.93 per call) vPortFree/45 (66280295 (estimated locally),617.28 per call) prvInsertTimerInActiveList/26 (189802709 (estimated locally),1767.68 per call) prvReloadTimer/20 (33140147 (estimated locally),308.64 per call) prvInsertTimerInActiveList/26 (200849425 (estimated locally),1870.56 per call) prvSampleTimeNow/25 (inlined) (1004246918 (estimated locally),9352.79 per call) uxListRemove/43 (536970861 (estimated locally),5000.94 per call)
  2009. Indirect call(100424661 (estimated locally),935.28 per call)
  2010. Indirect call(7486204063 (estimated locally),69720.83 per call)
  2011. prvSampleTimeNow/25 (prvSampleTimeNow) @05f1ad20
  2012. Type: function definition analyzed
  2013. Visibility: prevailing_def_ironly
  2014. previous sharing asm name: 73
  2015. Aux: @03344f30
  2016. References: xLastTime.6551/42 (read)xLastTime.6551/42 (write)
  2017. Referring:
  2018. Function prvSampleTimeNow/25 is inline copy in prvTimerTask/22
  2019. Availability: local
  2020. Function flags: count:1004246918 (estimated locally) body local optimize_size
  2021. Called by: prvProcessReceivedCommands/27 (inlined) (1004246918 (estimated locally),9352.79 per call)
  2022. Calls: prvSwitchTimerLists/28 (331401483 (estimated locally),3086.42 per call) xTaskGetTickCount/41 (1004246918 (estimated locally),9352.79 per call)
  2023. prvSwitchTimerLists/28 (prvSwitchTimerLists) @05f26460
  2024. Type: function definition analyzed
  2025. Visibility: prevailing_def_ironly
  2026. Aux: @03345070
  2027. References: pxCurrentTimerList/6 (read)pxOverflowTimerList/7 (read)pxCurrentTimerList/6 (write)pxOverflowTimerList/7 (write)
  2028. Referring:
  2029. Availability: local
  2030. Function flags: count:118111600 (estimated locally) body local optimize_size
  2031. Called by: prvSampleTimeNow/73 (354334802 (estimated locally),3300.01 per call) prvSampleTimeNow/25 (331401483 (estimated locally),3086.42 per call)
  2032. Calls: prvProcessExpiredTimer/21 (955630223 (estimated locally),8.09 per call)
  2033. prvProcessExpiredTimer/21 (prvProcessExpiredTimer) @05f1a000
  2034. Type: function definition analyzed
  2035. Visibility: prevailing_def_ironly
  2036. Aux: @03344e30
  2037. References: pxCurrentTimerList/6 (read)
  2038. Referring:
  2039. Availability: local
  2040. Function flags: count:1073741824 (estimated locally) body local optimize_size
  2041. Called by: prvProcessTimerOrBlockTask/23 (118702158 (estimated locally),1105.50 per call) prvSwitchTimerLists/28 (955630223 (estimated locally),8.09 per call)
  2042. Calls: prvReloadTimer/20 (354334802 (estimated locally),0.33 per call) uxListRemove/43 (1073741824 (estimated locally),1.00 per call)
  2043. Indirect call(1073741824 (estimated locally),1.00 per call)
  2044. prvReloadTimer/20 (prvReloadTimer) @05ec0540
  2045. Type: function definition analyzed
  2046. Visibility: prevailing_def_ironly
  2047. Aux: @03344e50
  2048. References:
  2049. Referring:
  2050. Availability: local
  2051. Function flags: count:118111600 (estimated locally) body local optimize_size
  2052. Called by: prvProcessReceivedCommands/27 (33140147 (estimated locally),308.64 per call) prvProcessExpiredTimer/21 (354334802 (estimated locally),0.33 per call)
  2053. Calls: prvInsertTimerInActiveList/26 (1073741824 (estimated locally),9.09 per call)
  2054. Indirect call(955630223 (estimated locally),8.09 per call) of param:0 loaded from aggregate passed by reference at offset 256 (vptr maybe changed)
  2055. prvInsertTimerInActiveList/26 (prvInsertTimerInActiveList) @05f1a7e0
  2056. Type: function definition analyzed
  2057. Visibility: prevailing_def_ironly
  2058. Aux: @03345190
  2059. References: pxCurrentTimerList/6 (read)
  2060. Referring:
  2061. Availability: local
  2062. Function flags: count:1073741824 (estimated locally) body local optimize_size
  2063. Called by: prvProcessReceivedCommands/27 (189802709 (estimated locally),1767.68 per call) prvProcessReceivedCommands/27 (200849425 (estimated locally),1870.56 per call) prvReloadTimer/20 (1073741824 (estimated locally),9.09 per call)
  2064. Calls: vListInsert/44 (357019157 (estimated locally),0.33 per call) prvInsertTimerInActiveList.part.0/57 (inlined) (177167400 (estimated locally),0.16 per call)
  2065. prvInsertTimerInActiveList.part.0/57 (prvInsertTimerInActiveList.part.0) @05e55a80
  2066. Type: function definition analyzed
  2067. Visibility: prevailing_def_ironly artificial
  2068. Aux: @03344e90
  2069. References: pxOverflowTimerList/7 (read)
  2070. Referring:
  2071. Function prvInsertTimerInActiveList.part.0/57 is inline copy in prvInsertTimerInActiveList/26
  2072. Availability: local
  2073. Function flags: count:177167400 (estimated locally) first_run:1 body local split_part optimize_size
  2074. Called by: prvInsertTimerInActiveList/26 (inlined) (177167400 (estimated locally),0.16 per call)
  2075. Calls: vListInsert/44 (177167400 (estimated locally),0.16 per call)
  2076. pcTimerGetName/19 (pcTimerGetName) @05ec0ee0
  2077. Type: function definition analyzed
  2078. Visibility: externally_visible public
  2079. Aux: @05d18dc8
  2080. References:
  2081. Referring:
  2082. Availability: available
  2083. Function flags: count:357913 (estimated locally) body optimize_size
  2084. Called by:
  2085. Calls:
  2086. xTimerGetExpiryTime/18 (xTimerGetExpiryTime) @05ec0b60
  2087. Type: function definition analyzed
  2088. Visibility: externally_visible public
  2089. Aux: @05d18a08
  2090. References:
  2091. Referring:
  2092. Availability: available
  2093. Function flags: count:357913 (estimated locally) body optimize_size
  2094. Called by:
  2095. Calls:
  2096. uxTimerGetReloadMode/17 (uxTimerGetReloadMode) @05ec07e0
  2097. Type: function definition analyzed
  2098. Visibility: externally_visible public
  2099. Aux: @05d18c48
  2100. References:
  2101. Referring:
  2102. Availability: available
  2103. Function flags: count:230763 (estimated locally) body optimize_size
  2104. Called by:
  2105. Calls: vPortExitCritical/51 (123389 (estimated locally),0.53 per call) vPortEnterCritical/47 (123389 (estimated locally),0.53 per call)
  2106. vTimerSetReloadMode/16 (vTimerSetReloadMode) @05ec0460
  2107. Type: function definition analyzed
  2108. Visibility: externally_visible public
  2109. Aux: @05d18a28
  2110. References:
  2111. Referring:
  2112. Availability: available
  2113. Function flags: count:230763 (estimated locally) body optimize_size
  2114. Called by:
  2115. Calls: vPortExitCritical/51 (123389 (estimated locally),0.53 per call) vPortEnterCritical/47 (123389 (estimated locally),0.53 per call)
  2116. xTimerGetPeriod/15 (xTimerGetPeriod) @05ec00e0
  2117. Type: function definition analyzed
  2118. Visibility: externally_visible public
  2119. Aux: @05d18b08
  2120. References:
  2121. Referring:
  2122. Availability: available
  2123. Function flags: count:357913 (estimated locally) body optimize_size
  2124. Called by:
  2125. Calls:
  2126. xTimerGetTimerDaemonTaskHandle/14 (xTimerGetTimerDaemonTaskHandle) @05f157e0
  2127. Type: function definition analyzed
  2128. Visibility: externally_visible public
  2129. Aux: @05d18ba8
  2130. References: xTimerTaskHandle/9 (read)
  2131. Referring:
  2132. Availability: available
  2133. Function flags: count:357913 (estimated locally) body optimize_size
  2134. Called by:
  2135. Calls:
  2136. xTimerGenericCommand/13 (xTimerGenericCommand) @05f151c0
  2137. Type: function definition analyzed
  2138. Visibility: externally_visible public
  2139. Aux: @05d18c28
  2140. References: xTimerQueue/8 (read)xTimerQueue/8 (read)xTimerQueue/8 (read)
  2141. Referring:
  2142. Availability: available
  2143. Function flags: count:357913 (estimated locally) body optimize_size
  2144. Called by:
  2145. Calls: xQueueGenericSendFromISR/56 (87689 (estimated locally),0.25 per call) xQueueGenericSend/55 (57875 (estimated locally),0.16 per call) xQueueGenericSend/55 (29814 (estimated locally),0.08 per call) xTaskGetSchedulerState/54 (87689 (estimated locally),0.25 per call)
  2146. xTimerCreate/11 (xTimerCreate) @05f15700
  2147. Type: function definition analyzed
  2148. Visibility: externally_visible public
  2149. Aux: @05d18bc8
  2150. References:
  2151. Referring:
  2152. Availability: available
  2153. Function flags: count:1073741824 (estimated locally) body optimize_size
  2154. Called by:
  2155. Calls: prvInitialiseNewTimer.constprop/72 (inlined) (574129754 (estimated locally),0.53 per call) pvPortMalloc/52 (1073741824 (estimated locally),1.00 per call)
  2156. prvInitialiseNewTimer.constprop.0/72 (prvInitialiseNewTimer.constprop) @05e55d20
  2157. Type: function definition analyzed
  2158. Visibility:
  2159. Aux: @03344ed0
  2160. References:
  2161. Referring:
  2162. Function prvInitialiseNewTimer.constprop/72 is inline copy in xTimerCreate/11
  2163. Clone of prvInitialiseNewTimer/12
  2164. Availability: local
  2165. Function flags: count:574129754 (estimated locally) local optimize_size
  2166. Called by: xTimerCreate/11 (inlined) (574129754 (estimated locally),0.53 per call)
  2167. Calls: prvCheckForValidListAndQueue/29 (189463535 (estimated locally),0.18 per call) vListInitialiseItem/53 (189463535 (estimated locally),0.18 per call)
  2168. xTimerCreateTimerTask/10 (xTimerCreateTimerTask) @05f15460
  2169. Type: function definition analyzed
  2170. Visibility: externally_visible public
  2171. Aux: @05d18c68
  2172. References: xTimerQueue/8 (read)prvTimerTask/22 (addr)xTimerTaskHandle/9 (addr)
  2173. Referring:
  2174. Availability: available
  2175. Function flags: count:146556 (estimated locally) body optimize_size
  2176. Called by:
  2177. Calls: xTaskCreate/37 (78363 (estimated locally),0.53 per call) prvCheckForValidListAndQueue/29 (146556 (estimated locally),1.00 per call)
  2178. prvCheckForValidListAndQueue/29 (prvCheckForValidListAndQueue) @05f267e0
  2179. Type: function definition analyzed
  2180. Visibility: prevailing_def_ironly
  2181. Aux: @03344f10
  2182. References: xTimerQueue/8 (read)xActiveTimerList1/4 (addr)xActiveTimerList2/5 (addr)pxCurrentTimerList/6 (write)xActiveTimerList1/4 (addr)pxOverflowTimerList/7 (write)xActiveTimerList2/5 (addr)xTimerQueue/8 (write)
  2183. Referring:
  2184. Availability: local
  2185. Function flags: count:1073741824 (estimated locally) body local optimize_size
  2186. Called by: prvInitialiseNewTimer.constprop/72 (189463535 (estimated locally),0.18 per call) xTimerCreateTimerTask/10 (146556 (estimated locally),1.00 per call)
  2187. Calls: vPortExitCritical/51 (1073741824 (estimated locally),1.00 per call) vQueueAddToRegistry/50 (100070816 (estimated locally),0.09 per call) xQueueGenericCreate/49 (187153200 (estimated locally),0.17 per call) vListInitialise/48 (187153200 (estimated locally),0.17 per call) vListInitialise/48 (187153200 (estimated locally),0.17 per call) vPortEnterCritical/47 (1073741824 (estimated locally),1.00 per call)
  2188. Function found not to call free: prvGetNextExpireTime
  2189. Function found to be looping pure: prvTimerTask
  2190. Declaration updated to be looping pure: prvTimerTask
  2191. Function found not to call free: uxTimerGetTimerNumber
  2192. Function found not to call free: vTimerSetTimerNumber
  2193. prvInsertTimerInActiveList.part.0 (struct Timer_t * const pxTimer)
  2194. {
  2195. BaseType_t xProcessTimerNow;
  2196. const TickType_t xNextExpiryTime;
  2197. const TickType_t xTimeNow;
  2198. const TickType_t xCommandTime;
  2199. struct List_t * pxOverflowTimerList.14_1;
  2200. struct ListItem_t * _3;
  2201. <bb 4> [local count: 1073741824]:
  2202. # DEBUG D#6 s=> xNextExpiryTime
  2203. # DEBUG xNextExpiryTime => D#6
  2204. # DEBUG D#5 s=> xTimeNow
  2205. # DEBUG xTimeNow => D#5
  2206. # DEBUG D#4 s=> xCommandTime
  2207. # DEBUG xCommandTime => D#4
  2208. <bb 2> [local count: 1073741824]:
  2209. # DEBUG BEGIN_STMT
  2210. pxOverflowTimerList.14_1 = pxOverflowTimerList;
  2211. _3 = &pxTimer_2(D)->xTimerListItem;
  2212. vListInsert (pxOverflowTimerList.14_1, _3);
  2213. <bb 3> [local count: 1073741824]:
  2214. # xProcessTimerNow_4 = PHI <0(2)>
  2215. # DEBUG xProcessTimerNow => xProcessTimerNow_4
  2216. # DEBUG BEGIN_STMT
  2217. return xProcessTimerNow_4;
  2218. }
  2219. vTimerSetTimerNumber (struct tmrTimerControl * xTimer, UBaseType_t uxTimerNumber)
  2220. {
  2221. <bb 2> [local count: 1073741824]:
  2222. # DEBUG BEGIN_STMT
  2223. MEM[(struct Timer_t *)xTimer_2(D)].uxTimerNumber = uxTimerNumber_3(D);
  2224. return;
  2225. }
  2226. uxTimerGetTimerNumber (struct tmrTimerControl * xTimer)
  2227. {
  2228. UBaseType_t _3;
  2229. <bb 2> [local count: 1073741824]:
  2230. # DEBUG BEGIN_STMT
  2231. _3 = MEM[(struct Timer_t *)xTimer_2(D)].uxTimerNumber;
  2232. return _3;
  2233. }
  2234. xTimerPendFunctionCall (void (*PendedFunction_t) (void *, uint32_t) xFunctionToPend, void * pvParameter1, uint32_t ulParameter2, TickType_t xTicksToWait)
  2235. {
  2236. uint32_t ulNewBASEPRI;
  2237. BaseType_t xReturn;
  2238. struct DaemonTaskMessage_t xMessage;
  2239. struct QueueDefinition * xTimerQueue.26_1;
  2240. <bb 2> [local count: 230763]:
  2241. # DEBUG BEGIN_STMT
  2242. # DEBUG BEGIN_STMT
  2243. # DEBUG BEGIN_STMT
  2244. xTimerQueue.26_1 = xTimerQueue;
  2245. if (xTimerQueue.26_1 == 0B)
  2246. goto <bb 3>; [46.53%]
  2247. else
  2248. goto <bb 5>; [53.47%]
  2249. <bb 3> [local count: 107374]:
  2250. # DEBUG BEGIN_STMT
  2251. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  2252. # DEBUG BEGIN_STMT
  2253. # DEBUG BEGIN_STMT
  2254. __asm__ __volatile__(" mov %0, %1
  2255. msr basepri, %0
  2256. isb
  2257. dsb
  2258. " : "=r" ulNewBASEPRI_14 : "i" 16 : "memory");
  2259. # DEBUG ulNewBASEPRI => ulNewBASEPRI_14
  2260. <bb 4> [local count: 1073741824]:
  2261. # DEBUG ulNewBASEPRI => NULL
  2262. # DEBUG BEGIN_STMT
  2263. # DEBUG BEGIN_STMT
  2264. # DEBUG BEGIN_STMT
  2265. <bb 6> [local count: 1073741824]:
  2266. goto <bb 4>; [100.00%]
  2267. <bb 5> [local count: 123389]:
  2268. # DEBUG BEGIN_STMT
  2269. # DEBUG BEGIN_STMT
  2270. xMessage.xMessageID = -1;
  2271. # DEBUG BEGIN_STMT
  2272. xMessage.u.xCallbackParameters.pxCallbackFunction = xFunctionToPend_4(D);
  2273. # DEBUG BEGIN_STMT
  2274. xMessage.u.xCallbackParameters.pvParameter1 = pvParameter1_6(D);
  2275. # DEBUG BEGIN_STMT
  2276. xMessage.u.xCallbackParameters.ulParameter2 = ulParameter2_8(D);
  2277. # DEBUG BEGIN_STMT
  2278. xReturn_12 = xQueueGenericSend (xTimerQueue.26_1, &xMessage, xTicksToWait_10(D), 0);
  2279. # DEBUG xReturn => xReturn_12
  2280. # DEBUG BEGIN_STMT
  2281. # DEBUG BEGIN_STMT
  2282. xMessage ={v} {CLOBBER};
  2283. return xReturn_12;
  2284. }
  2285. xTimerPendFunctionCallFromISR (void (*PendedFunction_t) (void *, uint32_t) xFunctionToPend, void * pvParameter1, uint32_t ulParameter2, BaseType_t * pxHigherPriorityTaskWoken)
  2286. {
  2287. BaseType_t xReturn;
  2288. struct DaemonTaskMessage_t xMessage;
  2289. struct QueueDefinition * xTimerQueue.25_1;
  2290. <bb 2> [local count: 1073741824]:
  2291. # DEBUG BEGIN_STMT
  2292. # DEBUG BEGIN_STMT
  2293. # DEBUG BEGIN_STMT
  2294. xMessage.xMessageID = -2;
  2295. # DEBUG BEGIN_STMT
  2296. xMessage.u.xCallbackParameters.pxCallbackFunction = xFunctionToPend_4(D);
  2297. # DEBUG BEGIN_STMT
  2298. xMessage.u.xCallbackParameters.pvParameter1 = pvParameter1_6(D);
  2299. # DEBUG BEGIN_STMT
  2300. xMessage.u.xCallbackParameters.ulParameter2 = ulParameter2_8(D);
  2301. # DEBUG BEGIN_STMT
  2302. xTimerQueue.25_1 = xTimerQueue;
  2303. xReturn_12 = xQueueGenericSendFromISR (xTimerQueue.25_1, &xMessage, pxHigherPriorityTaskWoken_10(D), 0);
  2304. # DEBUG xReturn => xReturn_12
  2305. # DEBUG BEGIN_STMT
  2306. # DEBUG BEGIN_STMT
  2307. xMessage ={v} {CLOBBER};
  2308. return xReturn_12;
  2309. }
  2310. vTimerSetTimerID (struct tmrTimerControl * xTimer, void * pvNewID)
  2311. {
  2312. uint32_t ulNewBASEPRI;
  2313. <bb 2> [local count: 230763]:
  2314. # DEBUG BEGIN_STMT
  2315. # DEBUG pxTimer => xTimer_1(D)
  2316. # DEBUG BEGIN_STMT
  2317. if (xTimer_1(D) == 0B)
  2318. goto <bb 3>; [46.53%]
  2319. else
  2320. goto <bb 5>; [53.47%]
  2321. <bb 3> [local count: 107374]:
  2322. # DEBUG BEGIN_STMT
  2323. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  2324. # DEBUG BEGIN_STMT
  2325. # DEBUG BEGIN_STMT
  2326. __asm__ __volatile__(" mov %0, %1
  2327. msr basepri, %0
  2328. isb
  2329. dsb
  2330. " : "=r" ulNewBASEPRI_7 : "i" 16 : "memory");
  2331. # DEBUG ulNewBASEPRI => ulNewBASEPRI_7
  2332. <bb 4> [local count: 1073741824]:
  2333. # DEBUG ulNewBASEPRI => NULL
  2334. # DEBUG BEGIN_STMT
  2335. # DEBUG BEGIN_STMT
  2336. # DEBUG BEGIN_STMT
  2337. <bb 6> [local count: 1073741824]:
  2338. goto <bb 4>; [100.00%]
  2339. <bb 5> [local count: 123389]:
  2340. # DEBUG BEGIN_STMT
  2341. # DEBUG BEGIN_STMT
  2342. vPortEnterCritical ();
  2343. # DEBUG BEGIN_STMT
  2344. MEM[(struct Timer_t *)xTimer_1(D)].pvTimerID = pvNewID_4(D);
  2345. # DEBUG BEGIN_STMT
  2346. vPortExitCritical ();
  2347. return;
  2348. }
  2349. pvTimerGetTimerID (struct tmrTimerControl * const xTimer)
  2350. {
  2351. uint32_t ulNewBASEPRI;
  2352. void * pvReturn;
  2353. <bb 2> [local count: 230763]:
  2354. # DEBUG BEGIN_STMT
  2355. # DEBUG pxTimer => xTimer_1(D)
  2356. # DEBUG BEGIN_STMT
  2357. # DEBUG BEGIN_STMT
  2358. if (xTimer_1(D) == 0B)
  2359. goto <bb 3>; [46.53%]
  2360. else
  2361. goto <bb 5>; [53.47%]
  2362. <bb 3> [local count: 107374]:
  2363. # DEBUG BEGIN_STMT
  2364. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  2365. # DEBUG BEGIN_STMT
  2366. # DEBUG BEGIN_STMT
  2367. __asm__ __volatile__(" mov %0, %1
  2368. msr basepri, %0
  2369. isb
  2370. dsb
  2371. " : "=r" ulNewBASEPRI_6 : "i" 16 : "memory");
  2372. # DEBUG ulNewBASEPRI => ulNewBASEPRI_6
  2373. <bb 4> [local count: 1073741824]:
  2374. # DEBUG ulNewBASEPRI => NULL
  2375. # DEBUG BEGIN_STMT
  2376. # DEBUG BEGIN_STMT
  2377. # DEBUG BEGIN_STMT
  2378. <bb 6> [local count: 1073741824]:
  2379. goto <bb 4>; [100.00%]
  2380. <bb 5> [local count: 123389]:
  2381. # DEBUG BEGIN_STMT
  2382. # DEBUG BEGIN_STMT
  2383. vPortEnterCritical ();
  2384. # DEBUG BEGIN_STMT
  2385. pvReturn_4 = MEM[(struct Timer_t *)xTimer_1(D)].pvTimerID;
  2386. # DEBUG pvReturn => pvReturn_4
  2387. # DEBUG BEGIN_STMT
  2388. vPortExitCritical ();
  2389. # DEBUG BEGIN_STMT
  2390. return pvReturn_4;
  2391. }
  2392. xTimerIsTimerActive (struct tmrTimerControl * xTimer)
  2393. {
  2394. uint32_t ulNewBASEPRI;
  2395. unsigned char _1;
  2396. long int _2;
  2397. unsigned char _4;
  2398. <bb 2> [local count: 230763]:
  2399. # DEBUG BEGIN_STMT
  2400. # DEBUG BEGIN_STMT
  2401. # DEBUG pxTimer => xTimer_3(D)
  2402. # DEBUG BEGIN_STMT
  2403. if (xTimer_3(D) == 0B)
  2404. goto <bb 3>; [46.53%]
  2405. else
  2406. goto <bb 5>; [53.47%]
  2407. <bb 3> [local count: 107374]:
  2408. # DEBUG BEGIN_STMT
  2409. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  2410. # DEBUG BEGIN_STMT
  2411. # DEBUG BEGIN_STMT
  2412. __asm__ __volatile__(" mov %0, %1
  2413. msr basepri, %0
  2414. isb
  2415. dsb
  2416. " : "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
  2417. # DEBUG ulNewBASEPRI => ulNewBASEPRI_8
  2418. <bb 4> [local count: 1073741824]:
  2419. # DEBUG ulNewBASEPRI => NULL
  2420. # DEBUG BEGIN_STMT
  2421. # DEBUG BEGIN_STMT
  2422. # DEBUG BEGIN_STMT
  2423. <bb 6> [local count: 1073741824]:
  2424. goto <bb 4>; [100.00%]
  2425. <bb 5> [local count: 123389]:
  2426. # DEBUG BEGIN_STMT
  2427. # DEBUG BEGIN_STMT
  2428. vPortEnterCritical ();
  2429. # DEBUG BEGIN_STMT
  2430. _1 = MEM[(struct Timer_t *)xTimer_3(D)].ucStatus;
  2431. _4 = _1 & 1;
  2432. _2 = (long int) _4;
  2433. # DEBUG xReturn => _2
  2434. # DEBUG BEGIN_STMT
  2435. vPortExitCritical ();
  2436. # DEBUG BEGIN_STMT
  2437. return _2;
  2438. }
  2439. prvCheckForValidListAndQueue ()
  2440. {
  2441. struct QueueDefinition * xTimerQueue.17_1;
  2442. struct QueueDefinition * _2;
  2443. <bb 2> [local count: 1073741824]:
  2444. # DEBUG BEGIN_STMT
  2445. vPortEnterCritical ();
  2446. # DEBUG BEGIN_STMT
  2447. xTimerQueue.17_1 = xTimerQueue;
  2448. if (xTimerQueue.17_1 == 0B)
  2449. goto <bb 3>; [17.43%]
  2450. else
  2451. goto <bb 5>; [82.57%]
  2452. <bb 3> [local count: 187153200]:
  2453. # DEBUG BEGIN_STMT
  2454. vListInitialise (&xActiveTimerList1);
  2455. # DEBUG BEGIN_STMT
  2456. vListInitialise (&xActiveTimerList2);
  2457. # DEBUG BEGIN_STMT
  2458. pxCurrentTimerList = &xActiveTimerList1;
  2459. # DEBUG BEGIN_STMT
  2460. pxOverflowTimerList = &xActiveTimerList2;
  2461. # DEBUG BEGIN_STMT
  2462. _2 = xQueueGenericCreate (10, 16, 0);
  2463. xTimerQueue = _2;
  2464. # DEBUG BEGIN_STMT
  2465. if (_2 != 0B)
  2466. goto <bb 4>; [53.47%]
  2467. else
  2468. goto <bb 5>; [46.53%]
  2469. <bb 4> [local count: 100070816]:
  2470. # DEBUG BEGIN_STMT
  2471. vQueueAddToRegistry (_2, "TmrQ");
  2472. <bb 5> [local count: 1073741824]:
  2473. # DEBUG BEGIN_STMT
  2474. # DEBUG BEGIN_STMT
  2475. vPortExitCritical ();
  2476. return;
  2477. }
  2478. prvSwitchTimerLists ()
  2479. {
  2480. TickType_t xNextExpireTime;
  2481. struct xLIST_ITEM * _1;
  2482. struct List_t * pxCurrentTimerList.11_2;
  2483. long unsigned int _3;
  2484. struct List_t * pxOverflowTimerList.12_4;
  2485. struct List_t * pxCurrentTimerList.11_7;
  2486. <bb 2> [local count: 118111600]:
  2487. # DEBUG BEGIN_STMT
  2488. # DEBUG BEGIN_STMT
  2489. # DEBUG BEGIN_STMT
  2490. goto <bb 4>; [100.00%]
  2491. <bb 3> [local count: 955630223]:
  2492. # DEBUG BEGIN_STMT
  2493. _1 = pxCurrentTimerList.11_2->xListEnd.pxNext;
  2494. xNextExpireTime_10 = _1->xItemValue;
  2495. # DEBUG xNextExpireTime => xNextExpireTime_10
  2496. # DEBUG BEGIN_STMT
  2497. prvProcessExpiredTimer (xNextExpireTime_10, 4294967295);
  2498. <bb 4> [local count: 1073741824]:
  2499. # DEBUG BEGIN_STMT
  2500. pxCurrentTimerList.11_2 = pxCurrentTimerList;
  2501. _3 ={v} pxCurrentTimerList.11_2->uxNumberOfItems;
  2502. if (_3 != 0)
  2503. goto <bb 3>; [89.00%]
  2504. else
  2505. goto <bb 5>; [11.00%]
  2506. <bb 5> [local count: 118111601]:
  2507. # pxCurrentTimerList.11_7 = PHI <pxCurrentTimerList.11_2(4)>
  2508. # DEBUG BEGIN_STMT
  2509. # DEBUG pxTemp => pxCurrentTimerList.11_7
  2510. # DEBUG BEGIN_STMT
  2511. pxOverflowTimerList.12_4 = pxOverflowTimerList;
  2512. pxCurrentTimerList = pxOverflowTimerList.12_4;
  2513. # DEBUG BEGIN_STMT
  2514. pxOverflowTimerList = pxCurrentTimerList.11_7;
  2515. return;
  2516. }
  2517. prvProcessReceivedCommands ()
  2518. {
  2519. uint32_t ulNewBASEPRI;
  2520. TickType_t xTimeNow;
  2521. BaseType_t xTimerListsWereSwitched;
  2522. struct Timer_t * pxTimer;
  2523. struct DaemonTaskMessage_t xMessage;
  2524. long int _1;
  2525. void (*<T68e>) (void *, uint32_t) _2;
  2526. void * _3;
  2527. long unsigned int _4;
  2528. long int _5;
  2529. struct xLIST * _6;
  2530. struct ListItem_t * _7;
  2531. long int _8;
  2532. unsigned char _9;
  2533. unsigned char _10;
  2534. long unsigned int _11;
  2535. long unsigned int _12;
  2536. long unsigned int _13;
  2537. long int _15;
  2538. unsigned char _16;
  2539. long unsigned int _17;
  2540. long unsigned int _18;
  2541. long unsigned int _19;
  2542. unsigned char _21;
  2543. void (*<T689>) (struct tmrTimerControl *) _22;
  2544. unsigned char _23;
  2545. unsigned char _24;
  2546. unsigned char _25;
  2547. unsigned char _26;
  2548. long unsigned int _27;
  2549. long unsigned int _30;
  2550. unsigned char _31;
  2551. unsigned char _33;
  2552. struct QueueDefinition * xTimerQueue.16_34;
  2553. long int _35;
  2554. unsigned char _63;
  2555. unsigned char _65;
  2556. <bb 2> [local count: 10436763]:
  2557. # DEBUG BEGIN_STMT
  2558. # DEBUG BEGIN_STMT
  2559. # DEBUG BEGIN_STMT
  2560. # DEBUG BEGIN_STMT
  2561. # DEBUG BEGIN_STMT
  2562. goto <bb 23>; [100.00%]
  2563. <bb 3> [local count: 177477686]:
  2564. # DEBUG BEGIN_STMT
  2565. _1 = xMessage.xMessageID;
  2566. if (_1 < 0)
  2567. goto <bb 4>; [41.00%]
  2568. else
  2569. goto <bb 5>; [59.00%]
  2570. <bb 4> [local count: 72765851]:
  2571. # DEBUG BEGIN_STMT
  2572. # DEBUG pxCallback => &xMessage.u.xCallbackParameters
  2573. # DEBUG BEGIN_STMT
  2574. # DEBUG BEGIN_STMT
  2575. # DEBUG BEGIN_STMT
  2576. _2 = MEM[(const struct CallbackParameters_t *)&xMessage + 4B].pxCallbackFunction;
  2577. _3 = MEM[(const struct CallbackParameters_t *)&xMessage + 4B].pvParameter1;
  2578. _4 = MEM[(const struct CallbackParameters_t *)&xMessage + 4B].ulParameter2;
  2579. _2 (_3, _4);
  2580. <bb 5> [local count: 177477686]:
  2581. # DEBUG BEGIN_STMT
  2582. # DEBUG BEGIN_STMT
  2583. _5 = xMessage.xMessageID;
  2584. if (_5 >= 0)
  2585. goto <bb 6>; [5.50%]
  2586. else
  2587. goto <bb 29>; [94.50%]
  2588. <bb 29> [local count: 167716413]:
  2589. goto <bb 25>; [100.00%]
  2590. <bb 6> [local count: 9761273]:
  2591. # DEBUG BEGIN_STMT
  2592. pxTimer_47 = xMessage.u.xTimerParameters.pxTimer;
  2593. # DEBUG pxTimer => pxTimer_47
  2594. # DEBUG BEGIN_STMT
  2595. _6 = pxTimer_47->xTimerListItem.pvContainer;
  2596. if (_6 != 0B)
  2597. goto <bb 7>; [53.47%]
  2598. else
  2599. goto <bb 8>; [46.53%]
  2600. <bb 7> [local count: 5219353]:
  2601. # DEBUG BEGIN_STMT
  2602. _7 = &pxTimer_47->xTimerListItem;
  2603. uxListRemove (_7);
  2604. <bb 8> [local count: 9761273]:
  2605. # DEBUG BEGIN_STMT
  2606. # DEBUG BEGIN_STMT
  2607. # DEBUG BEGIN_STMT
  2608. xTimeNow_50 = prvSampleTimeNow (&xTimerListsWereSwitched);
  2609. # DEBUG xTimeNow => xTimeNow_50
  2610. # DEBUG BEGIN_STMT
  2611. _8 = xMessage.xMessageID;
  2612. switch (_8) <default: <L41> [20.00%], case 1 ... 2: <L11> [20.00%], case 3: <L21> [20.00%], case 4: <L23> [20.00%], case 5: <L28> [20.00%], case 6 ... 7: <L11> [20.00%], case 8: <L21> [20.00%], case 9: <L23> [20.00%]>
  2613. <bb 28> [local count: 1952255]:
  2614. <L41>:
  2615. goto <bb 24>; [100.00%]
  2616. <bb 9> [local count: 1952255]:
  2617. # pxTimer_14 = PHI <pxTimer_47(8)>
  2618. # xTimeNow_46 = PHI <xTimeNow_50(8)>
  2619. <L11>:
  2620. # DEBUG BEGIN_STMT
  2621. _9 = pxTimer_14->ucStatus;
  2622. _10 = _9 | 1;
  2623. pxTimer_14->ucStatus = _10;
  2624. # DEBUG BEGIN_STMT
  2625. _11 = xMessage.u.xTimerParameters.xMessageValue;
  2626. _12 = pxTimer_14->xTimerPeriodInTicks;
  2627. _13 = _11 + _12;
  2628. _15 = prvInsertTimerInActiveList (pxTimer_14, _13, xTimeNow_46, _11);
  2629. if (_15 != 0)
  2630. goto <bb 10>; [50.00%]
  2631. else
  2632. goto <bb 22>; [50.00%]
  2633. <bb 10> [local count: 976127]:
  2634. # DEBUG BEGIN_STMT
  2635. _16 = pxTimer_14->ucStatus;
  2636. _65 = _16 & 4;
  2637. if (_65 != 0)
  2638. goto <bb 11>; [33.00%]
  2639. else
  2640. goto <bb 12>; [67.00%]
  2641. <bb 11> [local count: 322122]:
  2642. # DEBUG BEGIN_STMT
  2643. _17 = xMessage.u.xTimerParameters.xMessageValue;
  2644. _18 = pxTimer_14->xTimerPeriodInTicks;
  2645. _19 = _17 + _18;
  2646. prvReloadTimer (pxTimer_14, _19, xTimeNow_46);
  2647. goto <bb 13>; [100.00%]
  2648. <bb 12> [local count: 654005]:
  2649. # DEBUG BEGIN_STMT
  2650. _21 = _16 & 254;
  2651. pxTimer_14->ucStatus = _21;
  2652. <bb 13> [local count: 976127]:
  2653. # DEBUG BEGIN_STMT
  2654. # DEBUG BEGIN_STMT
  2655. _22 = pxTimer_14->pxCallbackFunction;
  2656. _22 (pxTimer_14);
  2657. goto <bb 22>; [100.00%]
  2658. <bb 14> [local count: 1952255]:
  2659. # pxTimer_20 = PHI <pxTimer_47(8)>
  2660. <L21>:
  2661. # DEBUG BEGIN_STMT
  2662. _23 = pxTimer_20->ucStatus;
  2663. _24 = _23 & 254;
  2664. pxTimer_20->ucStatus = _24;
  2665. # DEBUG BEGIN_STMT
  2666. goto <bb 22>; [100.00%]
  2667. <bb 15> [local count: 1952255]:
  2668. # pxTimer_44 = PHI <pxTimer_47(8)>
  2669. # xTimeNow_67 = PHI <xTimeNow_50(8)>
  2670. <L23>:
  2671. # DEBUG BEGIN_STMT
  2672. _25 = pxTimer_44->ucStatus;
  2673. _26 = _25 | 1;
  2674. pxTimer_44->ucStatus = _26;
  2675. # DEBUG BEGIN_STMT
  2676. _27 = xMessage.u.xTimerParameters.xMessageValue;
  2677. pxTimer_44->xTimerPeriodInTicks = _27;
  2678. # DEBUG BEGIN_STMT
  2679. if (_27 == 0)
  2680. goto <bb 16>; [5.50%]
  2681. else
  2682. goto <bb 18>; [94.50%]
  2683. <bb 16> [local count: 107374]:
  2684. # DEBUG BEGIN_STMT
  2685. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  2686. # DEBUG BEGIN_STMT
  2687. # DEBUG BEGIN_STMT
  2688. __asm__ __volatile__(" mov %0, %1
  2689. msr basepri, %0
  2690. isb
  2691. dsb
  2692. " : "=r" ulNewBASEPRI_64 : "i" 16 : "memory");
  2693. # DEBUG ulNewBASEPRI => ulNewBASEPRI_64
  2694. <bb 17> [local count: 1073741824]:
  2695. # DEBUG ulNewBASEPRI => NULL
  2696. # DEBUG BEGIN_STMT
  2697. # DEBUG BEGIN_STMT
  2698. # DEBUG BEGIN_STMT
  2699. <bb 27> [local count: 1073741824]:
  2700. goto <bb 17>; [100.00%]
  2701. <bb 18> [local count: 1844881]:
  2702. # DEBUG BEGIN_STMT
  2703. # DEBUG BEGIN_STMT
  2704. _30 = _27 + xTimeNow_67;
  2705. prvInsertTimerInActiveList (pxTimer_44, _30, xTimeNow_67, xTimeNow_67);
  2706. # DEBUG BEGIN_STMT
  2707. goto <bb 22>; [100.00%]
  2708. <bb 19> [local count: 1952255]:
  2709. # pxTimer_56 = PHI <pxTimer_47(8)>
  2710. <L28>:
  2711. # DEBUG BEGIN_STMT
  2712. _31 = pxTimer_56->ucStatus;
  2713. _63 = _31 & 2;
  2714. if (_63 == 0)
  2715. goto <bb 20>; [33.00%]
  2716. else
  2717. goto <bb 21>; [67.00%]
  2718. <bb 20> [local count: 644244]:
  2719. # DEBUG BEGIN_STMT
  2720. vPortFree (pxTimer_56);
  2721. goto <bb 22>; [100.00%]
  2722. <bb 21> [local count: 1308011]:
  2723. # DEBUG BEGIN_STMT
  2724. _33 = _31 & 254;
  2725. pxTimer_56->ucStatus = _33;
  2726. <bb 22> [local count: 7701644]:
  2727. <bb 23> [local count: 18138407]:
  2728. <bb 24> [local count: 20090662]:
  2729. <L38>:
  2730. <bb 25> [local count: 187807075]:
  2731. # DEBUG BEGIN_STMT
  2732. xTimerQueue.16_34 = xTimerQueue;
  2733. _35 = xQueueReceive (xTimerQueue.16_34, &xMessage, 0);
  2734. if (_35 != 0)
  2735. goto <bb 3>; [94.50%]
  2736. else
  2737. goto <bb 26>; [5.50%]
  2738. <bb 26> [local count: 10329389]:
  2739. xMessage ={v} {CLOBBER};
  2740. xTimerListsWereSwitched ={v} {CLOBBER};
  2741. return;
  2742. }
  2743. prvInsertTimerInActiveList (struct Timer_t * const pxTimer, const TickType_t xNextExpiryTime, const TickType_t xTimeNow, const TickType_t xCommandTime)
  2744. {
  2745. BaseType_t xProcessTimerNow;
  2746. long unsigned int _1;
  2747. long unsigned int _2;
  2748. struct List_t * pxCurrentTimerList.15_3;
  2749. struct ListItem_t * _4;
  2750. <bb 2> [local count: 1073741824]:
  2751. # DEBUG BEGIN_STMT
  2752. # DEBUG xProcessTimerNow => 0
  2753. # DEBUG BEGIN_STMT
  2754. pxTimer_8(D)->xTimerListItem.xItemValue = xNextExpiryTime_9(D);
  2755. # DEBUG BEGIN_STMT
  2756. pxTimer_8(D)->xTimerListItem.pvOwner = pxTimer_8(D);
  2757. # DEBUG BEGIN_STMT
  2758. if (xNextExpiryTime_9(D) <= xTimeNow_12(D))
  2759. goto <bb 3>; [50.00%]
  2760. else
  2761. goto <bb 5>; [50.00%]
  2762. <bb 3> [local count: 536870913]:
  2763. # DEBUG BEGIN_STMT
  2764. _1 = xTimeNow_12(D) - xCommandTime_13(D);
  2765. _2 = pxTimer_8(D)->xTimerPeriodInTicks;
  2766. if (_1 >= _2)
  2767. goto <bb 8>; [67.00%]
  2768. else
  2769. goto <bb 4>; [33.00%]
  2770. <bb 4> [local count: 177167400]:
  2771. # DEBUG D#1 => xNextExpiryTime_9(D)
  2772. # DEBUG D#2 => xTimeNow_12(D)
  2773. # DEBUG D#3 => xCommandTime_13(D)
  2774. xProcessTimerNow_16 = prvInsertTimerInActiveList.part.0 (pxTimer_8(D));
  2775. goto <bb 8>; [100.00%]
  2776. <bb 5> [local count: 536870913]:
  2777. # DEBUG BEGIN_STMT
  2778. if (xTimeNow_12(D) < xCommandTime_13(D))
  2779. goto <bb 6>; [67.00%]
  2780. else
  2781. goto <bb 7>; [33.00%]
  2782. <bb 6> [local count: 359703511]:
  2783. if (xNextExpiryTime_9(D) >= xCommandTime_13(D))
  2784. goto <bb 8>; [50.00%]
  2785. else
  2786. goto <bb 7>; [50.00%]
  2787. <bb 7> [local count: 357019157]:
  2788. # DEBUG BEGIN_STMT
  2789. pxCurrentTimerList.15_3 = pxCurrentTimerList;
  2790. _4 = &pxTimer_8(D)->xTimerListItem;
  2791. vListInsert (pxCurrentTimerList.15_3, _4);
  2792. <bb 8> [local count: 1073741824]:
  2793. # xProcessTimerNow_5 = PHI <xProcessTimerNow_16(4), 1(6), 0(7), 1(3)>
  2794. # DEBUG xProcessTimerNow => xProcessTimerNow_5
  2795. # DEBUG BEGIN_STMT
  2796. return xProcessTimerNow_5;
  2797. }
  2798. prvSampleTimeNow (BaseType_t * const pxTimerListsWereSwitched)
  2799. {
  2800. static TickType_t xLastTime = 0;
  2801. TickType_t xTimeNow;
  2802. long unsigned int xLastTime.9_1;
  2803. <bb 2> [local count: 1073741824]:
  2804. # DEBUG BEGIN_STMT
  2805. # DEBUG BEGIN_STMT
  2806. # DEBUG BEGIN_STMT
  2807. xTimeNow_5 = xTaskGetTickCount ();
  2808. # DEBUG xTimeNow => xTimeNow_5
  2809. # DEBUG BEGIN_STMT
  2810. xLastTime.9_1 = xLastTime;
  2811. if (xLastTime.9_1 > xTimeNow_5)
  2812. goto <bb 3>; [33.00%]
  2813. else
  2814. goto <bb 4>; [67.00%]
  2815. <bb 3> [local count: 354334802]:
  2816. # DEBUG BEGIN_STMT
  2817. prvSwitchTimerLists ();
  2818. # DEBUG BEGIN_STMT
  2819. *pxTimerListsWereSwitched_6(D) = 1;
  2820. goto <bb 5>; [100.00%]
  2821. <bb 4> [local count: 719407023]:
  2822. # DEBUG BEGIN_STMT
  2823. *pxTimerListsWereSwitched_6(D) = 0;
  2824. <bb 5> [local count: 1073741824]:
  2825. # DEBUG BEGIN_STMT
  2826. xLastTime = xTimeNow_5;
  2827. # DEBUG BEGIN_STMT
  2828. return xTimeNow_5;
  2829. }
  2830. prvGetNextExpireTime (BaseType_t * const pxListWasEmpty)
  2831. {
  2832. TickType_t xNextExpireTime;
  2833. struct List_t * pxCurrentTimerList.3_1;
  2834. long unsigned int _2;
  2835. struct xLIST_ITEM * _3;
  2836. long int iftmp.2_5;
  2837. <bb 2> [local count: 1073741824]:
  2838. # DEBUG BEGIN_STMT
  2839. # DEBUG BEGIN_STMT
  2840. pxCurrentTimerList.3_1 = pxCurrentTimerList;
  2841. _2 ={v} pxCurrentTimerList.3_1->uxNumberOfItems;
  2842. if (_2 == 0)
  2843. goto <bb 4>; [50.00%]
  2844. else
  2845. goto <bb 3>; [50.00%]
  2846. <bb 3> [local count: 536870913]:
  2847. <bb 4> [local count: 1073741824]:
  2848. # iftmp.2_5 = PHI <1(2), 0(3)>
  2849. *pxListWasEmpty_7(D) = iftmp.2_5;
  2850. # DEBUG BEGIN_STMT
  2851. if (iftmp.2_5 == 0)
  2852. goto <bb 5>; [50.00%]
  2853. else
  2854. goto <bb 6>; [50.00%]
  2855. <bb 5> [local count: 536870913]:
  2856. # DEBUG BEGIN_STMT
  2857. _3 = pxCurrentTimerList.3_1->xListEnd.pxNext;
  2858. xNextExpireTime_9 = _3->xItemValue;
  2859. # DEBUG xNextExpireTime => xNextExpireTime_9
  2860. <bb 6> [local count: 1073741824]:
  2861. # xNextExpireTime_4 = PHI <xNextExpireTime_9(5), 0(4)>
  2862. # DEBUG xNextExpireTime => xNextExpireTime_4
  2863. # DEBUG BEGIN_STMT
  2864. return xNextExpireTime_4;
  2865. }
  2866. prvProcessTimerOrBlockTask (const TickType_t xNextExpireTime, BaseType_t xListWasEmpty)
  2867. {
  2868. BaseType_t xTimerListsWereSwitched;
  2869. TickType_t xTimeNow;
  2870. long int xTimerListsWereSwitched.5_1;
  2871. struct List_t * pxOverflowTimerList.7_2;
  2872. long unsigned int _3;
  2873. struct QueueDefinition * xTimerQueue.8_4;
  2874. long unsigned int _5;
  2875. long int _6;
  2876. <bb 2> [local count: 1073741823]:
  2877. # DEBUG BEGIN_STMT
  2878. # DEBUG BEGIN_STMT
  2879. # DEBUG BEGIN_STMT
  2880. vTaskSuspendAll ();
  2881. # DEBUG BEGIN_STMT
  2882. xTimeNow_12 = prvSampleTimeNow (&xTimerListsWereSwitched);
  2883. # DEBUG xTimeNow => xTimeNow_12
  2884. # DEBUG BEGIN_STMT
  2885. xTimerListsWereSwitched.5_1 = xTimerListsWereSwitched;
  2886. if (xTimerListsWereSwitched.5_1 == 0)
  2887. goto <bb 3>; [67.00%]
  2888. else
  2889. goto <bb 12>; [33.00%]
  2890. <bb 3> [local count: 719407022]:
  2891. # DEBUG BEGIN_STMT
  2892. if (xListWasEmpty_14(D) == 0)
  2893. goto <bb 4>; [50.00%]
  2894. else
  2895. goto <bb 6>; [50.00%]
  2896. <bb 4> [local count: 359703511]:
  2897. if (xTimeNow_12 >= xNextExpireTime_15(D))
  2898. goto <bb 5>; [33.00%]
  2899. else
  2900. goto <bb 6>; [67.00%]
  2901. <bb 5> [local count: 118702158]:
  2902. # DEBUG BEGIN_STMT
  2903. xTaskResumeAll ();
  2904. # DEBUG BEGIN_STMT
  2905. prvProcessExpiredTimer (xNextExpireTime_15(D), xTimeNow_12);
  2906. goto <bb 13>; [100.00%]
  2907. <bb 6> [local count: 600704864]:
  2908. # DEBUG BEGIN_STMT
  2909. if (xListWasEmpty_14(D) != 0)
  2910. goto <bb 7>; [50.00%]
  2911. else
  2912. goto <bb 10>; [50.00%]
  2913. <bb 7> [local count: 300352432]:
  2914. # DEBUG BEGIN_STMT
  2915. pxOverflowTimerList.7_2 = pxOverflowTimerList;
  2916. _3 ={v} pxOverflowTimerList.7_2->uxNumberOfItems;
  2917. if (_3 == 0)
  2918. goto <bb 10>; [50.00%]
  2919. else
  2920. goto <bb 8>; [50.00%]
  2921. <bb 8> [local count: 150176216]:
  2922. <bb 10> [local count: 600704864]:
  2923. # xListWasEmpty_7 = PHI <xListWasEmpty_14(D)(6), 0(8), 1(7)>
  2924. # DEBUG xListWasEmpty => xListWasEmpty_7
  2925. # DEBUG BEGIN_STMT
  2926. xTimerQueue.8_4 = xTimerQueue;
  2927. _5 = xNextExpireTime_15(D) - xTimeNow_12;
  2928. vQueueWaitForMessageRestricted (xTimerQueue.8_4, _5, xListWasEmpty_7);
  2929. # DEBUG BEGIN_STMT
  2930. _6 = xTaskResumeAll ();
  2931. if (_6 == 0)
  2932. goto <bb 11>; [50.00%]
  2933. else
  2934. goto <bb 13>; [50.00%]
  2935. <bb 11> [local count: 300352432]:
  2936. # DEBUG BEGIN_STMT
  2937. MEM[(volatile uint32_t *)3758157060B] ={v} 268435456;
  2938. # DEBUG BEGIN_STMT
  2939. __asm__ __volatile__("dsb" : : : "memory");
  2940. # DEBUG BEGIN_STMT
  2941. __asm__ __volatile__("isb");
  2942. # DEBUG BEGIN_STMT
  2943. goto <bb 13>; [100.00%]
  2944. <bb 12> [local count: 354334802]:
  2945. # DEBUG BEGIN_STMT
  2946. xTaskResumeAll ();
  2947. <bb 13> [local count: 1073741824]:
  2948. xTimerListsWereSwitched ={v} {CLOBBER};
  2949. return;
  2950. }
  2951. prvTimerTask (void * pvParameters)
  2952. {
  2953. BaseType_t xListWasEmpty;
  2954. TickType_t xNextExpireTime;
  2955. long int xListWasEmpty.1_1;
  2956. <bb 2> [local count: 107374]:
  2957. <bb 3> [local count: 1073741824]:
  2958. # DEBUG BEGIN_STMT
  2959. # DEBUG BEGIN_STMT
  2960. # DEBUG BEGIN_STMT
  2961. # DEBUG BEGIN_STMT
  2962. # DEBUG BEGIN_STMT
  2963. xNextExpireTime_5 = prvGetNextExpireTime (&xListWasEmpty);
  2964. # DEBUG xNextExpireTime => xNextExpireTime_5
  2965. # DEBUG BEGIN_STMT
  2966. xListWasEmpty.1_1 = xListWasEmpty;
  2967. prvProcessTimerOrBlockTask (xNextExpireTime_5, xListWasEmpty.1_1);
  2968. # DEBUG BEGIN_STMT
  2969. prvProcessReceivedCommands ();
  2970. # DEBUG BEGIN_STMT
  2971. <bb 4> [local count: 1073741824]:
  2972. goto <bb 3>; [100.00%]
  2973. }
  2974. prvProcessExpiredTimer (const TickType_t xNextExpireTime, const TickType_t xTimeNow)
  2975. {
  2976. struct Timer_t * const pxTimer;
  2977. struct List_t * pxCurrentTimerList.13_1;
  2978. struct xLIST_ITEM * _2;
  2979. struct ListItem_t * _3;
  2980. unsigned char _4;
  2981. unsigned char _5;
  2982. void (*<T689>) (struct tmrTimerControl *) _6;
  2983. unsigned char _16;
  2984. <bb 2> [local count: 1073741824]:
  2985. # DEBUG BEGIN_STMT
  2986. pxCurrentTimerList.13_1 = pxCurrentTimerList;
  2987. _2 = pxCurrentTimerList.13_1->xListEnd.pxNext;
  2988. pxTimer_9 = _2->pvOwner;
  2989. # DEBUG pxTimer => pxTimer_9
  2990. # DEBUG BEGIN_STMT
  2991. _3 = &pxTimer_9->xTimerListItem;
  2992. uxListRemove (_3);
  2993. # DEBUG BEGIN_STMT
  2994. _4 = pxTimer_9->ucStatus;
  2995. _16 = _4 & 4;
  2996. if (_16 != 0)
  2997. goto <bb 3>; [33.00%]
  2998. else
  2999. goto <bb 4>; [67.00%]
  3000. <bb 3> [local count: 354334802]:
  3001. # DEBUG BEGIN_STMT
  3002. prvReloadTimer (pxTimer_9, xNextExpireTime_12(D), xTimeNow_13(D));
  3003. goto <bb 5>; [100.00%]
  3004. <bb 4> [local count: 719407023]:
  3005. # DEBUG BEGIN_STMT
  3006. _5 = _4 & 254;
  3007. pxTimer_9->ucStatus = _5;
  3008. <bb 5> [local count: 1073741824]:
  3009. # DEBUG BEGIN_STMT
  3010. # DEBUG BEGIN_STMT
  3011. _6 = pxTimer_9->pxCallbackFunction;
  3012. _6 (pxTimer_9);
  3013. return;
  3014. }
  3015. prvReloadTimer (struct Timer_t * const pxTimer, TickType_t xExpiredTime, const TickType_t xTimeNow)
  3016. {
  3017. long unsigned int _1;
  3018. void (*<T689>) (struct tmrTimerControl *) _2;
  3019. long unsigned int _3;
  3020. long unsigned int _4;
  3021. long int _5;
  3022. <bb 2> [local count: 118111600]:
  3023. # DEBUG BEGIN_STMT
  3024. goto <bb 4>; [100.00%]
  3025. <bb 3> [local count: 955630223]:
  3026. # DEBUG BEGIN_STMT
  3027. _1 = pxTimer_10(D)->xTimerPeriodInTicks;
  3028. xExpiredTime_13 = _1 + xExpiredTime_6;
  3029. # DEBUG xExpiredTime => xExpiredTime_13
  3030. # DEBUG BEGIN_STMT
  3031. # DEBUG BEGIN_STMT
  3032. _2 = pxTimer_10(D)->pxCallbackFunction;
  3033. _2 (pxTimer_10(D));
  3034. <bb 4> [local count: 1073741824]:
  3035. # xExpiredTime_6 = PHI <xExpiredTime_8(D)(2), xExpiredTime_13(3)>
  3036. # DEBUG xExpiredTime => xExpiredTime_6
  3037. # DEBUG BEGIN_STMT
  3038. _3 = pxTimer_10(D)->xTimerPeriodInTicks;
  3039. _4 = _3 + xExpiredTime_6;
  3040. _5 = prvInsertTimerInActiveList (pxTimer_10(D), _4, xTimeNow_11(D), xExpiredTime_6);
  3041. if (_5 != 0)
  3042. goto <bb 3>; [89.00%]
  3043. else
  3044. goto <bb 5>; [11.00%]
  3045. <bb 5> [local count: 118111601]:
  3046. return;
  3047. }
  3048. pcTimerGetName (struct tmrTimerControl * xTimer)
  3049. {
  3050. uint32_t ulNewBASEPRI;
  3051. const char * _3;
  3052. <bb 2> [local count: 357913]:
  3053. # DEBUG BEGIN_STMT
  3054. # DEBUG pxTimer => xTimer_1(D)
  3055. # DEBUG BEGIN_STMT
  3056. if (xTimer_1(D) == 0B)
  3057. goto <bb 3>; [30.00%]
  3058. else
  3059. goto <bb 5>; [70.00%]
  3060. <bb 3> [local count: 107374]:
  3061. # DEBUG BEGIN_STMT
  3062. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3063. # DEBUG BEGIN_STMT
  3064. # DEBUG BEGIN_STMT
  3065. __asm__ __volatile__(" mov %0, %1
  3066. msr basepri, %0
  3067. isb
  3068. dsb
  3069. " : "=r" ulNewBASEPRI_4 : "i" 16 : "memory");
  3070. # DEBUG ulNewBASEPRI => ulNewBASEPRI_4
  3071. <bb 4> [local count: 1073741824]:
  3072. # DEBUG ulNewBASEPRI => NULL
  3073. # DEBUG BEGIN_STMT
  3074. # DEBUG BEGIN_STMT
  3075. # DEBUG BEGIN_STMT
  3076. <bb 6> [local count: 1073741824]:
  3077. goto <bb 4>; [100.00%]
  3078. <bb 5> [local count: 250539]:
  3079. # DEBUG BEGIN_STMT
  3080. # DEBUG BEGIN_STMT
  3081. _3 = MEM[(struct Timer_t *)xTimer_1(D)].pcTimerName;
  3082. return _3;
  3083. }
  3084. xTimerGetExpiryTime (struct tmrTimerControl * xTimer)
  3085. {
  3086. uint32_t ulNewBASEPRI;
  3087. TickType_t xReturn;
  3088. <bb 2> [local count: 357913]:
  3089. # DEBUG BEGIN_STMT
  3090. # DEBUG pxTimer => xTimer_1(D)
  3091. # DEBUG BEGIN_STMT
  3092. # DEBUG BEGIN_STMT
  3093. if (xTimer_1(D) == 0B)
  3094. goto <bb 3>; [30.00%]
  3095. else
  3096. goto <bb 5>; [70.00%]
  3097. <bb 3> [local count: 107374]:
  3098. # DEBUG BEGIN_STMT
  3099. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3100. # DEBUG BEGIN_STMT
  3101. # DEBUG BEGIN_STMT
  3102. __asm__ __volatile__(" mov %0, %1
  3103. msr basepri, %0
  3104. isb
  3105. dsb
  3106. " : "=r" ulNewBASEPRI_4 : "i" 16 : "memory");
  3107. # DEBUG ulNewBASEPRI => ulNewBASEPRI_4
  3108. <bb 4> [local count: 1073741824]:
  3109. # DEBUG ulNewBASEPRI => NULL
  3110. # DEBUG BEGIN_STMT
  3111. # DEBUG BEGIN_STMT
  3112. # DEBUG BEGIN_STMT
  3113. <bb 6> [local count: 1073741824]:
  3114. goto <bb 4>; [100.00%]
  3115. <bb 5> [local count: 250539]:
  3116. # DEBUG BEGIN_STMT
  3117. # DEBUG BEGIN_STMT
  3118. xReturn_3 = MEM[(struct Timer_t *)xTimer_1(D)].xTimerListItem.xItemValue;
  3119. # DEBUG xReturn => xReturn_3
  3120. # DEBUG BEGIN_STMT
  3121. return xReturn_3;
  3122. }
  3123. uxTimerGetReloadMode (struct tmrTimerControl * xTimer)
  3124. {
  3125. uint32_t ulNewBASEPRI;
  3126. UBaseType_t uxReturn;
  3127. unsigned char _1;
  3128. unsigned char _4;
  3129. <bb 2> [local count: 230763]:
  3130. # DEBUG BEGIN_STMT
  3131. # DEBUG pxTimer => xTimer_3(D)
  3132. # DEBUG BEGIN_STMT
  3133. # DEBUG BEGIN_STMT
  3134. if (xTimer_3(D) == 0B)
  3135. goto <bb 3>; [46.53%]
  3136. else
  3137. goto <bb 5>; [53.47%]
  3138. <bb 3> [local count: 107374]:
  3139. # DEBUG BEGIN_STMT
  3140. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3141. # DEBUG BEGIN_STMT
  3142. # DEBUG BEGIN_STMT
  3143. __asm__ __volatile__(" mov %0, %1
  3144. msr basepri, %0
  3145. isb
  3146. dsb
  3147. " : "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
  3148. # DEBUG ulNewBASEPRI => ulNewBASEPRI_8
  3149. <bb 4> [local count: 1073741824]:
  3150. # DEBUG ulNewBASEPRI => NULL
  3151. # DEBUG BEGIN_STMT
  3152. # DEBUG BEGIN_STMT
  3153. # DEBUG BEGIN_STMT
  3154. <bb 8> [local count: 1073741824]:
  3155. goto <bb 4>; [100.00%]
  3156. <bb 5> [local count: 123389]:
  3157. # DEBUG BEGIN_STMT
  3158. # DEBUG BEGIN_STMT
  3159. vPortEnterCritical ();
  3160. # DEBUG BEGIN_STMT
  3161. _1 = MEM[(struct Timer_t *)xTimer_3(D)].ucStatus;
  3162. _4 = _1 & 4;
  3163. if (_4 == 0)
  3164. goto <bb 7>; [50.00%]
  3165. else
  3166. goto <bb 6>; [50.00%]
  3167. <bb 6> [local count: 61694]:
  3168. # DEBUG BEGIN_STMT
  3169. # DEBUG uxReturn => 1
  3170. <bb 7> [local count: 123389]:
  3171. # uxReturn_2 = PHI <0(5), 1(6)>
  3172. # DEBUG uxReturn => uxReturn_2
  3173. # DEBUG BEGIN_STMT
  3174. vPortExitCritical ();
  3175. # DEBUG BEGIN_STMT
  3176. return uxReturn_2;
  3177. }
  3178. vTimerSetReloadMode (struct tmrTimerControl * xTimer, const UBaseType_t uxAutoReload)
  3179. {
  3180. uint32_t ulNewBASEPRI;
  3181. unsigned char _1;
  3182. unsigned char _2;
  3183. unsigned char _3;
  3184. unsigned char _4;
  3185. <bb 2> [local count: 230763]:
  3186. # DEBUG BEGIN_STMT
  3187. # DEBUG pxTimer => xTimer_6(D)
  3188. # DEBUG BEGIN_STMT
  3189. if (xTimer_6(D) == 0B)
  3190. goto <bb 3>; [46.53%]
  3191. else
  3192. goto <bb 5>; [53.47%]
  3193. <bb 3> [local count: 107374]:
  3194. # DEBUG BEGIN_STMT
  3195. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3196. # DEBUG BEGIN_STMT
  3197. # DEBUG BEGIN_STMT
  3198. __asm__ __volatile__(" mov %0, %1
  3199. msr basepri, %0
  3200. isb
  3201. dsb
  3202. " : "=r" ulNewBASEPRI_13 : "i" 16 : "memory");
  3203. # DEBUG ulNewBASEPRI => ulNewBASEPRI_13
  3204. <bb 4> [local count: 1073741824]:
  3205. # DEBUG ulNewBASEPRI => NULL
  3206. # DEBUG BEGIN_STMT
  3207. # DEBUG BEGIN_STMT
  3208. # DEBUG BEGIN_STMT
  3209. <bb 9> [local count: 1073741824]:
  3210. goto <bb 4>; [100.00%]
  3211. <bb 5> [local count: 123389]:
  3212. # DEBUG BEGIN_STMT
  3213. # DEBUG BEGIN_STMT
  3214. vPortEnterCritical ();
  3215. # DEBUG BEGIN_STMT
  3216. if (uxAutoReload_9(D) != 0)
  3217. goto <bb 6>; [50.00%]
  3218. else
  3219. goto <bb 7>; [50.00%]
  3220. <bb 6> [local count: 61694]:
  3221. # DEBUG BEGIN_STMT
  3222. _1 = MEM[(struct Timer_t *)xTimer_6(D)].ucStatus;
  3223. _2 = _1 | 4;
  3224. MEM[(struct Timer_t *)xTimer_6(D)].ucStatus = _2;
  3225. goto <bb 8>; [100.00%]
  3226. <bb 7> [local count: 61694]:
  3227. # DEBUG BEGIN_STMT
  3228. _3 = MEM[(struct Timer_t *)xTimer_6(D)].ucStatus;
  3229. _4 = _3 & 251;
  3230. MEM[(struct Timer_t *)xTimer_6(D)].ucStatus = _4;
  3231. <bb 8> [local count: 123389]:
  3232. # DEBUG BEGIN_STMT
  3233. vPortExitCritical ();
  3234. return;
  3235. }
  3236. xTimerGetPeriod (struct tmrTimerControl * xTimer)
  3237. {
  3238. uint32_t ulNewBASEPRI;
  3239. TickType_t _3;
  3240. <bb 2> [local count: 357913]:
  3241. # DEBUG BEGIN_STMT
  3242. # DEBUG pxTimer => xTimer_1(D)
  3243. # DEBUG BEGIN_STMT
  3244. if (xTimer_1(D) == 0B)
  3245. goto <bb 3>; [30.00%]
  3246. else
  3247. goto <bb 5>; [70.00%]
  3248. <bb 3> [local count: 107374]:
  3249. # DEBUG BEGIN_STMT
  3250. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3251. # DEBUG BEGIN_STMT
  3252. # DEBUG BEGIN_STMT
  3253. __asm__ __volatile__(" mov %0, %1
  3254. msr basepri, %0
  3255. isb
  3256. dsb
  3257. " : "=r" ulNewBASEPRI_4 : "i" 16 : "memory");
  3258. # DEBUG ulNewBASEPRI => ulNewBASEPRI_4
  3259. <bb 4> [local count: 1073741824]:
  3260. # DEBUG ulNewBASEPRI => NULL
  3261. # DEBUG BEGIN_STMT
  3262. # DEBUG BEGIN_STMT
  3263. # DEBUG BEGIN_STMT
  3264. <bb 6> [local count: 1073741824]:
  3265. goto <bb 4>; [100.00%]
  3266. <bb 5> [local count: 250539]:
  3267. # DEBUG BEGIN_STMT
  3268. # DEBUG BEGIN_STMT
  3269. _3 = MEM[(struct Timer_t *)xTimer_1(D)].xTimerPeriodInTicks;
  3270. return _3;
  3271. }
  3272. xTimerGetTimerDaemonTaskHandle ()
  3273. {
  3274. uint32_t ulNewBASEPRI;
  3275. struct tskTaskControlBlock * xTimerTaskHandle.24_1;
  3276. <bb 2> [local count: 357913]:
  3277. # DEBUG BEGIN_STMT
  3278. xTimerTaskHandle.24_1 = xTimerTaskHandle;
  3279. if (xTimerTaskHandle.24_1 == 0B)
  3280. goto <bb 3>; [30.00%]
  3281. else
  3282. goto <bb 5>; [70.00%]
  3283. <bb 3> [local count: 107374]:
  3284. # DEBUG BEGIN_STMT
  3285. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3286. # DEBUG BEGIN_STMT
  3287. # DEBUG BEGIN_STMT
  3288. __asm__ __volatile__(" mov %0, %1
  3289. msr basepri, %0
  3290. isb
  3291. dsb
  3292. " : "=r" ulNewBASEPRI_3 : "i" 16 : "memory");
  3293. # DEBUG ulNewBASEPRI => ulNewBASEPRI_3
  3294. <bb 4> [local count: 1073741824]:
  3295. # DEBUG ulNewBASEPRI => NULL
  3296. # DEBUG BEGIN_STMT
  3297. # DEBUG BEGIN_STMT
  3298. # DEBUG BEGIN_STMT
  3299. <bb 6> [local count: 1073741824]:
  3300. goto <bb 4>; [100.00%]
  3301. <bb 5> [local count: 250539]:
  3302. # DEBUG BEGIN_STMT
  3303. # DEBUG BEGIN_STMT
  3304. return xTimerTaskHandle.24_1;
  3305. }
  3306. xTimerGenericCommand (struct tmrTimerControl * xTimer, const BaseType_t xCommandID, const TickType_t xOptionalValue, BaseType_t * const pxHigherPriorityTaskWoken, const TickType_t xTicksToWait)
  3307. {
  3308. uint32_t ulNewBASEPRI;
  3309. struct DaemonTaskMessage_t xMessage;
  3310. BaseType_t xReturn;
  3311. struct QueueDefinition * xTimerQueue.20_1;
  3312. long int _2;
  3313. struct QueueDefinition * xTimerQueue.21_3;
  3314. struct QueueDefinition * xTimerQueue.22_4;
  3315. <bb 2> [local count: 357913]:
  3316. # DEBUG BEGIN_STMT
  3317. # DEBUG xReturn => 0
  3318. # DEBUG BEGIN_STMT
  3319. # DEBUG BEGIN_STMT
  3320. if (xTimer_7(D) == 0B)
  3321. goto <bb 3>; [30.00%]
  3322. else
  3323. goto <bb 5>; [70.00%]
  3324. <bb 3> [local count: 107374]:
  3325. # DEBUG BEGIN_STMT
  3326. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3327. # DEBUG BEGIN_STMT
  3328. # DEBUG BEGIN_STMT
  3329. __asm__ __volatile__(" mov %0, %1
  3330. msr basepri, %0
  3331. isb
  3332. dsb
  3333. " : "=r" ulNewBASEPRI_24 : "i" 16 : "memory");
  3334. # DEBUG ulNewBASEPRI => ulNewBASEPRI_24
  3335. <bb 4> [local count: 1073741824]:
  3336. # DEBUG ulNewBASEPRI => NULL
  3337. # DEBUG BEGIN_STMT
  3338. # DEBUG BEGIN_STMT
  3339. # DEBUG BEGIN_STMT
  3340. <bb 12> [local count: 1073741824]:
  3341. goto <bb 4>; [100.00%]
  3342. <bb 5> [local count: 250539]:
  3343. # DEBUG BEGIN_STMT
  3344. # DEBUG BEGIN_STMT
  3345. xTimerQueue.20_1 = xTimerQueue;
  3346. if (xTimerQueue.20_1 != 0B)
  3347. goto <bb 6>; [70.00%]
  3348. else
  3349. goto <bb 11>; [30.00%]
  3350. <bb 6> [local count: 175378]:
  3351. # DEBUG BEGIN_STMT
  3352. xMessage.xMessageID = xCommandID_9(D);
  3353. # DEBUG BEGIN_STMT
  3354. xMessage.u.xTimerParameters.xMessageValue = xOptionalValue_11(D);
  3355. # DEBUG BEGIN_STMT
  3356. xMessage.u.xTimerParameters.pxTimer = xTimer_7(D);
  3357. # DEBUG BEGIN_STMT
  3358. if (xCommandID_9(D) <= 5)
  3359. goto <bb 7>; [50.00%]
  3360. else
  3361. goto <bb 10>; [50.00%]
  3362. <bb 7> [local count: 87689]:
  3363. # DEBUG BEGIN_STMT
  3364. _2 = xTaskGetSchedulerState ();
  3365. if (_2 == 2)
  3366. goto <bb 8>; [34.00%]
  3367. else
  3368. goto <bb 9>; [66.00%]
  3369. <bb 8> [local count: 29814]:
  3370. # DEBUG BEGIN_STMT
  3371. xTimerQueue.21_3 = xTimerQueue;
  3372. xReturn_22 = xQueueGenericSend (xTimerQueue.21_3, &xMessage, xTicksToWait_20(D), 0);
  3373. # DEBUG xReturn => xReturn_22
  3374. goto <bb 11>; [100.00%]
  3375. <bb 9> [local count: 57875]:
  3376. # DEBUG BEGIN_STMT
  3377. xTimerQueue.22_4 = xTimerQueue;
  3378. xReturn_19 = xQueueGenericSend (xTimerQueue.22_4, &xMessage, 0, 0);
  3379. # DEBUG xReturn => xReturn_19
  3380. goto <bb 11>; [100.00%]
  3381. <bb 10> [local count: 87689]:
  3382. # DEBUG BEGIN_STMT
  3383. xReturn_16 = xQueueGenericSendFromISR (xTimerQueue.20_1, &xMessage, pxHigherPriorityTaskWoken_14(D), 0);
  3384. # DEBUG xReturn => xReturn_16
  3385. <bb 11> [local count: 250539]:
  3386. # xReturn_5 = PHI <0(5), xReturn_16(10), xReturn_19(9), xReturn_22(8)>
  3387. # DEBUG xReturn => xReturn_5
  3388. # DEBUG BEGIN_STMT
  3389. # DEBUG BEGIN_STMT
  3390. xMessage ={v} {CLOBBER};
  3391. return xReturn_5;
  3392. }
  3393. xTimerCreate (const char * const pcTimerName, const TickType_t xTimerPeriodInTicks, const UBaseType_t uxAutoReload, void * const pvTimerID, void (*TimerCallbackFunction_t) (struct tmrTimerControl *) pxCallbackFunction)
  3394. {
  3395. struct Timer_t * pxNewTimer;
  3396. <bb 2> [local count: 1073741824]:
  3397. # DEBUG BEGIN_STMT
  3398. # DEBUG BEGIN_STMT
  3399. pxNewTimer_4 = pvPortMalloc (44);
  3400. # DEBUG pxNewTimer => pxNewTimer_4
  3401. # DEBUG BEGIN_STMT
  3402. if (pxNewTimer_4 != 0B)
  3403. goto <bb 3>; [53.47%]
  3404. else
  3405. goto <bb 4>; [46.53%]
  3406. <bb 3> [local count: 574129754]:
  3407. # DEBUG BEGIN_STMT
  3408. pxNewTimer_4->ucStatus = 0;
  3409. # DEBUG BEGIN_STMT
  3410. prvInitialiseNewTimer (pcTimerName_6(D), xTimerPeriodInTicks_7(D), uxAutoReload_8(D), pvTimerID_9(D), pxCallbackFunction_10(D), pxNewTimer_4);
  3411. <bb 4> [local count: 1073741824]:
  3412. # DEBUG BEGIN_STMT
  3413. return pxNewTimer_4;
  3414. }
  3415. xTimerCreateTimerTask ()
  3416. {
  3417. uint32_t ulNewBASEPRI;
  3418. BaseType_t xReturn;
  3419. struct QueueDefinition * xTimerQueue.0_1;
  3420. <bb 2> [local count: 146556]:
  3421. # DEBUG BEGIN_STMT
  3422. # DEBUG xReturn => 0
  3423. # DEBUG BEGIN_STMT
  3424. prvCheckForValidListAndQueue ();
  3425. # DEBUG BEGIN_STMT
  3426. xTimerQueue.0_1 = xTimerQueue;
  3427. if (xTimerQueue.0_1 != 0B)
  3428. goto <bb 4>; [53.47%]
  3429. else
  3430. goto <bb 5>; [46.53%]
  3431. <bb 4> [local count: 78363]:
  3432. # DEBUG BEGIN_STMT
  3433. xReturn_5 = xTaskCreate (prvTimerTask, "Tmr Svc", 180, 0B, 2, &xTimerTaskHandle);
  3434. # DEBUG xReturn => xReturn_5
  3435. # DEBUG BEGIN_STMT
  3436. # DEBUG BEGIN_STMT
  3437. if (xReturn_5 == 0)
  3438. goto <bb 5>; [50.00%]
  3439. else
  3440. goto <bb 7>; [50.00%]
  3441. <bb 5> [local count: 107374]:
  3442. # DEBUG xReturn => NULL
  3443. # DEBUG BEGIN_STMT
  3444. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3445. # DEBUG BEGIN_STMT
  3446. # DEBUG BEGIN_STMT
  3447. __asm__ __volatile__(" mov %0, %1
  3448. msr basepri, %0
  3449. isb
  3450. dsb
  3451. " : "=r" ulNewBASEPRI_7 : "i" 16 : "memory");
  3452. # DEBUG ulNewBASEPRI => ulNewBASEPRI_7
  3453. <bb 6> [local count: 1073741824]:
  3454. # DEBUG ulNewBASEPRI => NULL
  3455. # DEBUG BEGIN_STMT
  3456. # DEBUG BEGIN_STMT
  3457. # DEBUG BEGIN_STMT
  3458. <bb 8> [local count: 1073741824]:
  3459. goto <bb 6>; [100.00%]
  3460. <bb 7> [local count: 39182]:
  3461. # DEBUG BEGIN_STMT
  3462. # DEBUG BEGIN_STMT
  3463. return xReturn_5;
  3464. }