mrsnu / band

Multi-DNN Inference Engine for Heterogeneous Mobile Processors
Other
23 stars 2 forks source link

`devfreq` support #281

Closed dostos closed 1 year ago

dostos commented 1 year ago

This PR extends previous cpu utilities to generic processor types.

Changes:

Tested on Galaxy S20 & Pixel 6.

Known issue

Process processor affinity may fail on consecutive execution of the program (same with an old Band code). I checked it works fine once we reboot the machine.

dostos commented 1 year ago

The second path is done. Brought the initial design of the ResourceMonitor from the splash branch.

Updated changes

Expected future to-do list

widiba03304 commented 1 year ago

I checked that the wireless stat can be fetched by linux/wireless.h and it is included in the NDK. I would work on it after this PR!

dostos commented 1 year ago

Sounds good to me! I moved directory-related utilities to devices with corresponding implementations for the Windows platform.