Skip to content
Snippets Groups Projects

Exploration

Closed Siyuan Niu requested to merge exploration into master
16 files
+ 390
2625
Compare changes
  • Side-by-side
  • Inline
Files
16
@@ -61,8 +61,6 @@ FPGA::FPGA( ID iID,
,_cyclesBeforeIdle(iCyclesBeforeIdle)
,_cyclesPerExeci(iCyclesPerExeci)
,_cyclesPerExecc(iCyclesPerExecc)
,_taskNumber(0)
,_currTaskNumber(0)
,_reconfigNumber(0)
,_maxEndTime(0)
@@ -530,14 +528,6 @@ void FPGA::buttonPieChart(std::ofstream& myfile) const{
void FPGA::showPieChart(std::ofstream& myfile) const{
/* if(_taskNumber==1)
myfile << SCHED_HTML_JS_DIV_ID << _ID << "_" << _htmlCurrTask->toShortString() << SCHED_HTML_JS_DIV_ID_END <<std::endl;
else
myfile << SCHED_HTML_JS_DIV_ID << _ID << "_" << _htmlCurrTask->toShortString() << SCHED_HTML_JS_DIV_ID_END_FPGA <<std::endl;*/
//if( _taskNumber == 1)
// myfile << SCHED_HTML_JS_DIV_BEGIN << std::endl;
// else
myfile << SCHED_HTML_JS_DIV_BEGIN2 << std::endl;
myfile << SCHED_HTML_JS_BEGIN_CANVAS << _ID << "_" << _htmlCurrTask->toShortString() << SCHED_HTML_JS_END_CANVAS <<std::endl;
myfile << SCHED_HTML_JS_DIV_END << std::endl;
@@ -630,7 +620,6 @@ void FPGA::schedule2HTML(std::ofstream& myfile) {
std::cout<<"*********FPGA scheduling***********"<<std::endl;
if(_startFlagHTML == true){
myfile << "<h2><span>Scheduling for device: "<< _name << "</span></h2>" << std::endl;
_currTaskNumber=0;
}
if ( _transactList.size() == 0 ) {
@@ -649,7 +638,6 @@ void FPGA::schedule2HTML(std::ofstream& myfile) {
if( (*i)-> getCommand()->getTask() == _htmlCurrTask ){
if(taskOccurTime==0){
taskOccurTime++;
_currTaskNumber++;
}
#ifdef DEBUG_FPGA
std::cout<<"in!!"<<_htmlCurrTask->toString()<<std::endl;
@@ -692,10 +680,7 @@ void FPGA::schedule2HTML(std::ofstream& myfile) {
}
myfile << "</tr>" << std::endl << "</table>" << std::endl;
#ifdef DEBUG_FPGA
std::cout<<"_taskNumer is"<<_taskNumber<<std::endl;
std::cout<<"curr task number is "<<_currTaskNumber<<std::endl;
#endif
/* if(_currTaskNumber == _taskNumber){
myfile << "<table>" << std::endl << "<tr>" << std::endl;
for( std::map<TMLTask*, std::string>::iterator taskColIt = taskCellClasses.begin(); taskColIt != taskCellClasses.end(); ++taskColIt ) {
Loading