Increase stats hardware rpc threadpool.
Increase the threadpool count to 4.
Test: builds, boots
Test: adb shell cmd stats pull-source 10020 returns a battery capcity
Bug: 139453643
Merged-In: I2929fd6ca300781e67dde97d6196939d7928b350
Change-Id: I2929fd6ca300781e67dde97d6196939d7928b350
(cherry picked from commit 3174c0da99)
This commit is contained in:
@@ -78,7 +78,7 @@ int main(int /*argc*/, char** /*argv*/) {
|
||||
ps->giveThreadPoolName();
|
||||
IPCThreadState::self()->disableBackgroundScheduling(true);
|
||||
|
||||
::android::hardware::configureRpcThreadpool(1 /*threads*/, false /*willJoin*/);
|
||||
::android::hardware::configureRpcThreadpool(4 /*threads*/, false /*willJoin*/);
|
||||
|
||||
std::shared_ptr<LogEventQueue> eventQueue =
|
||||
std::make_shared<LogEventQueue>(2000 /*buffer limit. Buffer is NOT pre-allocated*/);
|
||||
|
||||
Reference in New Issue
Block a user