你的位置:首页 > 软件开发 > 操作系统 > 使用dispatch_benchmark函数进行基准测试

使用dispatch_benchmark函数进行基准测试

发布时间:2015-04-28 16:00:22
dispatch_benchmark函数是libdispatch (Grand Central Dispatch) 的一部分,这个方法并没有被公开声明,所以必须要自己声明。 简介The dispatch_benchmark function executes the give ...

dispatch_benchmark函数是libdispatch (Grand Central Dispatch) 的一部分,这个方法并没有被公开声明,所以必须要自己声明。

 

简介

The dispatch_benchmark function executes the given block multiple times according to the count variable and then returns the average number of nanoseconds per execution. This function is for debugging and performance analysis work. For the best results, pass a high count value to dispatch_benchmark.

 

海外公司注册、海外银行开户、跨境平台代入驻、VAT、EPR等知识和在线办理:https://www.xlkjsw.com

原标题:使用dispatch_benchmark函数进行基准测试

关键词:函数

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。