GreenCloud Simulator
Functions
herosscheduler.cc File Reference
#include "herosscheduler.h"
#include "dcrack.h"
Include dependency graph for herosscheduler.cc:

Go to the source code of this file.

Functions

bool herosComparator (const ProviderScore &first, const ProviderScore &second)
 

Function Documentation

bool herosComparator ( const ProviderScore first,
const ProviderScore second 
)

Definition at line 113 of file herosscheduler.cc.

113  {
114  if(first.score_ != second.score_){
115  return first.score_ < second.score_;
116  } else {
118  }
119 }
double comm_potential_
Definition: providerscore.h:18
static double performancePerWattMax(ResourceProvider *rp)
ResourceProvider * provider_
Definition: providerscore.h:16