Hybrid Query Processing Engine for Coprocessing in Database Systems
HyPE
|
00001 /*********************************************************************************************************** 00002 Copyright (c) 2012, Sebastian\htmlonly Breß\endhtmlonly\latexonly Bre{\ss}\endlatexonly, Otto-von-Guericke University of Magdeburg, Germany. All rights reserved. 00003 00004 This program and accompanying materials are made available under the terms of the 00005 GNU LESSER GENERAL PUBLIC LICENSE - Version 3, http://www.gnu.org/licenses/lgpl-3.0.txt 00006 **********************************************************************************************************/ 00007 00566 //"Simple Round Robin" 00567 //"Response Time" 00568 //"WaitingTimeAwareResponseTime" 00569 //"Throughput" 00570 //"ProbabilityBasedOutsourcing" 00571 00572 // if(!scheduler.setOptimizationCriterion("SORT","Simple Round Robin")) 00573 // std::cout << "Error: Could not set Optimization Criterion!" << std::endl; else cout << "Success..." << endl; 00574 00575 // if(!scheduler.setOptimizationCriterion("SORT","Response Time")) 00576 // std::cout << "Error: Could not set Optimization Criterion!" << std::endl; else cout << "Success..." << endl; 00577 00578 // if(!scheduler.setOptimizationCriterion("SORT","WaitingTimeAwareResponseTime")) 00579 // std::cout << "Error: Could not set Optimization Criterion!" << std::endl; else cout << "Success..." << endl; 00580 00581 // if(!scheduler.setOptimizationCriterion("SORT","Throughput")) 00582 // std::cout << "Error: Could not set Optimization Criterion!" << std::endl; else cout << "Success..." << endl; 00583 00584 // if(!scheduler.setOptimizationCriterion("SORT","ProbabilityBasedOutsourcing")) 00585 // std::cout << "Error: Could not set Optimization Criterion!" << std::endl; else cout << "Success..." << endl; 00586 00587 00588 00623 /* \page page_structure_hype Structure of HyPE 00624 * 00625 * HyPE is structured to be a DBMS independent library, meaning templates and functions can be used without modifcation. 00626 * However, to acheive this goal, the user has to implement a mapping layer, between HyPE and the hybrid DBMS: 00627 * 00628 * \htmlonly 00629 * <p><img src="architecture.svg" align="center" width="40%"></p> 00630 * \endhtmlonly 00631 * 00632 * 00633 * 00634 * 00635 * 00636 */ 00637