// Main Entry Point void RunBenchmark() { // Create the database CreateTPCCDatabase(); // Load the database LoadTPCCDatabase(); // Run the workload RunWorkload(); // Emit throughput WriteOutput(state.throughput); }
// Main Entry Point void RunBenchmark() { if (state.gc_mode == true) { gc::GCManagerFactory::Configure(state.gc_backend_count); } gc::GCManagerFactory::GetInstance().StartGC(); // Create the database CreateTPCCDatabase(); // Load the database LoadTPCCDatabase(); // Run the workload RunWorkload(); gc::GCManagerFactory::GetInstance().StopGC(); // Emit throughput WriteOutput(); }