in Extremem/src/main/java/com/amazon/corretto/benchmark/extremem/Configuration.java [1049:1244]
void dump(ExtrememThread t) {
String s;
int l;
Report.output("JVM configuration");
// Ignore memory accounting for MXBeans
RuntimeMXBean runtimeMxBean = ManagementFactory.getRuntimeMXBean();
List<String> listOfArguments = runtimeMxBean.getInputArguments();
for (int i = 0; i < listOfArguments.size(); i++)
Report.output(listOfArguments.get(i));
Report.output();
Report.output("Individual thread report (ReportIndividualThreads): ",
ReportIndividualThreads? "true": "false");
Report.output(" Exporting to Excel (ReportCSV): ",
ReportCSV? "true": "false");
Report.output();
Report.output("Simulation configuration");
s = Integer.toString(RandomSeed);
l = s.length();
Util.ephemeralString(t, l);
Report.output(" Seed for random number generation (RandomSeed): ", s);
Util.abandonEphemeralString(t, l);
s = InitializationDelay.toString(t);
l = s.length();
Report.output(" Startup Pause (InitializationDelay): ", s);
Util.abandonEphemeralString(t, l);
s = SimulationDuration.toString(t);
l = s.length();
Report.output(" Duration (SimulationDuration): ", s);
Util.abandonEphemeralString(t, l);
s = Integer.toString(MaxArrayLength);
l = s.length();
Util.ephemeralString(t, l);
Report.output(" Maximum array length (MaxArrayLength): ", s);
Util.abandonEphemeralString(t, l);
s = Integer.toString(ResponseTimeMeasurements);
l = s.length();
Util.ephemeralString(t, l);
Report.output(" Remembered responses (ResponseTimeMeasurements): ", s);
Util.abandonEphemeralString(t, l);
s = Integer.toString(DictionarySize);
l = s.length();
Util.ephemeralString(t, l);
Report.output(" Words in dictionary (DictionarySize): ", s);
Util.abandonEphemeralString(t, l);
s = DictionaryFile;
Report.output("Full path name of dictionary file (DictionaryFile): ", s);
s = Integer.toString(BrowsingHistoryQueueCount);
l = s.length();
Util.ephemeralString(t, l);
Report.output(" Browsing queue qty (BrowsingHistoryQueueCount): ", s);
Util.abandonEphemeralString(t, l);
s = Integer.toString(SalesTransactionQueueCount);
l = s.length();
Util.ephemeralString(t, l);
Report.output("Transaction queue qty (SalesTransactionQueueCount): ", s);
Util.abandonEphemeralString(t, l);
Report.output("");
Report.output("Server thread configuration");
s = Integer.toString(ServerThreads);
l = s.length();
Util.ephemeralString(t, l);
Report.output(" Number of server threads (ServerThreads): ", s);
Util.abandonEphemeralString(t, l);
s = ServerPeriod.toString(t);
l = s.length();
Report.output(" Server thread period (ServerPeriod): ", s);
Util.abandonEphemeralString(t, l);
Report.output("Customer maintenance");
s = CustomerReplacementPeriod.toString(t);
Report.output(" Replacement period (CustomerReplacementPeriod): ", s);
Util.abandonEphemeralString(t, s);
s = Integer.toString(CustomerReplacementCount);
l = s.length();
Util.ephemeralString(t, l);
Report.output(" Replacement count (CustomerReplacementCount): ", s);
Util.abandonEphemeralString(t, l);
Report.output("Product maintenance");
s = ProductReplacementPeriod.toString(t);
Report.output(" Replacement period (ProductReplacementPeriod): ", s);
Util.abandonEphemeralString(t, s);
s = Integer.toString(ProductReplacementCount);
l = s.length();
Util.ephemeralString(t, l);
Report.output(" Replacement count (ProductReplacementCount): ", s);
Util.abandonEphemeralString(t, l);
Report.output("");
Report.output("Customer thread configuration");
s = Integer.toString(CustomerThreads);
l = s.length();
Util.ephemeralString(t, l);
Report.output(" Number of threads (CustomerThreads): ", s);
Util.abandonEphemeralString(t, l);
s = CustomerPeriod.toString(t);
Report.output(" Thread period (CustomerPeriod): ", s);
Util.abandonEphemeralString(t, s);
s = CustomerThinkTime.toString(t);
Report.output(" Think time (CustomerThinkTime): ", s);
Util.abandonEphemeralString(t, s);
s = BrowsingExpiration.toString(t);
Report.output(" Save-for-later duration (BrowsingExpiration): ", s);
Util.abandonEphemeralString(t, s);
Report.output("");
Report.output("Customer configuration");
s = Integer.toString(NumCustomers);
l = s.length();
Util.ephemeralString(t, l);
Report.output(" Number (NumCustomers): ", s);
Util.abandonEphemeralString(t, l);
s = Integer.toString(KeywordSearchCount);
l = s.length();
Util.ephemeralString(t, l);
Report.output(" Words in query (KeywordSearchCount): ", s);
Util.abandonEphemeralString(t, l);
s = Integer.toString(SelectionCriteriaCount);
l = s.length();
Util.ephemeralString(t, l);
Report.output(" Words to select (SelectionCriteriaCount): ", s);
Util.abandonEphemeralString(t, l);
Report.output(" Decision ratios:");
s = Float.toString(BuyThreshold);
l = s.length();
Util.ephemeralString(t, l);
Report.output(" Buy (BuyThreshold): ", s);
Util.abandonEphemeralString(t, l);
s = Float.toString(SaveForLaterThreshold);
l = s.length();
Util.ephemeralString(t, l);
Report.output(" Save for later (SaveForLaterThreshold): ", s);
Util.abandonEphemeralString(t, l);
s = Float.toString(1.0f - (BuyThreshold + SaveForLaterThreshold));
l = s.length();
Util.ephemeralString(t, l);
Report.output(" Ignore: ", s);
Util.abandonEphemeralString(t, l);
Report.output("");
Report.output("Product configuration");
s = Integer.toString(NumProducts);
l = s.length();
Util.ephemeralString(t, l);
Report.output(" Number (NumProducts): ", s);
Util.abandonEphemeralString(t, l);
s = Integer.toString(ProductNameLength);
l = s.length();
Util.ephemeralString(t, l);
Report.output(" Words in name (ProductNameLength): ", s);
Util.abandonEphemeralString(t, l);
s = Integer.toString(ProductDescriptionLength);
l = s.length();
Util.ephemeralString(t, l);
Report.output(" Words in description (ProductDescriptionLength): ", s);
Util.abandonEphemeralString(t, l);
s = Integer.toString(ProductReviewLength);
l = s.length();
Util.ephemeralString(t, l);
Report.output(" Words in review (ProductReviewLength): ", s);
Util.abandonEphemeralString(t, l);
}