Redian新闻
>
unix下如何知道一个程序进行了多少浮点运算 (null)
avatar
g*d
2

If your unix is Linux running on PIII(maybe PII and Pentium too),
you can turn on the performance monitoring registers.
And one of the monitoring code is for number of
floating instructions executed.

【在 p**h 的大作中提到】
: thanks.
avatar
z*w
3
man gcc
find the keyword "profile", you will some compile options.
And there are some tools to interprete the profiling results.
for example: SGI profiling tool (perfex, ssrun)

【在 g****d 的大作中提到】
:
: If your unix is Linux running on PIII(maybe PII and Pentium too),
: you can turn on the performance monitoring registers.
: And one of the monitoring code is for number of
: floating instructions executed.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。