📄 benchmarktest.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -