<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: the difference between the source function and function in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/the-difference-between-the-source-function-and-function/m-p/1589394#M24572</link>
    <description>&lt;P&gt;Eigen&amp;nbsp;is a C++ template&amp;nbsp;library&amp;nbsp;for linear algebra,&amp;nbsp; if your functions call these library functions? By default, the child processes will be analyzed by the VTune, if the functions are called by the processes? From the VTune result, the bottlenecks should be located in the library.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hotspots analysis type with call stack can tell you the callers of the library functions.&lt;/P&gt;</description>
    <pubDate>Tue, 16 Apr 2024 02:33:16 GMT</pubDate>
    <dc:creator>yuzhang3_intel</dc:creator>
    <dc:date>2024-04-16T02:33:16Z</dc:date>
    <item>
      <title>the difference between the source function and function</title>
      <link>https://community.intel.com/t5/Analyzers/the-difference-between-the-source-function-and-function/m-p/1588995#M24570</link>
      <description>&lt;P&gt;Hi.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying using vtune to analysis the my code. When I use the microarchitecture analysis. It shows my code is terrible.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_0-1713135474237.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/53742i35EEEA3F0A43E723/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="_0-1713135474237.png" alt="_0-1713135474237.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then I go to the bottom-up windows. Trying to see the which function causes this problem. When I choose Function/stack in group:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_1-1713135556869.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/53743i207137B84E17F740/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="_1-1713135556869.png" alt="_1-1713135556869.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It shows my four function run very well.(My four functions is update_slack ....)&lt;/P&gt;&lt;P&gt;But when I choose source / function / Call stack in group&lt;/P&gt;&lt;P&gt;It shows that:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_2-1713135676598.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/53744i81C4C794525FE024/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="_2-1713135676598.png" alt="_2-1713135676598.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It seems that these functions cause my problem. But actually I even not use this function in my code!!.&lt;/P&gt;&lt;P&gt;I have two problem:&lt;BR /&gt;1, What is the difference between the source function and function.&lt;/P&gt;&lt;P&gt;2, I never use this function. How these functions appears in my profilers?&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;lzxdjb&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 00:06:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/the-difference-between-the-source-function-and-function/m-p/1588995#M24570</guid>
      <dc:creator>去你的</dc:creator>
      <dc:date>2024-04-15T00:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: the difference between the source function and function</title>
      <link>https://community.intel.com/t5/Analyzers/the-difference-between-the-source-function-and-function/m-p/1589394#M24572</link>
      <description>&lt;P&gt;Eigen&amp;nbsp;is a C++ template&amp;nbsp;library&amp;nbsp;for linear algebra,&amp;nbsp; if your functions call these library functions? By default, the child processes will be analyzed by the VTune, if the functions are called by the processes? From the VTune result, the bottlenecks should be located in the library.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hotspots analysis type with call stack can tell you the callers of the library functions.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 02:33:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/the-difference-between-the-source-function-and-function/m-p/1589394#M24572</guid>
      <dc:creator>yuzhang3_intel</dc:creator>
      <dc:date>2024-04-16T02:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: the difference between the source function and function</title>
      <link>https://community.intel.com/t5/Analyzers/the-difference-between-the-source-function-and-function/m-p/1589399#M24573</link>
      <description>&lt;P&gt;I never call Eigen::internal::function;&lt;/P&gt;&lt;P&gt;In fact, These kind of functions even never appears in the Eigen library!&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 02:37:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/the-difference-between-the-source-function-and-function/m-p/1589399#M24573</guid>
      <dc:creator>去你的</dc:creator>
      <dc:date>2024-04-16T02:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: the difference between the source function and function</title>
      <link>https://community.intel.com/t5/Analyzers/the-difference-between-the-source-function-and-function/m-p/1589413#M24574</link>
      <description>&lt;P&gt;It is interesting.&amp;nbsp; Did you launch one application or profile system? Please post your command line.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 03:18:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/the-difference-between-the-source-function-and-function/m-p/1589413#M24574</guid>
      <dc:creator>yuzhang3_intel</dc:creator>
      <dc:date>2024-04-16T03:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: the difference between the source function and function</title>
      <link>https://community.intel.com/t5/Analyzers/the-difference-between-the-source-function-and-function/m-p/1589417#M24575</link>
      <description>&lt;P&gt;I actually run a binary file in the VTune-gui. I do not run any command line. I think I just launch one application, put the binary file into it, and I run microarchitecture analysis.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 03:22:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/the-difference-between-the-source-function-and-function/m-p/1589417#M24575</guid>
      <dc:creator>去你的</dc:creator>
      <dc:date>2024-04-16T03:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: the difference between the source function and function</title>
      <link>https://community.intel.com/t5/Analyzers/the-difference-between-the-source-function-and-function/m-p/1589422#M24576</link>
      <description>&lt;P&gt;Please share the binary if possible. I can try it locally.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 03:32:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/the-difference-between-the-source-function-and-function/m-p/1589422#M24576</guid>
      <dc:creator>yuzhang3_intel</dc:creator>
      <dc:date>2024-04-16T03:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: the difference between the source function and function</title>
      <link>https://community.intel.com/t5/Analyzers/the-difference-between-the-source-function-and-function/m-p/1589425#M24577</link>
      <description>&lt;P&gt;This is the binary's zip.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 03:40:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/the-difference-between-the-source-function-and-function/m-p/1589425#M24577</guid>
      <dc:creator>去你的</dc:creator>
      <dc:date>2024-04-16T03:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: the difference between the source function and function</title>
      <link>https://community.intel.com/t5/Analyzers/the-difference-between-the-source-function-and-function/m-p/1589427#M24578</link>
      <description>&lt;P&gt;MY code actually use four function: update_slack update_primal update_dual update_linear_cost. I think this four functions should be the top of time. But actually I even could not find them since they cost so short time compare to those Eigen::internal &amp;nbsp;.... , that even not appear in Eigen library!&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 03:47:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/the-difference-between-the-source-function-and-function/m-p/1589427#M24578</guid>
      <dc:creator>去你的</dc:creator>
      <dc:date>2024-04-16T03:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: the difference between the source function and function</title>
      <link>https://community.intel.com/t5/Analyzers/the-difference-between-the-source-function-and-function/m-p/1589477#M24579</link>
      <description>&lt;P&gt;It looks like the binary is based on Mac OS? I can't run it on Windows and Ubuntu. Actually, VTune doesn't support Mac OS anymore.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 05:48:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/the-difference-between-the-source-function-and-function/m-p/1589477#M24579</guid>
      <dc:creator>yuzhang3_intel</dc:creator>
      <dc:date>2024-04-16T05:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: the difference between the source function and function</title>
      <link>https://community.intel.com/t5/Analyzers/the-difference-between-the-source-function-and-function/m-p/1589675#M24586</link>
      <description>&lt;P&gt;I run it in ubuntu. I guess because binary can only run in local machine.&lt;/P&gt;&lt;P&gt;here is the source code:&lt;/P&gt;&lt;P&gt;you can first :&lt;/P&gt;&lt;P&gt;mkdir build&lt;/P&gt;&lt;P&gt;cd build&lt;/P&gt;&lt;P&gt;cmake ..&lt;/P&gt;&lt;P&gt;make&lt;/P&gt;&lt;P&gt;and the binary file is in the ../build/examples/original_tine_profile.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 15:23:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/the-difference-between-the-source-function-and-function/m-p/1589675#M24586</guid>
      <dc:creator>去你的</dc:creator>
      <dc:date>2024-04-16T15:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: the difference between the source function and function</title>
      <link>https://community.intel.com/t5/Analyzers/the-difference-between-the-source-function-and-function/m-p/1589790#M24588</link>
      <description>&lt;P&gt;Failed to build.&lt;/P&gt;
&lt;P&gt;yuzhang3@yuzhang3-10710:~/workspace/isvc_jira_ips/TinyMPC/build$ make&lt;BR /&gt;[ 16%] Building CXX object src/tinympc/CMakeFiles/tinympc.dir/admm.cpp.o&lt;BR /&gt;In file included from /home/yuzhang3/workspace/isvc_jira_ips/TinyMPC/include/Eigen/Eigen.h:61,&lt;BR /&gt;from /home/yuzhang3/workspace/isvc_jira_ips/TinyMPC/src/tinympc/types.hpp:3,&lt;BR /&gt;from /home/yuzhang3/workspace/isvc_jira_ips/TinyMPC/src/tinympc/admm.hpp:3,&lt;BR /&gt;from /home/yuzhang3/workspace/isvc_jira_ips/TinyMPC/src/tinympc/admm.cpp:4:&lt;BR /&gt;/home/yuzhang3/workspace/isvc_jira_ips/TinyMPC/include/Eigen/Eigen/Core:39:52: error: missing binary operator before token "("&lt;BR /&gt;39 | #if EIGEN_COMP_MINGW &amp;amp;&amp;amp; EIGEN_GNUC_STRICT_LESS_THAN(6,0,0)&lt;BR /&gt;| ^&lt;BR /&gt;/home/yuzhang3/workspace/isvc_jira_ips/TinyMPC/include/Eigen/Eigen/Core:185:10: fatal error: src/Core/arch/Default/ConjHelper.h: No such file or directory&lt;BR /&gt;185 | #include "src/Core/arch/Default/ConjHelper.h"&lt;BR /&gt;| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;compilation terminated.&lt;BR /&gt;make[2]: *** [src/tinympc/CMakeFiles/tinympc.dir/build.make:76: src/tinympc/CMakeFiles/tinympc.dir/admm.cpp.o] Error 1&lt;BR /&gt;make[1]: *** [CMakeFiles/Makefile2:118: src/tinympc/CMakeFiles/tinympc.dir/all] Error 2&lt;BR /&gt;make: *** [Makefile:91: all] Error 2&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 02:33:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/the-difference-between-the-source-function-and-function/m-p/1589790#M24588</guid>
      <dc:creator>yuzhang3_intel</dc:creator>
      <dc:date>2024-04-17T02:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: the difference between the source function and function</title>
      <link>https://community.intel.com/t5/Analyzers/the-difference-between-the-source-function-and-function/m-p/1589822#M24591</link>
      <description>&lt;P&gt;It is very strange though.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_0-1713325860101.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/53859i3871E1E81F86C15E/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="_0-1713325860101.png" alt="_0-1713325860101.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Try this one?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 03:51:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/the-difference-between-the-source-function-and-function/m-p/1589822#M24591</guid>
      <dc:creator>去你的</dc:creator>
      <dc:date>2024-04-17T03:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: the difference between the source function and function</title>
      <link>https://community.intel.com/t5/Analyzers/the-difference-between-the-source-function-and-function/m-p/1589893#M24592</link>
      <description>&lt;P&gt;Built success. I captured one hotspot as attached. You can see the call stack information about&amp;nbsp;&lt;SPAN&gt;Eigen.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yuzhang3_intel_0-1713340640516.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/53874i37F444044517C50E/image-size/medium?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="yuzhang3_intel_0-1713340640516.png" alt="yuzhang3_intel_0-1713340640516.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 07:59:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/the-difference-between-the-source-function-and-function/m-p/1589893#M24592</guid>
      <dc:creator>yuzhang3_intel</dc:creator>
      <dc:date>2024-04-17T07:59:28Z</dc:date>
    </item>
  </channel>
</rss>

