src/main/java/org/vanilladb/bench/benchmarks/micro/rte/MicrobenchmarkParamGen.java
public static void main(String[] args) {
		MicrobenchmarkParamGen executor = new MicrobenchmarkParamGen();
		
		System.out.println("Parameters:");
		System.out.println("Read Write Tx Rate: " + RW_TX_RATE);
		System.out.println("Long Read Tx Rate: " + LONG_READ_TX_RATE);
		System.out.println("Total Read Count: " + TOTAL_READ_COUNT);
		System.out.println("Local Hot Count: " + LOCAL_HOT_COUNT);
		System.out.println("Write Ratio in RW Tx: " + WRITE_RATIO_IN_RW_TX);
		System.out.println("Hot Conflict Rate: " + HOT_CONFLICT_RATE);
		
		System.out.println("# of items: " + DATA_SIZE);
		System.out.println("# of hot items: " + HOT_DATA_SIZE);
		System.out.println("# of cold items: " + COLD_DATA_SIZE);

		System.out.println();

		for (int i = 0; i < 1000; i++) {
			Object[] params = executor.generateParameter();
			System.out.println(Arrays.toString(params));
		}
	}
public static void main(String[] args) {
		MicrobenchmarkParamGen executor = new MicrobenchmarkParamGen();
		
		System.out.println("Parameters:");
		System.out.println("Read Write Tx Rate: " + RW_TX_RATE);
		System.out.println("Long Read Tx Rate: " + LONG_READ_TX_RATE);
		System.out.println("Total Read Count: " + TOTAL_READ_COUNT);
		System.out.println("Local Hot Count: " + LOCAL_HOT_COUNT);
		System.out.println("Write Ratio in RW Tx: " + WRITE_RATIO_IN_RW_TX);
		System.out.println("Hot Conflict Rate: " + HOT_CONFLICT_RATE);
		
		System.out.println("# of items: " + DATA_SIZE);
		System.out.println("# of hot items: " + HOT_DATA_SIZE);
		System.out.println("# of cold items: " + COLD_DATA_SIZE);

		System.out.println();

		for (int i = 0; i < 1000; i++) {
			Object[] params = executor.generateParameter();
			System.out.println(Arrays.toString(params));
		}
	}
public static void main ( String [ ] args ) { MicrobenchmarkParamGen executor = new MicrobenchmarkParamGen ( ) ; System . out . println ( "Parameters:" ) ; System . out . println ( "Read Write Tx Rate: " + RW_TX_RATE ) ; System . out . println ( "Long Read Tx Rate: " + LONG_READ_TX_RATE ) ; System . out . println ( "Total Read Count: " + TOTAL_READ_COUNT ) ; System . out . println ( "Local Hot Count: " + LOCAL_HOT_COUNT ) ; System . out . println ( "Write Ratio in RW Tx: " + WRITE_RATIO_IN_RW_TX ) ; System . out . println ( "Hot Conflict Rate: " + HOT_CONFLICT_RATE ) ; System . out . println ( "# of items: " + DATA_SIZE ) ; System . out . println ( "# of hot items: " + HOT_DATA_SIZE ) ; System . out . println ( "# of cold items: " + COLD_DATA_SIZE ) ; System . out . println ( ) ; for ( int i = 0 ; i < 1000 ; i ++ ) { Object [ ] params = executor . generateParameter ( ) ; System . out . println ( Arrays . toString ( params ) ) ; } }
a main application for debugging
a main application for debugging