It then replaces the body of the copied method with timing code wrapping a call to the renamed original method.
然后它用含有对经过重命名的原方法的调用的计时代码替换拷贝方法的正文。
You can use abstraction in several ways, such as when you use visualization in timing diagrams, as a way to get above the code as it is running.
您可以以许多方式使用抽象,例如当您在时序图中使用可视化时一样,作为在代码运行时达到代码之上的层次的方式。
The difference from the previous timing figures is that here most of the time is spent in classloading and native code generation by the JVM for the data binding framework code.
同前面的计时数字不同:这里大多数的时间花费在了类装入,以及为获得数据绑定框架代码而由JVM 进行的本机代码生成。
In that article, we just passed the class and method name as command-line parameters to my program, which loaded the binary class file, added the timing code, then wrote the class back out.
在该文中,我们只是将类和方法名称作为参数传递给程序,程序加载二进制类文件,添加定时代码,然后写回该类。
After we wrap up our looping brackets and timing code, it's on to the subroutines.
在圈选循环括号和计时代码后,它就成为了子例程。
In this way, timing code can be added to interesting transactions but only be measured on demand.
通过这种方式,可以将计时代码添加到感兴趣的事务中,但是这些事务只会根据兴趣进行评测。
Not only is it difficult to code them correctly, but the timing of finalization is not deterministic, and there is no guarantee that finalizers will ever even run.
终结器不仅难以编写正确,终结的定时也是不确定的,并且不能保证终结器最终会运行。
I set an empty instruction list for this MethodGen, which I'll later fill in with the actual timing code.
我为这个MethodGen设置一个空的指令清单,在后面我将用实际的计时代码填充它。
I've also added throwable handling to the basic timing code, so that when a method exits through a throw rather than a normal return the basic thrown information will be included in the trace.
我还在基本计时代码中增加了一个throwable处理,这样,当方法由于一个抛出而退出而不是正常返回时,在跟踪中就会加入基本抛出信息。
The org.perf4j.LoggingStopWatch class is used to add timing statements to code and print those statements to an output stream or log file.
LoggingStopWatch类用于在代码中添加计时语句并打印到标准输出或者日志文件中。
An easy solution to the timing issue is to just let the game run on a steady 25 frames per second. The code then looks like this.
计时问题的一个简单解决方法是让游戏固定运行在25帧每秒。
When you want to do unit tests on SPE code or algorithms or get timing information on them, this is probably enough.
当希望对SPE代码或算法进行单元测试或获取有关它们的分时信息时,这可能就足够了。
Because I have the source code available for this method, I'll show you how I would add the timing information directly.
因为有这个方法的源代码,所以我将为您展示如何直接添加计时信息。
The first section of code below shows how to set up a simple password entry and confirmation program that takes into account the full timing of password entry.
下列代码的第一部分将展示一个简单的密码输入和确认程序,它将计算输入密码的完整时间。
Repeated use of the reflection classes in timing-sensitive code can result in ongoing class-loading activity that introduces delays.
在时间敏感型代码中反复使用反射类可能导致持续不断的类加载活动,这会引起延迟。
If you don't have source code, it's normally much more difficult to get this type of timing information.
如果没有源代码,那么得到这种计时信息就要困难得多。
Firefox determines that a script is long-running by timing how long the script engine has been executing code continuously.
Firefox是根据脚本引擎持续执行代码的时间来判断一段脚本是否失控。
Timing Code Blocks with a stopwatch.
利用StopWatch类开发计时代码。
The basic idea is to save the code of timing state and to be of cyclic counting output.
设计的基本思路是,将时序状态编码存储,然后循环计数输出。
FPGA; line code; spectrum transform; bit timing pick-up.
线路码;频谱变换;位定时提取。
The small gadget shutdown timing, the code is very simple. 360 may be reported to the poison.
说明:很小的关机定时小工具,代码很简单。360可能会报毒。
By analysing frequency spectrum in this paper, we can understand that when NRZ code be transferred into RZ code of 1/2 mark-to-space ratio, the timing clock can be obtained at largest power.
本文通过对NRZ、RZ伪随机码序列进行频谱分析,得知当NRZ码变换成码元占空比为1/2的RZ码时,所提取出的定时时钟功率最强。
In order to decrease the code error rate, several methods are discussed for code shape manipulations, including code shape correction, decoding timing window and filling up the lost codes.
为了降低误码率,文中还论及码形处理的几种方法,包括码形矫正、译码定时窗口及丢码填补。
Okay, at this point, I created a fairly precise benchmarking function that can be used for timing different portions of code, or even complete applications.
好了,到现在为止,我已经创建了一个相当精确的基准测试函数,这个函数可以用来计算各个不同部分的代码甚至是整个应用程序的运行时间。
If the code you're timing doesn't utilize system calls, calculating the "user" time is probably sufficient.
如果你时间不使用系统调用的代码,计算“用户”的时间可能是足够的。
This control includes the precise targeting of code sections, the collection of block-level timing information, and the inclusion of additional processor and system performance data in your data.
这项控制包括精确指出程序码区段、收集区块层级的执行时间资讯,以及在您的资料中加入其他的处理器和系统效能资料。
In this curve, the point which had the largest inclined rate was a timing reference point of low frequency time-code receiver.
该曲线的斜率最大点即为低频时码接收机的秒定时参考点。
Don't hurry your code. Make sure it works well and is well designed. Don't worry about timing.
不要赶代码。确保工作正常且设计合理。别太担心时间。
The timing measurement is in the form of a digital thermometer code that can be converted into a binary number.
定时测量采用数字温度计的形式,可以转换成二进制数。
The multi-filter core water purifier comprises a plurality of filter cores and a timing prompt device, wherein a corresponding code of each filter core is arranged in a filter channel;
包括多个滤芯、定时提示装置;过滤通道中的各滤芯设置相应代码;
应用推荐