sunstudio 12.3 on solaris 10
2015-10-02 20:32
120 查看
#include <stdio.h>
#include <stdlib.h>
#define RPT 10000000
int main() {
int i=1;
for( i=0;i<RPT;i++) {
while(1);
}
}
1.gcc -g 2.c -> a.out
2.GUI性能分析器打开
起动命令:analyzer&
3.文件->收集实验
![](http://images2015.cnblogs.com/blog/99941/201510/99941-20151002203434183-1613218093.png)
4. ctrl +c ,终止死循环 会生成 test.4.er
5.选 打开实验 或者 在文件 -》打开实验 test.4.er
6.反汇编 与 源代码查看
![](http://images2015.cnblogs.com/blog/99941/201510/99941-20151002202914246-1362278532.jpg)
#include <stdlib.h>
#define RPT 10000000
int main() {
int i=1;
for( i=0;i<RPT;i++) {
while(1);
}
}
1.gcc -g 2.c -> a.out
2.GUI性能分析器打开
起动命令:analyzer&
3.文件->收集实验
![](http://images2015.cnblogs.com/blog/99941/201510/99941-20151002203434183-1613218093.png)
4. ctrl +c ,终止死循环 会生成 test.4.er
5.选 打开实验 或者 在文件 -》打开实验 test.4.er
6.反汇编 与 源代码查看
![](http://images2015.cnblogs.com/blog/99941/201510/99941-20151002202914246-1362278532.jpg)
![](http://images2015.cnblogs.com/blog/99941/201510/99941-20151002203046183-1363446261.png)
相关文章推荐
- iOS:UIView、UIControl、UIButton、UILabel简单的属性和方法常识
- 轮廓线DP POJ3254 && BZOJ 1087
- Repo安装遇到问题
- TTL值的含义以及与域名DNS TTL值的区别
- PHP、Mysql等网站建设交流看我另一个博客
- light oj 1029 - Civil and Evil Engineer (最大生成树+最小生成树)
- linux下的硬连接和符号链接(软连接)
- 安卓在xml文件(布局文件)中做一些细微改变却运行程序报错的原因
- 推断序列的端部的大小C规划
- 让HTML页面元素居中的各种实现方法
- 网络编程
- SLC教程
- unity3d 中 transform.position 与Rigidbody.position的同步问题
- hdu 5471(状压DP or 容斥)
- Java 常见异常及趣味解释
- 矩阵转置(数据结构课本内容)
- 将博客搬至CSDN
- VTK利用点云高程渲染点云(方法二:vtkUnstructuredGrid)
- iOS8之后UIAlertController
- pat1013Battle Over Cities (25)