<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — Profiler Bug]]></title>
	<link rel="self" href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=995&amp;type=atom" />
	<updated>2025-11-02T17:06:21Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.approximatrix.com/viewtopic.php?id=995</id>
		<entry>
			<title type="html"><![CDATA[Re: Profiler Bug]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=4500#p4500" />
			<content type="html"><![CDATA[<p>Pete,</p><p>Actually, looking at your flags again, you appear to be using link-time optimizations.&nbsp; I believe that won&#039;t work with profiling (or debugging for that matter).</p><p><em>EDIT:</em> Generally speaking, optimization will introduce a lot of problems with profiling and debugging.&nbsp; Sometimes it&#039;s better to perform those tasks without optimization first.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2025-11-02T17:06:21Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=4500#p4500</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Profiler Bug]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=4499#p4499" />
			<content type="html"><![CDATA[<p>Hi Jeff,<br />That didn&#039;t fix it. It&#039;s the craziest thing. The profiler might work 1 few times then after a minor code change it goes blank. The only way to get it going again is to create a new project and re-add the files to it.<br />My totally unscientific speculation is that it is related to me calling out to c code to access some simd instructions<br />Pete</p>]]></content>
			<author>
				<name><![CDATA[peter.kelly]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3586</uri>
			</author>
			<updated>2025-11-01T06:55:52Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=4499#p4499</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Profiler Bug]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=4496#p4496" />
			<content type="html"><![CDATA[<p>Pete,</p><p>For profiling to work, I believe you need debugging information as well.&nbsp; Simply Fortran might automatically disable debugging when optimization is enabled, so you may have to add the </p><div class="codebox"><pre><code>-g</code></pre></div><p> flag manually to your list of compiler flags.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2025-10-25T12:13:01Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=4496#p4496</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Profiler Bug]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=4495#p4495" />
			<content type="html"><![CDATA[<p>Hi Jeff,<br />I&#039;m running on Windows. I&#039;m working on an encryption program that takes ~5 seconds to complete. I do have optimizations turned on.&nbsp; -pg -O3 -fgraphite-identity -floop-interchange -floop-strip-mine -floop-block -floop-parallelize-all -flto -mtune=znver3 -march=znver3</p>]]></content>
			<author>
				<name><![CDATA[peter.kelly]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3586</uri>
			</author>
			<updated>2025-10-25T00:08:09Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=4495#p4495</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Profiler Bug]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=4494#p4494" />
			<content type="html"><![CDATA[<p>Pete,</p><p>I wasn&#039;t aware of this behavior.&nbsp; What platform are you seeing this on?&nbsp; Windows?&nbsp; I&#039;ll try to replicate it on my end.</p><p>Can you give some additional details?&nbsp; Is your program long-running (taking a minute or two at the very least ideally)?&nbsp; Do you have all optimizations disabled?</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2025-10-24T13:34:52Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=4494#p4494</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Profiler Bug]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=4493#p4493" />
			<content type="html"><![CDATA[<p>Hi Jeff, For reasons that I can&#039;t determine, the profiler starts to misreport. It will produce an empty report containing just the headers with no data/routine names. Once it happens to your project - it never recovers. When I inspect the gmon file it is mostly filled with nuls. Do you know of this behavior and how to get it working again in a project?<br />Regards, Pete</p>]]></content>
			<author>
				<name><![CDATA[peter.kelly]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3586</uri>
			</author>
			<updated>2025-10-24T07:36:36Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=4493#p4493</id>
		</entry>
</feed>
