开始之前
您可能需要先浏览 C 分析简介中的入门教程以熟悉性能分析器。
使用以下命令将 mttest 目录的内容复制到您自己的专用工作区:
% cp -r SolarisStudioSampleApplications/PerformanceAnalyzer/mttest mydirectory
其中 mydirectory 是您所使用的工作目录。
转到该工作目录副本。
% cd mydirectory/mttest
生成目标可执行文件。
% make clobber (needed only if you ran make in the directory before, but safe in any case) % make
在运行 make 之后,目录将包含要在教程中使用的目标应用程序,即一个名为 mttest 的 C 程序。