immortalwrt/package
Chuck 5f075d8aca
autocore: optimize the performance of obtaining CPU temperature
Preformance Test (on NanoPi R2s, repeat 1000 times):

old command:

temp="$(awk "BEGIN{printf (\"%.1f\n\",$(cat /sys/class/thermal/thermal_zone0/temp)/1000) }")°C"

```
real    0m 9.20s
user    0m 3.29s
sys     0m 6.24s
```

new command:

temp="$(awk '{ printf("%.1f °C", $0 / 1000) }' /sys/class/thermal/thermal_zone0/temp)"

```
real    0m 5.57s
user    0m 1.78s
sys     0m 3.97s
```

Signed-off-by: Chuck <fanck0605@qq.com>
[adjusted for our own tree]
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-20 00:07:07 +08:00
..
base-files include/version: set default distribution name to ImmortalWrt 2021-02-18 19:08:57 +08:00
boot Revert "sunxi: add support for FriendlyARM NanoPi R1S H5" 2021-02-19 00:34:27 +08:00
ctcgfw rtl8821cu: fix build on x86 platform 2021-02-19 23:48:53 +08:00
devel Merge Official Source 2021-02-01 00:05:51 +08:00
firmware Merge Official Source 2021-02-06 23:30:24 +08:00
kernel Merge Official Source 2021-02-19 12:00:17 +08:00
lean autocore: optimize the performance of obtaining CPU temperature 2021-02-20 00:07:07 +08:00
libs Revert "package: libs: ncurses/readline use PKG_ABI_VERSION" 2021-02-19 03:25:43 +08:00
lienol luci-app-passwall: sync with upstream source 2021-02-19 17:27:45 +08:00
network Merge Official Source 2021-02-16 19:30:07 +08:00
ntlf9t rtl_wifi: bump to latest git HEAD 2021-02-18 23:06:04 +08:00
system build: reorder more BuildPackages lines to deal with ABI_VERSION 2021-02-16 11:29:38 +01:00
utils Merge Official Source 2021-02-19 12:00:17 +08:00
Makefile build: always build package/kernel/linux 2020-10-15 13:25:58 +02:00