应用程序运行时间为10或15分钟。
其原因是 gprof 仅仅是通过以固定的周期对程序运行时间 进行采样测量来工作的。
The reason for this is that gprof works by instrumenting the program such that measurements are taken at fixed intervals of the program's run time.
动态翻译技术不同于静态翻译,它会增加程序运行时间,控制动态翻译自身的开销是重中之重。
Unlike static compilation technology, dynamic translation will increase the executing time of the programs. Low overhead of dynamic translation itself is very important.
Therefore, for simple branching programs, the length of time, the complexity the code, is what we would call constant.
因此,对于简单的分支程序,运行的时间长度,算法的复杂度,也就是我们说的常数。
Over all possible inputs to this function, what's the fastest it runs? The fewest, so the minimum, if you like.
哪个输入程序运行的最快?,用的时间最少?如果你喜欢的话,这个方法看起来不错。
Said a different way, in the case of the straight-line programs, how long would it take to run a program?
换种说法,在直线式程序里面,运行一个程序要多长时间?
应用推荐