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.
终结器不仅难以编写正确,终结的定时也是不确定的,并且不能保证终结器最终会运行。
Timing of this type is always subject to some variation, so the import command to grab the clock image is run in the background, leaving the main shell free to keep time.
这种类型的计时总是会发生变化,因此将获取时钟图像的import命令放在后台中运行,从而避免使用主要的shell脚本跟踪时间。
If you run your benchmarks with -verbose: gc, you can see how much time was spent in garbage collection and adjust your timing data accordingly.
如果用-verbose:gc开关运行评测,您可以看到在垃圾收集上耗费了多少时间,并相应地调整您的计时数据。
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帧每秒。
For a simple timing test, I call the run method twice, once for each of the properties in the Listing 1 HolderBean class.
为了进行简单的计时测试,我调用run方法两次,对于清单1holderbean类中的每个属性调用一次。
If you were going to run a triathlon, you would spend more time improving your endurance and pacing yourself then sitting on the bench writing out the timing for your swimming, running and biking.
如果你想参加三项全能比赛,你会花更多的时间提高耐力、为自己定速度,然后会坐在长椅上分别写下游泳、跑步和骑自行车的时间安排。
Of course, there's no such secret art of timing that will make everything run smoothly.
当然,也没有什么安排时间的秘密技巧能让所有事都顺利进行。
Figure 1 shows the results of this timing test when called with loop counts ranging from 2k to 512k tests run on an Athlon 2200 + XP system running Mandrake Linux 9.1, using Sun's 1.4.2.
图1显示了用从2k到512 k次循环进行调用时计时测试的结果(在运行MandrakeLinux 9.1的Athlon 2200 +XP系统上运行测试,使用Sun 1.4.2 JVM)。
There is also a new db2dsdriver.cfg file keyword, QueryTimeout, which defines how long a client should wait for a query to run before timing out.
还有一个新的db2dsdriver . cfg文件关键字QueryTimeout,它定义客户机在超时之前应该等待查询多长时间。
Timeout: the timeout attribute specifies how long the transaction may run before timing out (and automatically being rolled back by the underlying transaction infrastructure).
timeout: timeout属性指定在超时(以及被底层事务基础设施自动回滚)之前事务可以运行多长时间。
During IBM WebSphere Real Time testing, timing differences surfaced race conditions (in other words, bugs) in test programs that had run fine for years on other JVMs.
在IBMWebSphereRealTime测试期间,在测试程序中,同步差异使竞争条件(换言之,bug)浮出了水面,而这些测试程序已经在其他JVM上运行了很多年。
Displays a hierarchical tree that represents the execution paths, memory allocation data, and detailed timing data for instrumented functions in the profiling run.
显示一个层次结构树,它表示分析运行期间被检测函数的执行路径、内存分配数据和详细计时数据。
The main function of the controller: make heat, make cool, dehumidify, rotation fan, auto run, timing run, auto defrost, sleeping run and so on is also presented.
阐述了控制器的主要功能:制热、除湿、通风、自动运行、定时运行、自动除霜、睡眠等。
How to: Specify the Timing Details Storage Property for a Load Test Run Setting.
如何:为负载测试运行设置指定计时详细信息存储属性。
As much as possible run a script (attached) so as to maintain correct timing in opening them.
为了获得适当的开仓时间,多执行几次附件中的脚本。
As much as possible run a script (attached) so as to maintain correct timing in opening them.
为了获得适当的开仓时间,多执行几次附件中的脚本。
应用推荐