📄 target.java
字号:
/*****************************************************************************Interface jnt.Bench.Target *****************************************************************************/package jnt.Bench;/** Interface for a Benchmark Target.Code to be measured by the Bench framework should provide a class implementingthis interface. Place the code to be measured in the execute method.@author Bruce R. Miller (bruce.miller@nist.gov)@author Contribution of the National Institute of Standards and Technology,@author not subject to copyright.*/public interface Target { /** The code to be measured is placed in this method. * @return null lets jnt.Bench.Bench handle the timings. * Otherwise, return an array containing the one or more measured values. * @see jnt.Bench.Bench [start|stop|reset]Timer methods for measurement tools. */ public double[] execute(Bench bench) throws Exception;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -