Tomasz Golinski
2a2a77caf3
Some cppcheck fixes
2023-08-30 22:43:49 +02:00
Tomasz Golinski
d4d8011be1
Add some more data to powertrails table
2022-07-18 22:13:27 +02:00
Tomasz Golinski
30d38d8fc4
Precompute treshold for powertrails, note rounding is always up
2022-07-18 22:12:31 +02:00
Tomasz Golinski
6706ef9898
Grab more data about powertrails (type, active caches)
2022-07-18 19:36:46 +02:00
Tomasz Golinski
637a637626
Move constants around
2022-07-18 19:05:52 +02:00
Tomasz Golinski
d33957af6c
Fix segfault in traildb by fixing shallow copy of PowertrailDB
2022-07-18 19:00:48 +02:00
Tomasz Golinski
70499296d7
clang-format
2022-07-14 14:47:15 +02:00
Tomasz Golinski
91d250cb3a
Replace trails histogram with a table and add some convenience functions to powertrail.h
2022-07-14 14:23:30 +02:00
Tomasz Golinski
5cc8291488
Add some more uint
2022-07-13 19:40:26 +02:00
Tomasz Golinski
89e9b4d8c6
Change some int to uint and thus silence warnings
2022-07-13 18:30:26 +02:00
Tomasz Golinski
ffa05441c7
Rudimentary power trail support
...
Relies on pre-existing JSON databases generated by traildb. Note that completion of trail is calculated basing on current treshold and number of caches.
2022-07-12 12:54:56 +02:00