constants.java

来自「Java source code for optimization toolki」· Java 代码 · 共 38 行

JAVA
38
字号
package jnt.scimark2;public class Constants{	public static final double RESOLUTION_DEFAULT = 2.0;  /*secs*/	public static final int RANDOM_SEED = 101010;	// default: small (cache-contained) problem sizes	//	public static final int FFT_SIZE = 1024;  // must be a power of two	public static final int SOR_SIZE =100; // NxN grid	public static final int SPARSE_SIZE_M = 1000;	public static final int SPARSE_SIZE_nz = 5000;	public static final int LU_SIZE = 100;	// large (out-of-cache) problem sizes	//	public static final int LG_FFT_SIZE = 1048576;  // must be a power of two	public static final int LG_SOR_SIZE =1000; // NxN grid	public static final int LG_SPARSE_SIZE_M = 100000;	public static final int LG_SPARSE_SIZE_nz =1000000;	public static final int LG_LU_SIZE = 1000;	// tiny problem sizes (used to mainly to preload network classes 	//                     for applet, so that network download times	//                     are factored out of benchmark.)	//	public static final int TINY_FFT_SIZE = 16;  // must be a power of two	public static final int TINY_SOR_SIZE =10; // NxN grid	public static final int TINY_SPARSE_SIZE_M = 10;	public static final int TINY_SPARSE_SIZE_N = 10;	public static final int TINY_SPARSE_SIZE_nz = 50;	public static final int TINY_LU_SIZE = 10;}

⌨️ 快捷键说明

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