Abhishek Jain
|
1915e589cd
|
Made a tiny change in the logging message in AddHostIfNew(..) function
|
2017-03-24 17:03:29 -04:00 |
|
Abhishek Jain
|
abc718b554
|
Performed a git fmt
|
2017-03-24 16:34:17 -04:00 |
|
Abhishek Jain
|
10358b418b
|
Added a space before {
|
2017-03-24 16:31:49 -04:00 |
|
Abhishek Jain
|
841c7d5ee8
|
Added AddHostIfNew(..) utility function which is responsible to populate the constants.Hosts and constants.PowerClasses
|
2017-03-24 16:27:14 -04:00 |
|
Abhishek Jain
|
26c49d4098
|
Restoring offerUtils. Had deleted this by mistake.
|
2017-03-23 22:09:51 -04:00 |
|
Abhishek Jain
|
9365c2e51d
|
Changed the Hosts from list to a set of hosts using a map with key as hostname and value as an empty struct
|
2017-03-23 22:01:29 -04:00 |
|
Pradyumna Kaushik
|
6c62b5326f
|
Added a HostMismatch(...) in offerUtils that checks whether a task's host requirement matches the host corresponding to the offer. Made sure all schedulers call takeOffer(...) that is defined in each scheduler, to maintain consistency.
|
2017-02-09 22:48:34 -05:00 |
|
Pradyumna Kaushik
|
e7166420dd
|
add function to determine PowerClass of host in offer. This was earlier to be written in each scheduler when using classMapWatts.
|
2017-01-28 21:08:11 -05:00 |
|
Pradyumna Kaushik
|
e63784b007
|
Created utilities/offerUtils that can can hold all the utility functions for Offers.
|
2017-01-28 19:32:54 -05:00 |
|