Linus Dierheimer
8fa09ca093
Refactored read methods
2022-06-20 16:27:33 +02:00
Linus Dierheimer
fe71291769
Clean up includes
2022-06-18 14:25:31 +02:00
Linus Dierheimer
5d853f3b17
GPU temp detection
2022-06-17 23:38:33 +02:00
Linus Dierheimer
20e2f1e19d
Detect CPU temp only if a custom format string is given
2022-06-17 20:41:11 +02:00
Linus Dierheimer
6e3e717224
--<module>-error options
2022-06-17 18:15:36 +02:00
Linus Dierheimer
5e96ba8384
Fix cpu temp detection the second
2022-06-16 14:55:02 +02:00
Linus Dierheimer
481affa50a
Fix cpu temp detection
2022-06-16 14:39:01 +02:00
Linus Dierheimer
1eff343733
Finish exposing temperatur to cpu format
2022-06-16 13:36:00 +02:00
xzvf
ea53833466
Remove unnecessary checks for content->length
2022-06-16 13:18:38 +02:00
xzvf
dcaeab7e96
Rewrite to use ffDetectTemps.
2022-06-16 13:14:03 +02:00
xzvf
d8bb36f119
Add CPU package temperature to CPU module.
...
This is done by looking for a specified thermal zone in
/sys/class/thermal/thermal_zone*/ .
Unfortunately there is no better way to find the
temperature, then to check all registered zones.
This still needs to be extended to support other hardware,
right now only x86 CPUs and Raspberry pi are tested.
Maybe the FF_CPU_THERMAL_ZONES array could be user configurable,
but I could not figure out how to add an array as a config parameter.
2022-06-15 16:21:50 +02:00
Linus Dierheimer
ea44231c78
Don't prepend proc with TARGET_DIR_ROOT
...
Should make future packaging for termux simpler
2022-05-23 20:01:18 +02:00
Linus Dierheimer
bd0c593871
Simplify packaging for termux
2022-04-10 15:07:52 +02:00
Linus Dierheimer
a032d37ad4
Refactored method naming / ordering
2022-04-08 15:50:49 +02:00
Linus Dierheimer
bf60429e36
Android support part 1
2022-01-09 16:51:57 +01:00
Linus Dierheimer
7ced537e59
FFstrbuf is now always null terminated
2021-11-17 10:59:31 +01:00
李通洲
1a5b1428dc
Add Android basic support
2021-10-20 22:27:29 +08:00
Linus Dierheimer
98f420ad3d
handle cpu frequencies right
2021-06-16 11:47:32 +02:00
Linus Dierheimer
27915127a8
improved cpu detection
2021-06-16 11:28:33 +02:00
Linus Dierheimer
4d7a06ac97
ffGetPropValue
2021-05-13 12:27:44 +02:00
Linus Dierheimer
bd2e1da3b4
small fixes
2021-05-02 21:45:47 +02:00
Linus Dierheimer
4e54117238
better cpu name prettifier
2021-04-17 14:37:32 +02:00
Linus Dierheimer
9bc1f2a116
much more efficient caching
2021-04-15 18:59:26 +02:00
Linus Dierheimer
53c781aa21
project structure refactoring
2021-04-09 14:07:05 +02:00
Linus Dierheimer
e01d03f98d
dont use format string if an error occures
2021-04-03 21:51:50 +02:00
Linus Dierheimer
67465d266e
more efficient memory usage
2021-04-03 12:14:25 +02:00
Linus Dierheimer
08066a76f0
all keys can now be set!
2021-04-03 11:39:59 +02:00
Linus Dierheimer
a8821cf6f0
some terminal improvements
2021-04-02 16:21:52 +02:00
Linus Dierheimer
c44bd6dbc1
better disk output
2021-03-28 15:38:52 +02:00
Linus Dierheimer
184eafce20
better cpu output
2021-03-28 13:02:40 +02:00
Linus Dierheimer
a1e90ba35c
editorconfig
2021-03-27 18:14:19 +01:00
Linus Dierheimer
f61ffdb149
removed ffStrbufIsEmpty
2021-03-23 19:48:52 +01:00
Linus Dierheimer
071b2c6727
print logo in ffPrintAndSaveCachedValue
2021-03-21 20:46:20 +01:00
Linus Dierheimer
2004544528
using strbuf for loading/saving cached values
2021-03-21 20:42:07 +01:00
Linus Dierheimer
101d19a015
ffGetFileContent now uses FFstrbuf for preventing buffer overflows
2021-03-21 16:52:17 +01:00
Linus Dierheimer
1ceb5c91ac
format options for every output!
2021-03-19 20:57:07 +01:00
Linus Dierheimer
1cda1eb653
refactored internal state keeping
2021-02-27 18:30:05 +01:00
Linus Dierheimer
b44ab16dd1
refactored project structure
2021-02-27 16:40:05 +01:00