For example, if you were instrumenting a file I/O function, you might add the name of the file being written to the probe for that function.
例如,如果要检查一个文件 I/O 函数,可以把正在写的文件的名称添加到函数的探测中。
To view a bootlist for a specific boot method, simply add the switch -o.
若要查看特定启动方法的启动列表,只需添加选项 -o。
The time to do this in the regular way scales as o (n) (if it takes 1ms to add 100 integers, it takes roughly 2ms to add 200 integers, and so on).
用普通方法实现这种操作所需要的时间是O (N)(如果对100个整数进行求和需要1 ms,那么对200个整数进行求和就需要2 ms,依此类推)。
应用推荐