分析终结(finalizer)的使用,和他们的执行次数。
Analyze the use of finalizers, including the number of finalizers executed.
这仅仅更新指定操作的总时间、最大时间(如果适用)以及执行次数。
This simply updates the total time, the maximum time (if appropriate), and a count of executions of the given operation.
如果指定了match count,那么操作的执行次数不超过这个值。
If the match count is specified, the actions are only carried out a maximum of that many times. Consider this example.
Now this happens to be what we would call a linear process, because the number of times I go around the loop is directly related to the size of the argument. If I double 2 the argument, I'm going to double the number of times I go around the loop. If I increase it by five, 5 I'm going to increase by five the number of times I go around the loop.
这恰好是我们会成为,线性复杂度程序的一个例子,因为我要执行循环的次数是,和输入的参数的大小直接相关的,如果我将这个参数乘以,那么我就要将进行循环的次数也乘以2了,如果我把参数加上,那么循环的次数也要加上5了。
应用推荐