<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>measure clock cycles consumed by a code in Cortex-M</title><link>https://community.arm.com/developer/ip-products/processors/f/classic-processors-forum/48297/measure-clock-cycles-consumed-by-a-code-in-cortex-m</link><description> Hi, 
 
 I want to measure/profile no of clock cycles takes to run a c++ code (say in cortex-M). How can I do this? </description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: measure clock cycles consumed by a code in Cortex-M</title><link>https://community.arm.com/thread/169242?ContentTypeID=1</link><pubDate>Thu, 17 Dec 2020 21:29:47 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:7e742d7a-8ac5-4066-8bd6-b8f03b237980</guid><dc:creator>Andy Neil</dc:creator><description>[quote userid="70896" url="~/developer/ip-products/processors/f/classic-processors-forum/48297/measure-clock-cycles-consumed-by-a-code-in-cortex-m"]cortex-M[/quote]
&lt;p&gt;So why have you posted in the &amp;#39;Classic Processors&amp;#39; forum?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: measure clock cycles consumed by a code in Cortex-M</title><link>https://community.arm.com/thread/169232?ContentTypeID=1</link><pubDate>Thu, 17 Dec 2020 15:01:11 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:1d8b83c0-e96f-4d21-9f5c-968d75abddf5</guid><dc:creator>42Bastian Schick</dc:creator><description>&lt;p&gt;First read the Cortex-M3 manual and maybe &amp;quot;the_definitive_guide_to_arm_cortex_m3_and_cortex_m4&amp;quot;. After reading you know the answer (and even more).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>