// Main Entry Point void RunBenchmark() { // Create and load the user table CreateYCSBDatabase(); LoadYCSBDatabase(); // Run the workload RunWorkload(); WriteOutput(); }
// Main Entry Point void RunBenchmark() { if (state.gc_mode == true) { gc::GCManagerFactory::Configure(state.gc_backend_count); } gc::GCManagerFactory::GetInstance().StartGC(); // Create the database CreateYCSBDatabase(); // Load the databases LoadYCSBDatabase(); // Run the workload RunWorkload(); gc::GCManagerFactory::GetInstance().StopGC(); // Emit throughput WriteOutput(); }