查询是计数器的集合,它是用自定义代码创建的,用于管理性能数据的集合。
A query is a collection of counters, created in your custom code, to manage the collection of performance data.
同时这个应用还可以使用二维码自动安装,支持多账户和基于代码生成的时间和计数器。
This app features automatic setup via QR code, support for multiple accounts and has time and counter based code generation.
要递增一个加锁的计数器仍然需要编写很多代码!
That's still a lot of code just to increment a counter with a lock held!
当一个方法的上限计数器达到零(0)时,就可以使用JIT将这个方法编译成本地代码了。
When the threshold count for a method reaches zero (0) the method becomes eligible for compilation into native code by JIT.
HCCountHandler类的大小是SAXCounterHandler的一半,而且这段代码的绝大部分都是处理这个计数器。
The HCCountHandler class is half the size of SAXCounterHandler, and most of the code deals with the counter.
以下样本代码显示如何从Stats对象获取各种PM i计数器。
The following sample code shows how to get individual PMI counters from a Stats object.
seenGuardClauseAt:在所分析的代码中发现日志监护子句时,程序计数器的值。
SeenGuardClauseAt: the value of the program counter when the logging guard clause is discovered in the analyzed code.
清单2显示了这个继承树(为了清晰起见,删除了实例计数器和构造函数代码)。
Listing 2 shows the inheritance tree (with the instance counter and constructor code removed for clarity).
如下面的代码段所示,这需要维护一个计数器,以便能够知道什么时候进行提交并写日志记录,这个计数器不考虑导致异常的行。
As shown in the code snippet below, this requires keeping a counter so you know when to commit and write a log record, taking care not to count rows that cause an exception.
我测试了服务器的源代码以获得扫描包的计数器。
I instrumented the server source code to obtain the packets scanned counter.
您可以使用性能计数器帮助缓和,使代码更小。
You can use performance counter helper to ease and make your code smaller.
对于本机代码,这对应于CPU的程序计数器。
For native code, this corresponds to the CPU's program counter.
应用程序在一个代码段的前后调用这个函数来使用高性能计数器。
By calling this function at the beginning and end of a section of code, an application essentially USES the counter as a high-resolution timer.
看一下程序计数器偶尔登记并试图发现代码只是燃烧一个CPU的循环。
Look at the program counter register once in a while and try to detect that code simply burns a CPU in a tight loop.
看一下程序计数器偶尔登记并试图发现代码只是燃烧一个CPU的循环。
Look at the program counter register once in a while and try to detect that code simply burns a CPU in a tight loop.
应用推荐