Commit graph

61 commits

Author SHA1 Message Date
cc07d1ca9a Update documentation 2024-03-11 15:04:29 +00:00
fd8c72adf0 Plot minimum across nodes as well 2024-02-29 16:10:05 +01:00
1096808f65 Move plot legend to lower right 2024-02-29 16:00:58 +01:00
362416f8aa Report time in seconds, not miliseconds 2024-02-29 15:34:51 +01:00
f14904f8ca Report only energy if script name is get_energy.py 2024-02-23 16:53:11 +01:00
ba5b2d80f5 Add option to report only total consumed energy 2024-02-23 16:51:55 +01:00
dcf88a6da0 Report node power only if requested
This is a hack! Monkey patches class Power :(
2024-02-23 16:39:59 +01:00
7f0228a905 Remove dependece on numpy
Note, this changes the standard deviation from population (old, numpy) to sample (new, pandas) and thus numerical values.
2024-02-22 11:38:55 +01:00
bc6a5a3018 Make some methods private 2024-02-22 11:35:57 +01:00
2436928e7a Refactor contructors for class Power 2024-02-22 11:32:20 +01:00
d1bae309a9 Reimplement from_list in terms of pandas 2024-02-21 15:55:05 +01:00
711daa3a5d Intercept empty query resutls 2024-02-21 14:58:35 +01:00
c2b5732be8 Use variable-length method arguments for convenience 2024-02-21 14:41:19 +01:00
20cf200053 Fix timestamps for filename 2024-02-20 16:52:27 +01:00
277b3e936e Print power values of all nodes, including missing ones 2024-02-20 16:51:32 +01:00
5b07b407de Refactor pretty_print to outine to_csv 2024-02-20 16:49:32 +01:00
c22959f4b9 Refactor class Power to use pandas dataframes 2024-02-20 14:21:12 +01:00
eeba6f7942 Read into pandas dataframe to compute consumed energy 2024-02-16 16:01:28 +01:00
d355d7b348 Fix namespace bug 2024-02-16 15:59:15 +01:00
f8b0f86f22 Update README 2024-02-15 11:18:11 +01:00
11f334d2b4 Improve parsing of job IDs 2024-02-15 11:06:54 +01:00
a5435e65dc Save warnings in output 2024-02-15 10:29:45 +01:00
1f7dbd80b3 Refactor variable name 2024-02-13 14:34:08 +01:00
9c0bfd79f9 Add nodes to output 2024-02-12 17:37:40 +01:00
87a0f17b28 Preserve order of nodes 2024-02-12 17:37:40 +01:00
f58a6d62ab State and check assumptions in Power.from_list() 2024-02-12 17:37:40 +01:00
fa1f981f89 Power class knows nothing about actual delta_t in outputs 2024-02-12 16:29:25 +01:00
ff7da8b8a2 Fix various broken symbols 2024-02-07 16:03:39 +01:00
1e09e93400 Add query and warnings for hawk-ai jobs 2024-02-07 15:54:13 +01:00
a484711971 Replace explicit query string with function in TimescaleDB 2024-02-07 15:24:01 +01:00
8543446b91 Warn if interval is short 2024-02-07 14:15:04 +01:00
c7c4460196 Log command line in output files 2024-02-07 11:31:30 +01:00
e73f69f25e Swap order of query output tuple 2024-02-07 10:20:13 +01:00
ae00b04bbe Outline query string as class constant 2024-02-06 09:04:52 +01:00
c2bf0cb74b Update query string re new naming of tables 2024-01-26 11:35:44 +01:00
03a35834a1 Add source reference for SQL query string 2024-01-12 13:37:02 +00:00
cb0bc18785 Add python3 shebang 2023-11-22 16:04:30 +01:00
df11a511ce Update README 2023-11-22 14:55:44 +01:00
f6991fb57b Fix unknown symbol 2023-11-22 14:46:51 +01:00
e6b291daa7 Call method through self 2023-11-22 14:46:25 +01:00
4a2107d6df Add argument for interval and report in output 2023-11-22 14:45:14 +01:00
6ff52227ef Decouple argument parser from sys.argv 2023-11-22 14:35:19 +01:00
3843ce1350 Update monitoring/db/README.md 2023-11-22 11:32:41 +01:00
5f4765d196 Update of README 2023-11-22 11:18:36 +01:00
c0f6adcf67 Remove debug output and fix whitespace 2023-11-22 11:03:56 +01:00
035803fbe2 Error handling for jobid without data 2023-11-22 10:52:49 +01:00
ee106619ea Outline main into class 2023-11-22 10:30:36 +01:00
36bfb06228 Add factory function for power from data base 2023-11-22 09:01:05 +01:00
f9ebd68654 Refactor database class for multiple querries 2023-11-20 16:50:22 +01:00
9294b04291 Introduce class for database handling 2023-11-20 16:23:36 +01:00