Rapl node capping daemon #21

Merged
ridv merged 18 commits from raplDaemon into master 2020-01-19 19:52:32 +00:00

18 commits

Author SHA1 Message Date
Renan DelValle
5e4ba5a933
capping funciton now returns which zones were sucessfully capped and which zones could not be capped. This information is now returned to the caller of the HTTP api. 2020-01-18 20:11:44 -08:00
Renan DelValle
bcd25c805a
Renaming variable in test. 2020-01-17 09:43:34 -08:00
Renan DelValle
74b488750d
Changing shortWindow to longWindow as constraint_0 actually points to the long window. 2020-01-17 09:33:43 -08:00
Renan DelValle
74545680fc
Fixing typos. 2020-01-17 09:31:38 -08:00
Renan DelValle
d2680df563
Fixing typo. 2020-01-17 09:22:17 -08:00
Renan DelValle
32b8fde575
Delegating percentage check to capNode function. 2020-01-04 18:57:44 -08:00
Renan DelValle
6670907ff3
Keeping the old script around as it should be removed in a different PR. 2020-01-04 18:55:15 -08:00
Renan DelValle
466e307526
Adding some more coverage for unhappy paths and fixing some values to reflect they are no longer floats. 2020-01-04 18:51:41 -08:00
Renan DelValle
64effeef2c
Changing test structure to only set up mock subsystem once and allowing functions to test on it later. 2020-01-04 18:40:47 -08:00
Renan DelValle
d4075271cd
Changing todo message. 2020-01-04 18:17:43 -08:00
Renan DelValle
2f52fa2eb9
Renaming arguments to be more descriptive. 2020-01-04 18:11:43 -08:00
Renan DelValle
b3de44bac6
Change cap node to use a temporary setup. 2020-01-04 18:09:41 -08:00
Renan DelValle
cf4ffe61c0
Removing uncessary print statement. 2020-01-04 18:09:03 -08:00
Renan DelValle
78d1a11583
Add happy path test for cap zone 2020-01-04 17:43:18 -08:00
Renan DelValle
3d9f92a9c0
Change some data types around to avoid too much conversion. 2020-01-04 17:42:59 -08:00
Renan DelValle
78f533fe21
Adding test for happy path retrieving max power. 2020-01-04 17:15:16 -08:00
Renan DelValle
2955c5d27f
Removing python script since this has been ported to go code now. 2020-01-04 13:24:26 -08:00
Renan DelValle
fb9e88e07d
Initial work on rapl-daemon. Initial server set up. API to read max power per zone and API to write new power cap have both been written. 2020-01-04 13:23:10 -08:00