<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.amddevcentral.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
  <title>AMD Developer Forums - AMD CodeAnalyst</title> 
  <description /> 
  <link>http://forums.amd.com/forum/index.cfm?forumid=9</link> 
  <generator>FuseTalk Hosting Executive Plan</generator> 

	<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.amddevcentral.com/AmdDeveloperForums-AmdCodeanalyst" /><feedburner:info uri="amddeveloperforums-amdcodeanalyst" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>AmdDeveloperForums-AmdCodeanalyst</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Can't see any source code in CodeAnalyst</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/qfdDswvD6eQ/messageview.cfm</link> 
		<pubDate>2010-03-06T01:34:50 -05.00</pubDate> 
		<dc:creator>AndrewSmart</dc:creator>
   	    <slash:comments>3</slash:comments> 
		<description>&lt;p&gt;Hi folks,&lt;/p&gt;
&lt;p&gt;I've been struggling to get this working for a week or two now. I'm trying to time-based profile my application "Midnight.exe" using CodeAnalyst which is integrated to VS2008 Pro.&lt;/p&gt;
&lt;p&gt;When viewing the results, under the "Processes" tab, I can see that Midnight.exe has a result of 5.91 Timer samples.&lt;/p&gt;
&lt;p&gt;Drilling into this, it then shows the breakdown of processes within Midnight.exe, of which the .exe itself shows 24.68 Timer Samples.&lt;/p&gt;
&lt;p&gt;Drilling further, it shows a list of function names with offsets and the number of timer samples for each. Here the symbol names for the functions are being displayed correctly.&lt;/p&gt;
&lt;p&gt;The problem comes when I drill down 1 more level into any of these functions. It displays the actual name of the source file that contains the relevant function, but no source code. The source files is listed with Timer Samples = 0 which doesn't seem right&lt;/p&gt;
&lt;p&gt;I've made sure the path is set correctly to my source files in the Options dialog within VS, and various other combinations of settings, but nothing seems to bring the source code up.&lt;/p&gt;
&lt;p&gt;When trying the "classic.exe" example that comes with CodeAnalyst, this works fine and I can see the actual source code.&lt;/p&gt;
&lt;p&gt;Can anyone suggest what might be wrong, or some other things to check as I've run out of ideas&lt;/p&gt;
&lt;p&gt;Thanks for any help&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/qfdDswvD6eQ" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=129231</feedburner:origLink></item>

	<item>
		<title>oprofile source package</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/i-q-HXVPafw/messageview.cfm</link> 
		<pubDate>2010-02-11T05:30:55 -05.00</pubDate> 
		<dc:creator>ehasenle</dc:creator>
   	    <slash:comments>2</slash:comments> 
		<description>&lt;p&gt;The CodeAnalyst package is rather big, has lots of dependencies and takes some time to compile. Personally I am used to use the bare-bones oprofile command line tool.&lt;/p&gt;
&lt;p&gt;Is it possible that AMD provides an oprofile source package without CodeAnalyst until the changes have been merged upstream?&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/i-q-HXVPafw" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=127605</feedburner:origLink></item>

	<item>
		<title>profiling C++ function within a called DLL</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/gXQRKQDyS4Q/messageview.cfm</link> 
		<pubDate>2010-01-29T09:20:45 -05.00</pubDate> 
		<dc:creator>mimarsh2</dc:creator>
   	    <slash:comments>1</slash:comments> 
		<description>&lt;p&gt;This is my first time using AMD CodeAnalyst.&amp;nbsp; So far it's been great for profiling pure C++ code.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My work uses NI Labview and the data display frontend on our C++ processing DLLs.&amp;nbsp; Can I run my DLL with Labview and profile just the function that I want to look at?&lt;/p&gt;
&lt;p&gt;Is this what the API is for?&amp;nbsp; In the time sampling example, a new process is launched.&amp;nbsp; I would like to stick some API code into my DLL and profile and single function.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/gXQRKQDyS4Q" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=126662</feedburner:origLink></item>

	<item>
		<title>FP eceptions on equality assignment from array value?</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/g7G2u9YFOsA/messageview.cfm</link> 
		<pubDate>2010-01-26T10:10:57 -05.00</pubDate> 
		<dc:creator>heavensonearth</dc:creator>
   	    <slash:comments>2</slash:comments> 
		<description>&lt;p&gt;Now I have an unexpected &amp;nbsp;question...CodeAnalyst is reporting FP exceptions here:&lt;/p&gt;
&lt;p&gt;float a[2], b;&lt;br /&gt;....&lt;br /&gt;{math stuff to calculate b}&lt;br /&gt;....&lt;br /&gt;a[1] = b;&lt;/p&gt;
&lt;p&gt;Is this because&amp;nbsp;array&amp;nbsp;values must be exactly 32 bits and b may be represented at higher precision due to denormalized approximations, so it is being truncated to fit into the array? Or is there another possible explanation? I'm quite confused why an equality assignment would cause a floating point exception.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/g7G2u9YFOsA" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=126400</feedburner:origLink></item>

	<item>
		<title>Toolbar doesn't show in VS 2005</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/BRzRPuWbFXM/messageview.cfm</link> 
		<pubDate>2010-01-18T05:42:19 -05.00</pubDate> 
		<dc:creator>linkrocks</dc:creator>
   	    <slash:comments>7</slash:comments> 
		<description>&lt;p&gt;I had Code Analyst working on my PC in VS 2005 and somehow I hid the toolbar and now I can't find it. It's not under View-&amp;gt;Otherwindows or the Toolbars drop down list. I tried uninstalling and reinstalling CA without any success of the toolbar reappearing. When I look under tools-&amp;gt;options I see CA and its options for General, Directories, Toolbars and even with all of the option checked I still see nothing. I'm running Win 7, but as I said I had it running before on here, I just don't know how to get it working again.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/BRzRPuWbFXM" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=125892</feedburner:origLink></item>

	<item>
		<title>Setting trace point for CodeAnalyst/Linux</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/LXGg1yHA6cY/messageview.cfm</link> 
		<pubDate>2010-01-05T04:26:57 -05.00</pubDate> 
		<dc:creator>matsbror</dc:creator>
   	    <slash:comments>2</slash:comments> 
		<description>&lt;p&gt;I have a program which has a long initialization phase for which I am not particularly interested in measuring performance. Is there a way that I can make a profile that starts at a particular point in the code. I understand this possibility exist for the pipeline simulation (which only exist for Windows), but is there a way I can do a similar thing in event-based profiling on Linux?&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Mats Brorsson&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/LXGg1yHA6cY" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=125098</feedburner:origLink></item>

	<item>
		<title>IRET instructon generating general protection fault</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/O-hjQ25pRFM/messageview.cfm</link> 
		<pubDate>2010-01-04T13:06:13 -05.00</pubDate> 
		<dc:creator>jas_dit</dc:creator>
   	    <slash:comments>1</slash:comments> 
		<description>&lt;p&gt;I am trying to develop a 32 bit linux kernel which will be capable of running 64 bit applications. For this I am running proessor in long mode.&lt;/p&gt;
&lt;p&gt;When I am trying to return from 64-bit kernel mode to compatibility user mode via IRET instruction it is givng GP#0. The values it is trying to restore is valid one and EFLAGS.NT is also clear. I am trying to restore the following contents.&lt;/p&gt;
&lt;p&gt;00000000 0000002B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - SS&lt;/p&gt;
&lt;p&gt;00000000 BFB088B0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - SP&lt;/p&gt;
&lt;p&gt;00000000 00000200&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - EFLAGS&lt;/p&gt;
&lt;p&gt;00000000 00000023&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - CS&lt;/p&gt;
&lt;p&gt;00000000 08048074&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - IP&lt;/p&gt;
&lt;p&gt;Current CFLAGS is 00000000 00000002&lt;/p&gt;
&lt;p&gt;The error code I am getting is 0.&lt;/p&gt;
&lt;p&gt;From programmers guide I am not able to get any reason for which it can generate a general potection fault with error code 0.&lt;/p&gt;
&lt;p&gt;can somebody please help.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/O-hjQ25pRFM" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=125066</feedburner:origLink></item>

	<item>
		<title>Don't see symbols from .pdb</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/5Q9xU8IhuLM/messageview.cfm</link> 
		<pubDate>2009-12-29T18:40:04 -05.00</pubDate> 
		<dc:creator>ols6000@sbcglobal.net</dc:creator>
   	    <slash:comments>3</slash:comments> 
		<description>&lt;p&gt;I am attempting TBP on a .exe under WinXP64. If I use Express mode, I can launch my app and profile successfully.&lt;/p&gt;
&lt;p&gt;What I want to do now is take samples while the pgm is already running. I managed this by using Normal mode and leaving the "Launch" box blank. CA took samples, and displayed the results, but in my app, the symbols are missing ("NO SYMBOL").&lt;/p&gt;
&lt;p&gt;The .pdb file is in the same directory as the .exe. I used the Tools/CodeAnalysst options/Directories tab to add the directory of the .pdb (and .exe) to Debug File Search Paths. The source (all C++) is in a different directory, shown in the Additional Source Dir box.&lt;/p&gt;
&lt;p&gt;How can I get CA to read my symbols for this kind of sampling?&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/5Q9xU8IhuLM" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=124664</feedburner:origLink></item>

	<item>
		<title>Have the kernel module and oprofile been merged upstream?</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/sSP92DgRzhE/messageview.cfm</link> 
		<pubDate>2009-12-19T06:44:58 -05.00</pubDate> 
		<dc:creator>colberts</dc:creator>
   	    <slash:comments>2</slash:comments> 
		<description>&lt;p&gt;Have the kernel module and oprofile been merged upstream?&lt;/p&gt;
&lt;p&gt;If not, why?&lt;/p&gt;
&lt;p&gt;Also, making the changes available as a diff might make supporting more versions of the linux kernel easier, or even automatic. Why limit the versions of kernel Code analyst can be used with.&lt;/p&gt;
&lt;p&gt;There are other things that could be done also, like maintain a git repository following the linux kernel developement, and a automated build to check whether the changes to the oprofile kernel module work with any given vanilla kernel.&amp;nbsp; Then Code Analyst would just work with any kernel version.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/sSP92DgRzhE" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=123997</feedburner:origLink></item>

	<item>
		<title>C# Timer based profiling - bad source view and other problems</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/GIgsTuuoLoU/messageview.cfm</link> 
		<pubDate>2009-12-12T17:50:06 -05.00</pubDate> 
		<dc:creator>Numsgil</dc:creator>
   	    <slash:comments>2</slash:comments> 
		<description>&lt;p&gt;I just downloaded the latest version of CodeAnalyst today to profile my C# project.&amp;nbsp; It's a nice profiler, but I've run in to some issues.&amp;nbsp; Could these be looked at sometime in the future?&lt;/p&gt;
&lt;p&gt;See &lt;a href="http://www.darwinbots.com/numsgil/Azimuth.zip"&gt;this session&lt;/a&gt; (let me know if I need to include anything else).&lt;/p&gt;
&lt;p&gt;Issue one:&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp; Open the session.&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp; Go to System Graph.&lt;/p&gt;
&lt;p&gt;3.&amp;nbsp; Double click on the blue bar next to Azimuth.dll.jit&lt;/p&gt;
&lt;p&gt;4.&amp;nbsp; Double click the first large blue bar next to Azimuth.DenseLinearAlgebra.QRDecomposition::Decompose+3237.&lt;/p&gt;
&lt;p&gt;5.&amp;nbsp; The source view reports a single line (at line 303) as taking 99.64% of the execution time.&amp;nbsp; As near as I can tell it's combined the timings from the entire inner loop of my QR decomposition function.&lt;/p&gt;
&lt;p&gt;6.&amp;nbsp; I thought this was an artifact of running in release with optimizations, but if you go back to the Azimuth.dll.jit graph, and double click on other blue bars, you get correctly taken to lines of code that make sense to me.&lt;/p&gt;
&lt;p&gt;So as near as I can tell the Azimuth.dll.jit graph is fine, and gives results I would expect, but the source view is totally broken.&amp;nbsp; Any ideas why?&amp;nbsp; Is this a limitation of .NET code?&lt;/p&gt;
&lt;p&gt;Issue two:&lt;/p&gt;
&lt;p&gt;I'm using the Visual Studio integration.&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp; I go to session settings and set "Start with the profiling paused".&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp; I start my session.&amp;nbsp; The profiling starts paused, as I would expect.&lt;/p&gt;
&lt;p&gt;3.&amp;nbsp; I get my app to start the QR decomposition.&amp;nbsp; A window appears above Visual Studio (my App) and it gains focus.&lt;/p&gt;
&lt;p&gt;4.&amp;nbsp; I try to click on the "pause" button for CodeAnalyst inside Visual Studio.&amp;nbsp; But instead of unpausing the profiler, it just makes Visual Studio gain focus instead without unpausing the profiler.&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/GIgsTuuoLoU" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=123602</feedburner:origLink></item>

	<item>
		<title>Can someone explain something?</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/GQTdktZVWzM/messageview.cfm</link> 
		<pubDate>2009-12-03T17:12:36 -05.00</pubDate> 
		<dc:creator>Morantex</dc:creator>
   	    <slash:comments>1</slash:comments> 
		<description>&lt;p&gt;I have seen the following in the &lt;em&gt;Code Analyst&lt;/em&gt; breakdown of a small function, each line of machine code is executed the same number of times.&lt;/p&gt;
&lt;p&gt;mov rax,[rdx]&lt;/p&gt;
&lt;p&gt;mov rax,[rcx+rax+00000150h]&lt;/p&gt;
&lt;p&gt;add rax,rcx&lt;/p&gt;
&lt;p&gt;retnq&lt;/p&gt;
&lt;p&gt;Now the first 'mov' line takes 4 CPU clocks, the second 'mov' line takes 2 CPU clocks, but the 'add' line &lt;em&gt;&lt;strong&gt;takes 63 CPU&lt;/strong&gt;&lt;/em&gt; clocks (this is what appears in the source code stats in Code Analyst).&lt;/p&gt;
&lt;p&gt;I'm seeing this sort of unexpected disparity in many places as I profile a large API and test programs. Innocent looking machine instructions that appear to take &lt;em&gt;far longer&lt;/em&gt; than similar ones nearby.&lt;/p&gt;
&lt;p&gt;Is the displayed 'CPU clocks' reliable? (the 'hot' instructions don't seem to change so I guess they are).&lt;/p&gt;
&lt;p&gt;This is in optimized x64 C code running under Vista x64 with an Athlon X2 6000+ and 8GB RAM and benchmarked using Visual Studio 2008 with the Code Analyst addin.&lt;/p&gt;
&lt;p&gt;The profiling used is simply "Assess Performance".&lt;/p&gt;
&lt;p&gt;Many of the 'hot functions' we are sooming in on, often end up having this kind of bizarre cause, isolated little instructions that seem to be consuming lots of cycles.&lt;/p&gt;
&lt;p&gt;I'm no guru on the internals of the x64 processors or the timings of the x64 instruction set, but these numbers do look suspicious.&lt;/p&gt;
&lt;p&gt;I'd appreciate any insights into what is going on here.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Hugh&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/GQTdktZVWzM" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=123123</feedburner:origLink></item>

	<item>
		<title>Hit Count</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/pUdpgg8hS84/messageview.cfm</link> 
		<pubDate>2009-12-03T11:57:51 -05.00</pubDate> 
		<dc:creator>Morantex</dc:creator>
   	    <slash:comments>2</slash:comments> 
		<description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;CodeAnalyst is proving useful to me but I am frustrated by the lack of a hit count feature.&lt;/p&gt;
&lt;p&gt;Can you guys consider adding this to a future version?&lt;/p&gt;
&lt;p&gt;If I see a line in some DLL of mine has taken 450 cpu cycles, then it helps to know if that line was executed 1 time, 100 times or a 1,000,000 times.&lt;/p&gt;
&lt;p&gt;Without that info it is very hard to assess the overall importance of some suspected hot spot.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Hugh&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/pUdpgg8hS84" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=123107</feedburner:origLink></item>

	<item>
		<title>the selected session does not have any data</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/Hbel1Lyo_Ek/messageview.cfm</link> 
		<pubDate>2009-12-02T14:38:28 -05.00</pubDate> 
		<dc:creator>afabri</dc:creator>
   	    <slash:comments>4</slash:comments> 
		<description>&lt;p&gt;After having installed CodeAnalyst on a Turion64 bit, XP64 machine I try to run CodeAnalyst on the example program. It runs the example program and when it is finished a window pops up with the text "the selected session does not have any data".&amp;nbsp; The same happens with my own programs.&lt;/p&gt;
&lt;p&gt;Any advice?&lt;/p&gt;
&lt;p&gt;andreas&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/Hbel1Lyo_Ek" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=123051</feedburner:origLink></item>

	<item>
		<title>debug vs release mode</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/e93_Mw7nj1w/messageview.cfm</link> 
		<pubDate>2009-12-02T04:25:19 -05.00</pubDate> 
		<dc:creator>afabri</dc:creator>
   	    <slash:comments>2</slash:comments> 
		<description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I get started with the CodeAnalyst, and reading the chapter "Preparing an Application for Profiling" I am already confused. &amp;nbsp;&amp;nbsp; I would like to&amp;nbsp; analyze code in release mode, because otherwise no inlining of C++ happens at all, so my idea is to compile in release mode, but add /Zi and /DEBUG.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is that the right approach?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;andreas&lt;/p&gt;
&lt;p&gt;Preparing an Application for Profiling&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/e93_Mw7nj1w" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=123028</feedburner:origLink></item>

	<item>
		<title>L2 and L3 cache hit/miss measurements</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/Mq8CtA-1wRw/messageview.cfm</link> 
		<pubDate>2009-10-30T19:49:39 -05.00</pubDate> 
		<dc:creator>jyost</dc:creator>
   	    <slash:comments>1</slash:comments> 
		<description>&lt;p&gt;I've got a very simple loop that is accessing an array - it's just a very simple test program.&amp;nbsp; I've noticed that the number of read requests to the L3 cache (event 0x4E0) is many times greater than the number of L2 cache misses (event 0x7E).&amp;nbsp; I'm using a unit mask of 0xF1 for event 0x4E0, and a unit mask of 0x6 for event 0x7E.&amp;nbsp; So I'm only looking at data, not instructions.&amp;nbsp; What I'm wodering is: where are all these read requests to L3 coming from, if not from L2 cache misses?&amp;nbsp; The ratio is almost exactly 32 to 1, which is itself kind of suspicious.&amp;nbsp; Is the cache line size somehow involved in a way that is not obvious to me?&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/Mq8CtA-1wRw" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=121283</feedburner:origLink></item>

	<item>
		<title>memory accesses question</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/KC7-f8_c8_8/messageview.cfm</link> 
		<pubDate>2009-10-30T12:53:38 -05.00</pubDate> 
		<dc:creator>jyost</dc:creator>
   	    <slash:comments>7</slash:comments> 
		<description>&lt;p&gt;I'm kind of new to CodeAnalyst and I find that I frequently get results that I don't expect or have difficulty interpreting.&lt;/p&gt;
&lt;p&gt;Here's an example.&amp;nbsp; Consider the following little test program:&lt;/p&gt;
&lt;p&gt;#include &amp;lt;stdlib.h&amp;gt;&lt;br /&gt;#include &amp;lt;string.h&amp;gt;&lt;br /&gt;&lt;br /&gt;main()&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; size_t size = 1000000;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int iters = 1000;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; unsigned char *buf = (unsigned char *)malloc (size);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; register unsigned char sum = 0;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (register int i = 0; i &amp;lt; iters; i++)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (register int j = 0; j &amp;lt; size; j++)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; sum += buf[j];&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return sum;&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;Compiled as follows:&lt;/p&gt;
&lt;p&gt;g++ -o simple simple.cpp&lt;/p&gt;
&lt;p&gt;(So - no optimization.)&lt;/p&gt;
&lt;p&gt;I would expect this to do ony reads, and no (or very few) writes to main memory.&amp;nbsp; In fact, if I look at events 0x6C (reads) and 0x6D (writes), it seems to do about as many reads as writes, if I'm interpreting the results correctly.&amp;nbsp; Hmmm ... Maybe "sum" isn't being put in a register, in spite of the "register" keyword.&amp;nbsp; That's the only theory I have.&amp;nbsp; But I'm not sure that I believe that.&lt;/p&gt;
&lt;p&gt;The actual results I got from one run were 7566 for reads, 31897 for writes and 3128 for DRAM accesses - all with a sample period of 10,000.&amp;nbsp; And ... hmmm ... maybe that sample period should be 500,000.&amp;nbsp; But, still ...&lt;/p&gt;
&lt;p&gt;Another question: Why is event 0xE0 (DRAM accesses) not equal to the sum of event 0x6C (reads) and 0x6D (writes)?&lt;/p&gt;
&lt;p&gt;What I'm ultimately trying to determine is if a real program (not the above test) is bumping up against memory bandwidth limits, but I'm not sure which event or events I should look at.&amp;nbsp; BTW - I have looked at Paul Drongowski's "Basic Performance Measurements ..." document, which is certainly very helpful, but still leaves me with some questions.&amp;nbsp; (Maybe I'm just thick!)&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/KC7-f8_c8_8" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=121263</feedburner:origLink></item>

	<item>
		<title>Perfmon2 on AMD64 running RHEL5.3</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/UpxFlX_gw1U/messageview.cfm</link> 
		<pubDate>2009-10-25T02:02:00 -05.00</pubDate> 
		<dc:creator>aehusain</dc:creator>
   	    <slash:comments>1</slash:comments> 
		<description>&lt;p&gt;Dear All,&lt;/p&gt;
&lt;p&gt;I am interested in installing perfmon2 on my AMD 64 box running RHEL5.3 server. I tried installing this using 'yum', but it seems the library only works for itanium 64 archs and not for amd64.&lt;/p&gt;
&lt;p&gt;I also tried to get the latest patch from sourceforge but it gives errors while patching the kernel file.&lt;/p&gt;
&lt;p&gt;Please suggest me if someone is able to achive this task.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;Ata&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/UpxFlX_gw1U" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=120921</feedburner:origLink></item>

	<item>
		<title>A couple of instructions take 15000 cycles?</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/G3wGGW2JKC8/messageview.cfm</link> 
		<pubDate>2009-10-22T18:31:49 -05.00</pubDate> 
		<dc:creator>MackTuesday</dc:creator>
   	    <slash:comments>3</slash:comments> 
		<description>&lt;p&gt;The attached code shows the function where I'm getting this behavior.&amp;nbsp; Disassembly lines are interspersed among C++.&amp;nbsp; The offending address is 0x004015C6.&amp;nbsp; If I run either the "Assess Performance" or "Time-based Profile", CodeAnalyst reports this line as taking over 15000 clock cycles.&amp;nbsp; Why is this, and what do I do about it?&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/G3wGGW2JKC8" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=120781</feedburner:origLink></item>

	<item>
		<title>codeanalyst from opensuse 11.1 contrib</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/XOpPcD5y-NM/messageview.cfm</link> 
		<pubDate>2009-10-20T09:02:06 -05.00</pubDate> 
		<dc:creator>strieben</dc:creator>
   	    <slash:comments>3</slash:comments> 
		<description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I manually installed the codeanalyst package from openSUSE 11.1 Contrib (http://download.opensuse.org/repositories/openSUSE:/Factory:/Contrib/openSUSE_11.1/x86_64/) and ran it as root user. I can go through the tutorial until the step where i would actually run the program. There i receive the GUI error.&lt;/p&gt;
&lt;p&gt;Error starting profile: Failed to setup OProfile.&lt;/p&gt;
&lt;p&gt;When looking at /var/log/messages, I get the following line:&lt;/p&gt;
&lt;p&gt;Oct 20 14:50:21 sedici sudo:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; root : TTY=unknown ; PWD=/opt/CodeAnalyst/bin ; USER=root ; COMMAND=list&lt;/p&gt;
&lt;p&gt;/opt/CodeAnalyst is where bin, lib64, sbin and share are located. I wonder what this 'list' command is all about. Because there is absolutely no such command in my path. I also think that the kernel oprofile module has been successfully loaded, since the 'rccodeanalyst start' script runs with no errors and i get the following, when doing 'ls /dev/oprofile':&lt;/p&gt;
&lt;p&gt;0&amp;nbsp; 2&amp;nbsp; backtrace_depth&amp;nbsp; buffer_size&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu_buffer_size&amp;nbsp; dump&amp;nbsp;&amp;nbsp;&amp;nbsp; pointer_size&lt;br /&gt;1&amp;nbsp; 3&amp;nbsp; buffer&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; buffer_watershed&amp;nbsp; cpu_type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; enable&amp;nbsp; stats&lt;/p&gt;
&lt;p&gt;Thanks in advance!&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/XOpPcD5y-NM" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=120637</feedburner:origLink></item>

	<item>
		<title>Running xperf while CodeAnalyst is installed bluescreens</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/Ope-UxKq1l0/messageview.cfm</link> 
		<pubDate>2009-10-20T01:38:36 -05.00</pubDate> 
		<dc:creator>azverkan@hotmail.com</dc:creator>
   	    <slash:comments>2</slash:comments> 
		<description>&lt;p&gt;Running the command below while CodeAnalyst is installed will result in a BSOD on Vista 64.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;xperf -on Latency -stackwalk Profile&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Microsoft (R) Windows Debugger Version 6.10.0003.233 AMD64&lt;br /&gt;Copyright (c) Microsoft Corporation. All rights reserved.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Loading Dump File [C:\Windows\MEMORY.DMP]&lt;br /&gt;Kernel Summary Dump File: Only kernel address space is available&lt;br /&gt;&lt;br /&gt;Symbol search path is: SRV*c:\symbols*http://msdl.microsoft.com/download/symbols&lt;br /&gt;Executable search path is: &lt;br /&gt;Windows Server 2008/Windows Vista SP1 Kernel Version 6001 (Service Pack 1) MP (4 procs) Free x64&lt;br /&gt;Product: WinNt, suite: TerminalServer SingleUserTS&lt;br /&gt;Built by: 6001.18295.amd64fre.vistasp1_gdr.090721-0152&lt;br /&gt;Machine Name:&lt;br /&gt;Kernel base = 0xfffff800`02662000 PsLoadedModuleList = 0xfffff800`02827db0&lt;br /&gt;Debug session time: Mon Oct 19 22:26:26.272 2009 (GMT-7)&lt;br /&gt;System Uptime: 0 days 0:06:02.378&lt;br /&gt;Loading Kernel Symbols&lt;br /&gt;...............................................................&lt;br /&gt;................................................................&lt;br /&gt;................................................................&lt;br /&gt;.&lt;br /&gt;Loading User Symbols&lt;br /&gt;&lt;br /&gt;Loading unloaded module list&lt;br /&gt;............&lt;br /&gt;*******************************************************************************&lt;br /&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;br /&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Bugcheck Analysis&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;br /&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;br /&gt;*******************************************************************************&lt;br /&gt;&lt;br /&gt;Use !analyze -v to get detailed debugging information.&lt;br /&gt;&lt;br /&gt;BugCheck 1E, {ffffffffc0000096, fffffa6009c12838, 0, 0}&lt;br /&gt;&lt;br /&gt;*** ERROR: Symbol file could not be found.&amp;nbsp; Defaulted to export symbols for AMPCORE.sys - &lt;br /&gt;Probably caused by : AMPCORE.sys ( AMPCORE!AmdPcoreAddRecord+f38 )&lt;br /&gt;&lt;br /&gt;Followup: MachineOwner&lt;br /&gt;---------&lt;br /&gt;&lt;br /&gt;1: kd&amp;gt; !analyze -v&lt;br /&gt;*******************************************************************************&lt;br /&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;br /&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Bugcheck Analysis&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;br /&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;br /&gt;*******************************************************************************&lt;br /&gt;&lt;br /&gt;KMODE_EXCEPTION_NOT_HANDLED (1e)&lt;br /&gt;This is a very common bugcheck.&amp;nbsp; Usually the exception address pinpoints&lt;br /&gt;the driver/function that caused the problem.&amp;nbsp; Always note this address&lt;br /&gt;as well as the link date of the driver/image that contains this address.&lt;br /&gt;Arguments:&lt;br /&gt;Arg1: ffffffffc0000096, The exception code that was not handled&lt;br /&gt;Arg2: fffffa6009c12838, The address that the exception occurred at&lt;br /&gt;Arg3: 0000000000000000, Parameter 0 of the exception&lt;br /&gt;Arg4: 0000000000000000, Parameter 1 of the exception&lt;br /&gt;&lt;br /&gt;Debugging Details:&lt;br /&gt;------------------&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;EXCEPTION_CODE: (NTSTATUS) 0xc0000096 - {EXCEPTION}&amp;nbsp; Privileged instruction.&lt;br /&gt;&lt;br /&gt;FAULTING_IP: &lt;br /&gt;AMPCORE!AmdPcoreAddRecord+f38&lt;br /&gt;fffffa60`09c12838 0f32&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rdmsr&lt;br /&gt;&lt;br /&gt;EXCEPTION_PARAMETER1:&amp;nbsp; 0000000000000000&lt;br /&gt;&lt;br /&gt;EXCEPTION_PARAMETER2:&amp;nbsp; 0000000000000000&lt;br /&gt;&lt;br /&gt;DEFAULT_BUCKET_ID:&amp;nbsp; VISTA_DRIVER_FAULT&lt;br /&gt;&lt;br /&gt;BUGCHECK_STR:&amp;nbsp; 0x1E&lt;br /&gt;&lt;br /&gt;PROCESS_NAME:&amp;nbsp; System&lt;br /&gt;&lt;br /&gt;CURRENT_IRQL:&amp;nbsp; 0&lt;br /&gt;&lt;br /&gt;LAST_CONTROL_TRANSFER:&amp;nbsp; from fffff80002690e67 to fffff800026b6650&lt;br /&gt;&lt;br /&gt;STACK_TEXT:&amp;nbsp; &lt;br /&gt;fffffa60`0afcbff8 fffff800`02690e67 : 00000000`0000001e ffffffff`c0000096 fffffa60`09c12838 00000000`00000000 : nt!KeBugCheckEx&lt;br /&gt;fffffa60`0afcc000 fffff800`026b64a9 : fffffa60`0afcc738 fffffa60`005f6290 fffffa60`0afcc7e0 00000000`00000005 : nt! ?? ::FNODOBFM::`string'+0x29317&lt;br /&gt;fffffa60`0afcc600 fffff800`026b508d : 00000000`00000000 fffff800`026205df fffffa80`04975640 00000000`00001000 : nt!KiExceptionDispatch+0xa9&lt;br /&gt;fffffa60`0afcc7e0 fffffa60`09c12838 : fffffa60`09c0e25b fffffa80`c0010000 fffffa80`04fe8c10 fffffa80`0d082650 : nt!KiGeneralProtectionFault+0xcd&lt;br /&gt;fffffa60`0afcc978 fffffa60`09c0e25b : fffffa80`c0010000 fffffa80`04fe8c10 fffffa80`0d082650 00000000`00000002 : AMPCORE!AmdPcoreAddRecord+0xf38&lt;br /&gt;fffffa60`0afcc980 fffffa60`09c11f6b : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : AMPCORE!AmdPcoreClearAllEvents+0x16b&lt;br /&gt;fffffa60`0afcc9d0 fffffa60`09c13030 : fffffa60`0afccc08 fa60005f`00000020 00209b00`00000000 fffffa60`00fa422e : AMPCORE!AmdPcoreAddRecord+0x66b&lt;br /&gt;fffffa60`0afccb80 fffffa60`0afccc08 : fa60005f`00000020 00209b00`00000000 fffffa60`00fa422e 00000000`00000000 : AMPCORE!AmdPcoreAddRecord+0x1730&lt;br /&gt;fffffa60`0afccb88 fa60005f`00000020 : 00209b00`00000000 fffffa60`00fa422e 00000000`00000000 fffffa80`05f75190 : 0xfffffa60`0afccc08&lt;br /&gt;fffffa60`0afccb90 00209b00`00000000 : fffffa60`00fa422e 00000000`00000000 fffffa80`05f75190 fffffa60`0afccc08 : 0xfa60005f`00000020&lt;br /&gt;fffffa60`0afccb98 fffffa60`00fa422e : 00000000`00000000 fffffa80`05f75190 fffffa60`0afccc08 0000fa80`04467890 : 0x209b00`00000000&lt;br /&gt;fffffa60`0afccba0 00000000`00010000 : 00000000`00000000 00000000`00000000 00000000`00000001 fffff800`0291fd50 : ecache!EcDispatchReadWrite+0x8a6&lt;br /&gt;fffffa60`0afcccd0 00000000`00000000 : 00000000`00000000 00000000`00000001 fffff800`0291fd50 fffffa80`0d082650 : 0x10000&lt;br /&gt;fffffa60`0afcccd8 00000000`00000000 : 00000000`00000001 fffff800`0291fd50 fffffa80`0d082650 00000000`00000000 : 0x0&lt;br /&gt;fffffa60`0afccce0 00000000`00000001 : fffff800`0291fd50 fffffa80`0d082650 00000000`00000000 00000000`00000000 : 0x0&lt;br /&gt;fffffa60`0afccce8 fffff800`0291fd50 : fffffa80`0d082650 00000000`00000000 00000000`00000000 00000000`00000000 : 0x1&lt;br /&gt;fffffa60`0afcccf0 fffff800`028dafd3 : 00000000`00000000 fffffa80`04fb1880 00000000`00000080 fffffa80`0d082650 : nt!EtwpLogger+0x1f8&lt;br /&gt;fffffa60`0afccd50 fffff800`026f0816 : fffffa60`005ec180 fffffa80`04fb1880 fffffa60`005f5d40 00000000`00000001 : nt!PspSystemThreadStartup+0x57&lt;br /&gt;fffffa60`0afccd80 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : nt!KiStartSystemThread+0x16&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;STACK_COMMAND:&amp;nbsp; kb&lt;br /&gt;&lt;br /&gt;FOLLOWUP_IP: &lt;br /&gt;AMPCORE!AmdPcoreAddRecord+f38&lt;br /&gt;fffffa60`09c12838 0f32&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rdmsr&lt;br /&gt;&lt;br /&gt;SYMBOL_STACK_INDEX:&amp;nbsp; 4&lt;br /&gt;&lt;br /&gt;SYMBOL_NAME:&amp;nbsp; AMPCORE!AmdPcoreAddRecord+f38&lt;br /&gt;&lt;br /&gt;FOLLOWUP_NAME:&amp;nbsp; MachineOwner&lt;br /&gt;&lt;br /&gt;MODULE_NAME: AMPCORE&lt;br /&gt;&lt;br /&gt;IMAGE_NAME:&amp;nbsp; AMPCORE.sys&lt;br /&gt;&lt;br /&gt;DEBUG_FLR_IMAGE_TIMESTAMP:&amp;nbsp; 49f88bdc&lt;br /&gt;&lt;br /&gt;FAILURE_BUCKET_ID:&amp;nbsp; X64_0x1E_AMPCORE!AmdPcoreAddRecord+f38&lt;br /&gt;&lt;br /&gt;BUCKET_ID:&amp;nbsp; X64_0x1E_AMPCORE!AmdPcoreAddRecord+f38&lt;br /&gt;&lt;br /&gt;Followup: MachineOwner&lt;br /&gt;---------&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/Ope-UxKq1l0" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=120624</feedburner:origLink></item>

	<item>
		<title>About the measurement of L2 Cache on Opteron</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/Iix5Ne5uulM/messageview.cfm</link> 
		<pubDate>2009-10-19T08:36:03 -05.00</pubDate> 
		<dc:creator>yingbo</dc:creator>
   	    <slash:comments>1</slash:comments> 
		<description>&lt;p&gt;I'm evaluating program performance on AMD Opteron 270 with OProfile. I refer to "Basic Performance Measurements for AMD Athlon&amp;trade; 64, AMD Opteron&amp;trade; and AMD Phenom&amp;trade; Processors" by Paul J. Drongowski.&lt;/p&gt;
&lt;p&gt;Paul's artcile introduces two methods for L2 cache. One is direct method and the other is indirect method.&lt;/p&gt;
&lt;p&gt;Direct method:&lt;br /&gt;L2 request rate = (L2_requests + L2_fill_write) / Ret_instructions&lt;br /&gt;L2 miss ratio = L2_misses / (L2_requests + L2_fill_write)&lt;br /&gt;&lt;br /&gt;Indirect method:&lt;br /&gt;IC_misses = IC_refills_L2 + IC_refills_sys&lt;br /&gt;DC_misses = DC_refills_L2 + DC_refills_sys&lt;br /&gt;L2_requests = IC_misses + DC_misses + L2_requests_TLB&lt;br /&gt;L2 request rate = L2_requests / Ret_instructions&lt;br /&gt;L2_misses = IC_refills_sys + DC_refills_sys + L2_misses_TLB&lt;br /&gt;L2 miss ratio = L2_misses / L2_requests&lt;/p&gt;
&lt;p&gt;I have some questions about L2 Cache measurement.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1. How to compute L2_request_TLB in the indirect method?&lt;/strong&gt;&lt;br /&gt;My understanding is L2_request_TLB is equal to the sum of L1_ITLB_MISS_AND_L2_ITLB_MISS and L1_DTLB_AND_L2_DTLB_MISS. Event REQUESTS_TO_L2 has a mask bit (0x4) for TLB. I measured mcf and vortex in SPEC2000.&lt;/p&gt;
&lt;p&gt;opcontrol --event=REQUESTS_TO_L2:50003:0x4--event=L1_ITLB_MISS_AND_L2_ITLB_MISS:50003&amp;nbsp; --event=L1_DTLB_AND_L2_DTLB_MISS:50003 --image=mcf.exe,vortex.exe&lt;br /&gt;&lt;br /&gt;L1_DTLB_AND_L2_DTLB_MISS|REQUESTS_TO_L2:0x4|L1_ITLB_MISS_AND_L2_ITLB_MISS:50003|&lt;br /&gt;&amp;nbsp; samples|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %|&amp;nbsp; samples|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %|&amp;nbsp; samples|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %|&lt;br /&gt;-------------------------------------------------------------------------&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1377 100.000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1664 100.000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 100.000&amp;nbsp; mcf.exe&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1192 100.000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10 100.000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1816 100.000 vortex.exe&lt;/p&gt;
&lt;p&gt;The is a big discrepancy between REQUESTS_TO_L2:0x4 and (L1_ITLB_MISS_AND_L2_ITLB_MISS + L1_DTLB_AND_L2_DTLB_MISS). Which is appropriate?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2. How to compute L2_request?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Direct method: L2_requests + L2_fill_write&lt;br /&gt;Indirect method: IC_misses(IC_refills_L2 + IC_refills_sys) + DC_misses(DC_refills_L2 + DC_refills_sys) + L2_requests_TLB&lt;/p&gt;
&lt;p&gt;1) Direct method&lt;br /&gt;opcontrol --event=L2_CACHE_FILL_WRITEBACK:50003 --event=REQUESTS_TO_L2:50003:0x7 --image=mcf.exe, vortex.exe&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;L2_CACHE_FILL_WRITEBACK|REQUESTS_TO_L2:0x7|&lt;br /&gt;&amp;nbsp; samples|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %|&amp;nbsp; samples|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %|&lt;br /&gt;------------------------------------&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16402 100.000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15920 100.000 mcf.exe&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11610 100.000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 13761 100.000 vortex.exe&lt;br /&gt;&lt;br /&gt;L2_request_mcf_direct = 16402 + 15920 = 32322&lt;br /&gt;L2_request_vortex_direct = 11610 + 13761 = 25371&lt;/p&gt;
&lt;p&gt;2) Indirect method&lt;br /&gt;opcontrol --event=DATA_CACHE_REFILLS_FROM_L2_OR_SYSTEM:50003--event=INSTRUCTION_CACHE_REFILLS_FROM_L2:50003 --event=INSTRUCTION_CACHE_REFILLS_FROM_SYSTEM:50003--event=REQUESTS_TO_L2:50003:0x4 --image=mcf.exe,vortex.exe&lt;br /&gt;&lt;br /&gt;INSTRUCTION_CACHE_REFILLS_FROM_L2|INSTRUCTION_CACHE_REFILLS_FROM_SYSTEM|REQUESTS_TO_L2:0x4|DATA_CACHE_REFILLS_FROM_L2_OR_SYSTEM |&lt;br /&gt;&amp;nbsp; samples|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %|&amp;nbsp; samples|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %|&amp;nbsp; samples|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %|&amp;nbsp; samples|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %|&lt;br /&gt;------------------------------------------------------------------------&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2251 100.000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15 100.000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2160 100.000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7587 100.000 vortex.exe&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 100.000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 100.000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1660 100.000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10491 100.000 mcf.exe&lt;br /&gt;&lt;br /&gt;L2_request_mcf_indirect = 2251 + 15 + 2160 + 7587 = 12013&lt;br /&gt;L2_request_vortex_indirect = 1 + 1660 + 10491 = 12152&lt;/p&gt;
&lt;p&gt;There is a &lt;strong&gt;VERY BIG &lt;/strong&gt;discrepancy between L2_request computed with direct and indirect methods. Why?&lt;/p&gt;
&lt;p&gt;3. Are the following statements right?&lt;br /&gt;&lt;br /&gt;1) INSTRUCTION_CACHE_REFILLS_FROM_SYSTEM is equal to L2_CACHE_MISS:0x1.&lt;br /&gt;2) DATA_CACHE_REFILLS_FROM_SYSTEM is equal to L2_CACHE_MISS:0x2.&lt;/p&gt;
&lt;p&gt;Any suggestion is welcome! Appropriate measurement parameters are very necessary and important. We should have a unified version &lt;img src="i/expressions/face-icon-small-smile.gif" border="0"&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/Iix5Ne5uulM" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=120577</feedburner:origLink></item>

	<item>
		<title>Step 0 problem - error when drilling down to source code, even for classic.exe</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/zd2Tnf-PpYg/messageview.cfm</link> 
		<pubDate>2009-10-08T00:41:10 -05.00</pubDate> 
		<dc:creator>fdc2005</dc:creator>
   	    <slash:comments>3</slash:comments> 
		<description>&lt;p&gt;I have just installed CodeAnalyst 2.94.718.0, and when I run the classic.exe example that comes with the code, I get an error (details below) when I try to drill down into the source-code.&lt;/p&gt;
&lt;p&gt;Help | System Information included at bottom.&lt;/p&gt;
&lt;p&gt;Here is what I am doing:&lt;/p&gt;
&lt;p&gt;- Start | CodeAnalyst.exe&lt;/p&gt;
&lt;p&gt;- File | new | project name = classic | OK&lt;/p&gt;
&lt;p&gt;- On the "session settings dialog":&lt;/p&gt;
&lt;p&gt;1) Changed to "time-based profile"&lt;/p&gt;
&lt;p&gt;2) Launch= "C:\Program Files\AMD\CodeAnalyst\SampleCode\classic\Release\classic.exe"&lt;/p&gt;
&lt;p&gt;3) Enable "stop data collection when the app exits" and "profile the duration of the app execution"&lt;/p&gt;
&lt;p&gt;- Click OK&lt;/p&gt;
&lt;p&gt;- Click Green "start profiling" icon.&lt;/p&gt;
&lt;p&gt;- Classic.exe runs, finishes in about 10-15 seconds.&lt;/p&gt;
&lt;p&gt;- CodeAnalyst loads SystemData/SystemGraph/Processes tabs.&lt;/p&gt;
&lt;p&gt;- When I doubleclick on "classic.exe" from the Module name list on the System Data tab, there is a few second pause, and then I get a dialog title "Code Analyst Error". The error is "The specified module (\\Device\HarddiskDmVolumes\PhysicalDmVolumes\BlockVolume1\Program Files\AMD\CodeAnalyst\SampleCode\classic\Release\classic.exe) cannot be found. No module information can be shown.&lt;/p&gt;
&lt;p&gt;I saw another post about how this is a problem if the drive is encrypted or removable, but that is not the case here -- C: is not encrypted, nor is it removable. I tried moving the contents of classic to c:\temp\classic and running it from there, but same result - get a very similar error message.&lt;/p&gt;
&lt;p&gt;Can you help?&lt;/p&gt;
&lt;p&gt;thanks!&lt;/p&gt;
&lt;p&gt;-Frank.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Output from system information (computer name blanked out):&lt;/p&gt;
&lt;p&gt;---------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;Vendor: AMD, Family: AMD Athlon&amp;trade; 64 Processor&lt;/p&gt;
&lt;p style="margin: 0px; text-indent: 0px;"&gt;Family 15 Model 13 Stepping 1&lt;/p&gt;
&lt;p style="margin: 0px; text-indent: 0px;"&gt;Approximate core frequency is 2211 MHz&lt;/p&gt;
&lt;p style="margin: 0px; text-indent: 0px;"&gt;Onboard local APIC detected.&lt;/p&gt;
&lt;p style="margin: 0px; text-indent: 0px;"&gt;2 Processors Installed&lt;/p&gt;
&lt;p style="margin: 0px; text-indent: 0px;"&gt;Computer Name:xxxxx&lt;/p&gt;
&lt;p style="margin: 0px; text-indent: 0px;"&gt;Windows Server 2003 Version 5.2 Build 3790&lt;/p&gt;
&lt;p style="margin: 0px; text-indent: 0px;"&gt;Service Pack 2&lt;/p&gt;
&lt;p style="margin: 0px; text-indent: 0px;"&gt;Memory:&lt;/p&gt;
&lt;p style="margin: 0px; text-indent: 0px;"&gt;Percentage of Memory is in use: 75&lt;/p&gt;
&lt;p style="margin: 0px; text-indent: 0px;"&gt;Total physical memory: 2097151 KB&lt;/p&gt;
&lt;p style="margin: 0px; text-indent: 0px;"&gt;Free physical memory: 1028396 KB&lt;/p&gt;
&lt;p style="margin: 0px; text-indent: 0px;"&gt;Total size of paging file : 4194303 KB&lt;/p&gt;
&lt;p style="margin: 0px; text-indent: 0px;"&gt;Free size of paging file: 3143216 KB&lt;/p&gt;
&lt;p style="margin: 0px; text-indent: 0px;"&gt;Total virtual memory: 2097024 KB&lt;/p&gt;
&lt;p style="margin: 0px; text-indent: 0px;"&gt;Free virtual memory: 1952280 KB&lt;/p&gt;
&lt;p style="margin: 0px; text-indent: 0px;"&gt;Screen display: 1680 X 1050 pixels&lt;/p&gt;
&lt;p style="margin: 0px; text-indent: 0px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin: 0px; text-indent: 0px;"&gt;Output from "used dll versions" on the help | about dialog:&lt;/p&gt;
&lt;p style="margin: 0px; text-indent: 0px;"&gt;--------------------------------------------------------------------------&lt;/p&gt;
&lt;p style="margin: 0px; text-indent: 0px;"&gt;caprof.sys: 3.0.2&lt;/p&gt;
&lt;p style="margin: 0px; text-indent: 0px;"&gt;dbghelp.dll: 6.7.5&lt;/p&gt;
&lt;p style="margin: 0px; text-indent: 0px;"&gt;psapi.dll: 5.2.3790&lt;/p&gt;
&lt;p style="margin: 0px; text-indent: 0px;"&gt;CACommon.dll: 1.2.0&lt;/p&gt;
&lt;p style="margin: 0px; text-indent: 0px;"&gt;CAK86Disasm.dll: 1.4.10&lt;/p&gt;
&lt;p style="margin: 0px; text-indent: 0px;"&gt;CAWinTaskInfo.dll: 1.3.5&lt;/p&gt;
&lt;p style="margin: 0px; text-indent: 0px;"&gt;CAProfEngine.dll: 0.0.0&lt;/p&gt;
&lt;p style="margin: 0px; text-indent: 0px;"&gt;CASimEngine.dll: 0.0.0&lt;/p&gt;
&lt;p style="margin: 0px; text-indent: 0px;"&gt;caWindebug.dll: 0.0.0&lt;/p&gt;
&lt;p style="margin: 0px; text-indent: 0px;"&gt;WinSymbolEngine.dll: 1.3.7&lt;/p&gt;
&lt;p style="margin: 0px; text-indent: 0px;"&gt;DCConfig.dll: 1.0.0&lt;/p&gt;
&lt;p style="margin: 0px; text-indent: 0px;"&gt;ViewConfig.dll: 1.0.0&lt;/p&gt;
&lt;p style="margin: 0px; text-indent: 0px;"&gt;QtGui4.dll: 4.3.0&lt;/p&gt;
&lt;p style="margin: 0px; text-indent: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/zd2Tnf-PpYg" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=119994</feedburner:origLink></item>

	<item>
		<title>Exporting CodeAnalyst data from the command line</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/zQC-udutPYw/messageview.cfm</link> 
		<pubDate>2009-10-07T11:46:05 -05.00</pubDate> 
		<dc:creator>MeMo_oMeM</dc:creator>
   	    <slash:comments>4</slash:comments> 
		<description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There are hundreds (maybe thousands) of objects in the code I am analyzing, so I would like to automate the profiling process. For this purpose, I wrote a script that parses the CSV files exported by the CodeAnalyst GUI to derive the information I am looking for. However this script is useless unless I can find a way to  export CodeAnalyst data that does not involve clicking on object names one by one to export them.&lt;/p&gt;
&lt;p&gt;I can run the profiler from the command line (using opcontrol) but I could not find a way to generate CSV from the command line, I eventually have to import it into the GUI. The generated data, which is dumped under /var/lib/oprofile, is not human readable.&lt;/p&gt;
&lt;p&gt;My question is, is there a way to generate a CSV for each different object from the command line? It would be very useful if the GUI provided  a way to export data for *all* objects in separate CSV's, instead of clicking on them one by one to export, such as "export all" (?)&lt;/p&gt;
&lt;p&gt;Please tell me if my question is not clear. I will try to clarify with an example if needed. Thank you very much in advance!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/zQC-udutPYw" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=119950</feedburner:origLink></item>

	<item>
		<title>NO SYMBOLS</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/yigGor8qFZg/messageview.cfm</link> 
		<pubDate>2009-09-15T15:05:05 -05.00</pubDate> 
		<dc:creator>dody</dc:creator>
   	    <slash:comments>2</slash:comments> 
		<description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I'm a total beginner with CodeAnalyst and tried to create in Eclipse CDT on Windows XP a HelloWorld application by using the Mingw compiler and the Eclipse C++ HelloWorld template.&lt;/p&gt;
&lt;p&gt;I compiled a "debug" executable and run CodeAnalyst on it.&lt;/p&gt;
&lt;p&gt;The compiler settings are "g3" for maximum symbol information and optimization was switched of.&lt;/p&gt;
&lt;p&gt;There wre results produced but when doubleclicking on this process I get a new window with adresses and behind the message "NO SYMBOL".&lt;/p&gt;
&lt;p&gt;Doubleclicking on such a line just opens asembler code. How can I get the code displayed in CodeAnalyst like shown in the tutorials? What is my mistake?&lt;/p&gt;
&lt;p&gt;Thank you for your help&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/yigGor8qFZg" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=118927</feedburner:origLink></item>

	<item>
		<title>module merge view for CodeAnalyst?</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/vu-OXC8A048/messageview.cfm</link> 
		<pubDate>2009-09-14T18:25:21 -05.00</pubDate> 
		<dc:creator>vukicevic</dc:creator>
   	    <slash:comments>1</slash:comments> 
		<description>&lt;p&gt;One of the UI pieces that CodeAnalyst seems to share with Intel's VTune is its insistance on separating profiling data per module.&amp;nbsp; I can focus on a process and get a list of modules that are contributing to its time, but often what I really want is an overall merged view of all symbols in those modules for the given process.&amp;nbsp; This is especially true if my code involves multiple modules that are often calling eachother; analyzing problems that involve both (where the time spent is roughly evenly split between the two) is much more difficult if I need to view per-symbol data for each module independently.&lt;/p&gt;
&lt;p&gt;Is there a way to obtain a merged symbol view for multiple modules?&amp;nbsp; (That is, if I have both A.dll and B.dll contributing time, I want to view a list of symbols in either module, sorted by number of samples, instead of only being able to view the symbols in A.dll /or/ the symbols in B.dll.)&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/vu-OXC8A048" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=118890</feedburner:origLink></item>

	<item>
		<title>Loading PDB symbols files from MS</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/1LjKFlPLeEk/messageview.cfm</link> 
		<pubDate>2009-09-08T16:11:00 -05.00</pubDate> 
		<dc:creator>AshMcConnell</dc:creator>
   	    <slash:comments>3</slash:comments> 
		<description>&lt;p&gt;Hi Folks,&lt;/p&gt;
&lt;p&gt;I am running Code Analyst through Visual Studio 2008, I am trying to see the symbols from d3d9.dll which i've downloaded / cached locally using MS's PDBs, but they don't seem to be being picked up by Code Analyst. &amp;nbsp;Is there any way to specify extra PDB files?&lt;/p&gt;
&lt;p&gt;Thanks for your help!&lt;/p&gt;
&lt;p&gt;All the best,&lt;br /&gt;Ash&amp;nbsp;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/1LjKFlPLeEk" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=118597</feedburner:origLink></item>

	<item>
		<title>Error: Unable to open the events file</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/WeIO5W_FLpk/messageview.cfm</link> 
		<pubDate>2009-08-29T09:55:40 -05.00</pubDate> 
		<dc:creator>Diggsey</dc:creator>
   	    <slash:comments>21</slash:comments> 
		<description>&lt;p&gt;I've just installed CodeAnalyst, but every time I try to use it, once the sampling has finished it displays the error message 'Unable to open the events file'&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The filename in the error message is the path to the CodeAnalyst install directory plus an assortment of seemingly random chinese characters.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/WeIO5W_FLpk" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=118164</feedburner:origLink></item>

	<item>
		<title>Help me interpret Code Analyst Profile Report</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/FQB-2_Q0WGQ/messageview.cfm</link> 
		<pubDate>2009-08-27T06:32:27 -05.00</pubDate> 
		<dc:creator>prako</dc:creator>
   	    <slash:comments>1</slash:comments> 
		<description>&lt;p&gt;Hi all,&lt;br /&gt;I profiled an application using Code Analyst. I had made some changes to a function using OpenMP. After Profiling i found the function name appear twice in the report lik:&lt;/p&gt;
&lt;p&gt;FunctionName$omp1FunctionName&lt;/p&gt;
&lt;p&gt;and&lt;/p&gt;
&lt;p&gt;FunctionName.&lt;br /&gt;&lt;br /&gt;So now wat wud be the total time taken or rather the total samples for that function? Is it the sum of the samples for both instances or something els? Plz enlighten me.&lt;/p&gt;
&lt;p&gt;Thanks in Advance.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/FQB-2_Q0WGQ" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=118070</feedburner:origLink></item>

	<item>
		<title>Performance Counter selection!</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/RTxMjEg9xjQ/messageview.cfm</link> 
		<pubDate>2009-08-26T15:16:00 -05.00</pubDate> 
		<dc:creator>aehusain</dc:creator>
   	    <slash:comments>3</slash:comments> 
		<description>&lt;p&gt;Dear All,&lt;/p&gt;
&lt;p&gt;I am trying to select performance counters to measure CACHE, DISK and Memory utilization in AMD Opteron systems.&lt;/p&gt;
&lt;p&gt;Can I expect to get to get usage using following performance event monitoring:&lt;/p&gt;
&lt;p&gt;1. Cache:&amp;nbsp; Data Cache Accesses and Instruction Cache Acceses&lt;/p&gt;
&lt;p&gt;2. Memory: Dram Accesses (with unit mask 0x01 for Page hit)&lt;/p&gt;
&lt;p&gt;3. Disk: There are two components: dma and non dma&lt;/p&gt;
&lt;p&gt;a. Dram Accesses with unit mask 0x02 for Page Miss&lt;/p&gt;
&lt;p&gt;b. hypertransport link0 with unit mask 0x02 for dma'ed data&lt;/p&gt;
&lt;p&gt;If anybody has done any of these measurement, please comment if there is some gap in my understanding.&lt;/p&gt;
&lt;p&gt;I tried to run a sample copy script (copying a large image 1 Gb in loop) and analyzing the above events,&amp;nbsp;I was not able to conclude much from it.&lt;/p&gt;
&lt;p&gt;Thanks for your suggestions!&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Ata&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/RTxMjEg9xjQ" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=118041</feedburner:origLink></item>

	<item>
		<title>How to relate execution time to the CPU_CLK_UNHALTED sampling?</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/GuM6mAyqz7Q/messageview.cfm</link> 
		<pubDate>2009-08-20T22:29:16 -05.00</pubDate> 
		<dc:creator>yingbo</dc:creator>
   	    <slash:comments>3</slash:comments> 
		<description>&lt;p&gt;Hi @ll,&lt;br /&gt;&lt;br /&gt;I used OProfile on AMD Opteron 2.0GHz.&lt;br /&gt;&lt;br /&gt;opcontrol --event=CPU_CLK_UNHALTED:3001 --image=gzip.exe&lt;br /&gt;&lt;br /&gt;The sampling result is 902,645.&amp;nbsp;&amp;nbsp; The execution time of gzip.exe is 9.281s (linux time command).&lt;br /&gt; &lt;br /&gt;Estimated execution time: sampling result * sampling interval / CPU frequency&lt;br /&gt;902,645 * 3001 / 2,000,000,000 = 1.35s.&amp;nbsp; But there is a big discrepancy between the two times.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;The event CPU_CLK_UNHALTED means "CPU Clocks Not Halted". Does Oprofile count the latency time caused by cache misses or I/O?&amp;nbsp; These events can cause CPU halt.&amp;nbsp; If not,  the CPU_CLK_UNHALTED sampling result makes little sense and cannot represent program performance.&lt;/p&gt;
&lt;p&gt;But the document "Basic Performance Measurements for AMD Athlon&amp;trade; 64,AMD Opteron&amp;trade; and AMD Phenom&amp;trade; Processors"&amp;nbsp; says "IPC = Ret_instructions / CPU_clocks", which means CPU_CLK_UNHALTED counts cache misses and I/O waiting time. Is it right?&lt;/p&gt;
&lt;p&gt;BTW, when I changed event count to 1,0001 the sampling result is 752,647. And changed to 10,0001, the result is 167,612. Why does not the sampling result scale with the event count?&lt;/p&gt;
&lt;p&gt;I'm confused...&lt;/p&gt;
&lt;p&gt;Any suggestion is welcome.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/GuM6mAyqz7Q" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=117764</feedburner:origLink></item>

	<item>
		<title>Selected Session does not contain any data</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/qeONjDo1u8Y/messageview.cfm</link> 
		<pubDate>2009-08-01T07:20:24 -05.00</pubDate> 
		<dc:creator>RThaden</dc:creator>
   	    <slash:comments>5</slash:comments> 
		<description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;i have some trouble with the CodeAnalyst 2.94.718.0 on Windows XP with latest SP and a Intel Centrino Platform.&lt;/p&gt;
&lt;p&gt;First, I selected the default time based sampling configuration and started my app to be profiled. It runs for 20 s, then says "No session data" "The selected session does not contain any data".&lt;/p&gt;
&lt;p&gt;I, then, tried to profile the included classic.exe and the same thing happens no matter if I use the precompiled classic.exe or the one compiled by Visual C++ 2005 express.&lt;/p&gt;
&lt;p&gt;Did I miss something? Shouldn't that work right out of the box? &lt;br /&gt;&lt;br /&gt;Best regards&lt;/p&gt;
&lt;p&gt;Rainer&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/qeONjDo1u8Y" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=116841</feedburner:origLink></item>

	<item>
		<title>Bluescreens in ampcore.sys on Win7-64 RC</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/vNbVFsM5uyM/messageview.cfm</link> 
		<pubDate>2009-07-29T15:01:18 -05.00</pubDate> 
		<dc:creator>bright</dc:creator>
   	    <slash:comments>15</slash:comments> 
		<description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I installed the most recent CodeAnalyst on Windows 7 64 RC.&amp;nbsp; Lately I'm getting regular bluescreens in &lt;b&gt;ampcore.sys&lt;/b&gt;, but only when the machine has been idling for some time (eg. when running overnight).&amp;nbsp; When I get back it's usually bluescreened:&lt;/p&gt;
&lt;p&gt;"The bugcheck was: 0x0000001e (0xffffffffc0000096, 0xfffff8800b4ef838, 0x0000000000000000, 0x0000000000000000)."&lt;/p&gt;
&lt;p&gt;Is anybody else seeing this?&lt;/p&gt;
&lt;p&gt;It happens even if I haven't used CodeAnalyst at all during the session.&amp;nbsp; It &lt;em&gt;might&lt;/em&gt; be a bug related to automatic standby/hibernation (although they don't actually seem to work for me on Win7, but manual ones do without this problem)... or maybe it's just a leak that breaks over time?&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/vNbVFsM5uyM" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=116732</feedburner:origLink></item>

	<item>
		<title>Diasble and Enable Cores</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/6cHNC1T9ywI/messageview.cfm</link> 
		<pubDate>2009-07-22T02:11:45 -05.00</pubDate> 
		<dc:creator>prako</dc:creator>
   	    <slash:comments>3</slash:comments> 
		<description>&lt;p&gt;Hi All,&lt;br /&gt;I want to run my application on ma system with different number of cores enabled and benchmark it. I've a 4-core AMD Opteron. I wanna run it on a single core, then on a two core and finally with all the four cores enabled..... Thx&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/6cHNC1T9ywI" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=116353</feedburner:origLink></item>

	<item>
		<title>Hardware Benchmarking tools - Confusing results on Code Analyst</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/u2n-aJ0TQhg/messageview.cfm</link> 
		<pubDate>2009-07-20T03:15:20 -05.00</pubDate> 
		<dc:creator>prako</dc:creator>
   	    <slash:comments>6</slash:comments> 
		<description>&lt;p&gt;Hi,&lt;br /&gt;Im using AMD opteron 4-core PC. When i parallelise(Using OpenMP)&amp;nbsp;and run a serial legacy application on the 4-core i get very inconsistent results when compared to the results on a single or dual core. I want to benchmark my PC to know how well the 4-cores are being utilised and to check the load on each core. I also want to know if the program is bein run on four threads as expected(i've used default settings of openmp to spawn four threads). Could someone please suggest some good tools that would give the above information as well as the information on the memory usage etc....&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I've used Code analyst but the results are not clear...&lt;br /&gt;It shows four threads running on a single core.. Its pretty confusing&lt;br /&gt;&lt;br /&gt;Thanks&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/u2n-aJ0TQhg" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=116245</feedburner:origLink></item>

	<item>
		<title>CodeAnalyst failed to start profiling.</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/fZwyPfgC6B4/messageview.cfm</link> 
		<pubDate>2009-07-19T03:50:11 -05.00</pubDate> 
		<dc:creator>MaxEd</dc:creator>
   	    <slash:comments>1</slash:comments> 
		<description>&lt;p&gt;Both CodeAnalyst 2.80 and 2.94 stopped working on my computer some time ago (unfortunately, I don't know exact moment). When I try to start profiling session, I get the following error:&lt;/p&gt;
&lt;p&gt;---------------------------&lt;br /&gt;The device driver failed to start profiling, please try again.&lt;br /&gt;Failed (0x80004005) to start the task information capture: 0xffffffff8000ffff&lt;br /&gt;---------------------------&lt;/p&gt;
&lt;p&gt;A trial version of Compuware BoundsChecker also hangs when trying to start program, so I think it may be something that breaks all advanced profilers (VerySleepy still works, though).&lt;/p&gt;
&lt;p&gt;Can anyone advice me what to do? I think it may be a problem with anti-virus software (though turning protection off on NOD32 did not help) or with some system service, but I'm not sure what to try.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;System specs:&lt;/p&gt;
&lt;p&gt;CPU: Athlon 64 X2 4200+&lt;/p&gt;
&lt;p&gt;RAM: 2Gb&lt;/p&gt;
&lt;p&gt;GPU: GeForce 9800 GTX+&lt;/p&gt;
&lt;p&gt;OS: Windows XP SP3&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/fZwyPfgC6B4" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=116217</feedburner:origLink></item>

	<item>
		<title>Compile Issue - Ubuntu 8.10</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/TPI-rGT9two/messageview.cfm</link> 
		<pubDate>2009-07-10T11:37:09 -05.00</pubDate> 
		<dc:creator>ecologist09</dc:creator>
   	    <slash:comments>2</slash:comments> 
		<description>&lt;p&gt;Hello all,&lt;/p&gt;
&lt;p&gt;I have been trying to compile CodeAnalyst (2.8.54) on an Ubuntu 8.10 server.&amp;nbsp; I have worked through many issues but i am stuck on this one.&amp;nbsp; Can any one offer any advice?&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;FOUND: DISTRIB_ID=Ubuntu DISTRIB_RELEASE=8.10 DISTRIB_CODENAME=intrepid DISTRIB_DESCRIPTION="Ubuntu 8.10"&lt;br /&gt;rm -f *.o oprofile.ko .*.cmd .*.flags *.mod.c&lt;br /&gt;make -C /lib/modules/2.6.27-14-server/build SUBDIRS=/home/aaron/CodeAnalyst-Linux-2.8.54/src/cakm/kernel2.6.27 modules&lt;br /&gt;make[1]: Entering directory `/usr/src/linux-headers-2.6.27-14-server'&lt;br /&gt;Makefile:528: /usr/src/linux-headers-2.6.27-14-server/arch/unknown/Makefile: No such file or directory&lt;br /&gt;make[1]: *** No rule to make target `/usr/src/linux-headers-2.6.27-14-server/arch/unknown/Makefile'.&amp;nbsp; Stop.&lt;br /&gt;make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-14-server'&lt;br /&gt;make: *** [default] Error 2&lt;br /&gt;... Creating backup of oprofile.ko.&lt;br /&gt;`/lib/modules/2.6.27-14-server/kernel/arch/x86/oprofile/oprofile.ko' -&amp;gt; `/lib/modules/2.6.27-14-server/kernel/arch/x86/oprofile/oprofile.ko.orig'&lt;br /&gt;su -c "cp oprofile.ko /lib/modules/2.6.27-14-server/kernel/arch/x86/oprofile &amp;&amp; /sbin/depmod -a"&lt;br /&gt;cp: cannot stat `oprofile.ko': No such file or directory&lt;br /&gt;make: *** [install] Error 1&lt;br /&gt;ERROR: Cannot build kernel driver for kernel version "2.6.27-14-server".&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please contact AMD for more information&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;# uname -r&lt;br /&gt;2.6.27-14-server&lt;/p&gt;
&lt;hr /&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/TPI-rGT9two" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=115863</feedburner:origLink></item>

	<item>
		<title>Simulate local array using shared memory , but no performance improvement?</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/mo4iWfpvra8/messageview.cfm</link> 
		<pubDate>2009-06-17T04:41:16 -05.00</pubDate> 
		<dc:creator>codeboycjy</dc:creator>
   	    <slash:comments>1</slash:comments> 
		<description>&lt;p&gt;Currently i'm building kd-tree on Brook+, here is the problem i've encountered now.&lt;br /&gt;i need to pick the edge with the longest length to split in the median.&lt;/p&gt;
&lt;p&gt;Here is the brute force way of doing it:&lt;/p&gt;
&lt;p&gt;if( splitAxis == 0 )&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp; if( v1.x &amp;lt; splitPosition ) { ... }&lt;br /&gt;&amp;nbsp;&amp;nbsp; if( v2.x &amp;lt; splitPosition ) { ... }&lt;br /&gt;&amp;nbsp;&amp;nbsp; if( v3.x &amp;lt; splitPosition ) { ... }&lt;br /&gt;}else if( splitAxis == 1 )&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp; if( v1.y &amp;lt; splitPosition ) { ... }&lt;br /&gt;&amp;nbsp;&amp;nbsp; if( v2.y &amp;lt; splitPosition ) { ... }&lt;br /&gt;&amp;nbsp;&amp;nbsp; if( v3.y &amp;lt; splitPosition ) { ... }&lt;br /&gt;}else if( splitAxis == 2 )&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp; if( v1.z &amp;lt; splitPosition ) { ... }&lt;br /&gt;&amp;nbsp;&amp;nbsp; if( v2.z &amp;lt; splitPosition ) { ... }&lt;br /&gt;&amp;nbsp;&amp;nbsp; if( v3.z &amp;lt; splitPosition ) { ... }&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;I assume there could be much divergency in the above code.&lt;/p&gt;
&lt;p&gt;if the float4 could be access this way:&lt;br /&gt;&amp;nbsp; float4 data; data[0] = 1.0f; which is same with:&lt;br /&gt;&amp;nbsp; float4 data; data.x = 1.0f;&lt;/p&gt;
&lt;p&gt;The above code could be improved like this&lt;br /&gt;if( v1[splitAxis] &amp;lt; splitPosition ) { ... }&lt;br /&gt;if( v2[splitAxis] &amp;lt; splitPosition ) { ... }&lt;br /&gt;if( v3[splitAxis] &amp;lt; splitPosition ) { ... }&lt;/p&gt;
&lt;p&gt;So i simulated the process by an alternative way.&lt;/p&gt;
&lt;p&gt;shared float4 lds[256];&lt;/p&gt;
&lt;p&gt;lds[ 4 * instanceInGroup().x + 0 ] = float4( v1.x , v2.x , v3.x , 1.0f );&lt;br /&gt;lds[ 4 * instanceInGroup().x + 1 ] = float4( v1.y , v2.y , v3.y , 1.0f );&lt;br /&gt;lds[ 4 * instanceInGroup().x + 2 ] = float4( v1.z , v2.z , v3.z , 1.0f );&lt;/p&gt;
&lt;p&gt;if( lds[ 4 * instanceInGroup().x + splitAxis ].x &amp;lt; splitPosition ) { ... }&lt;br /&gt;if( lds[ 4 * instanceInGroup().x + splitAxis ].y &amp;lt; splitPosition ) { ... }&lt;br /&gt;if( lds[ 4 * instanceInGroup().x + splitAxis ].z &amp;lt; splitPosition ) { ... }&lt;/p&gt;
&lt;p&gt;In the current code , i thought there could be much more improvement, but when the code is compile on kernel analyzer.]&lt;br /&gt;The performance is worse than the old one... I don't get it. And the bottle neck of the current code is ALU Ops.&lt;br /&gt;But actualy there are &amp;#127;three times ALP ops in the old code than the current one. Why there is no performance??&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/mo4iWfpvra8" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=114820</feedburner:origLink></item>

	<item>
		<title>Sorry, i've post the question by mistake</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/DOiApqIct48/messageview.cfm</link> 
		<pubDate>2009-06-17T04:26:19 -05.00</pubDate> 
		<dc:creator>codeboycjy</dc:creator>
   	    <slash:comments>1</slash:comments> 
		<description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/DOiApqIct48" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=114819</feedburner:origLink></item>

	<item>
		<title>Sorry, i've post the question by mistake</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/NPCcKY2FIas/messageview.cfm</link> 
		<pubDate>2009-06-17T04:16:54 -05.00</pubDate> 
		<dc:creator>codeboycjy</dc:creator>
   	    <slash:comments>2</slash:comments> 
		<description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/NPCcKY2FIas" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=114818</feedburner:origLink></item>

	<item>
		<title>Fonts in CodeAnalyst dialogs in VS 2008</title>
		<link>http://feeds.amddevcentral.com/~r/AmdDeveloperForums-AmdCodeanalyst/~3/aazhGxaIqkY/messageview.cfm</link> 
		<pubDate>2009-06-10T13:06:50 -05.00</pubDate> 
		<dc:creator>daocode</dc:creator>
   	    <slash:comments>4</slash:comments> 
		<description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I'm trying CodeAnalyst 2.94.718.0. If run as stand-alone (started from the icon) then everything is OK. But when trying to lunch anything from the VS 2008 I can't see any letters in the dialogs. Even, looking into "Tools-&amp;gt;Options" and then finding "AMD CodeAnalyst ..." all dialogs there are also unreadable...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Please, advise something...&lt;/p&gt;
&lt;p&gt;daocode&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AmdDeveloperForums-AmdCodeanalyst/~4/aazhGxaIqkY" height="1" width="1"/&gt;</description>
	<feedburner:origLink>http://forums.amd.com/forum/messageview.cfm?catid=218&amp;threadid=114508</feedburner:origLink></item>

</channel>
</rss>
