skip to main
|
skip to sidebar
Andrew N. Leung's Blog
Tuesday, August 7, 2007
测试程序的运行时间
在Unix上面写好了一个程序时,同时也想知道该程序的运行时间
可以以下面的方式运行:
TIMEFORMAT="" time proc
比如:
TIMEFORMAT="" time ./tst
Real 0.04
User 0.00
System 0.00
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)
About Me
Andrew
View my complete profile
Blog Archive
▼
2007
(2)
▼
August
(1)
测试程序的运行时间
►
May
(1)