benchmarktest.java

来自「Sunflow是一个照片级的渲染系统」· Java 代码 · 共 17 行

JAVA
17
字号
package org.sunflow.system;

/**
 * This interface is used to represent a piece of code which is to be
 * benchmarked by repeatedly running and timing the kernel code. The begin/end
 * routines are called per-iteration to do any local initialization which is not
 * meant to be taken into acount in the timing (like preparing or destroying
 * data structures).
 */
public interface BenchmarkTest {

    public void kernelBegin();

    public void kernelMain();

    public void kernelEnd();
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?