-
公开(公告)号:US11347557B2
公开(公告)日:2022-05-31
申请号:US16225595
申请日:2018-12-19
Applicant: Samsung Electronics Co., Ltd
Inventor: Sriram Nagaswamy , Suhas Shantaraja Palasamudram , Karthikeyan Somanathan , Sandeep Palakkal
Abstract: Accordingly embodiments herein disclose a method for predicting optimal number of thread for an application in an electronic device. The method includes receiving, by an application thread controller, a request to predict a number of threads to be spawned from the application in real-time. Further, the method includes measuring, by the application thread controller, a current state of the electronic device based on the request received from the application. Further, the method includes predicting, by the application thread controller, the optimal number of threads to be spawned for the application based on a scheduler-behaviour model and the current state of the electronic device. Further, the method includes recommending, by the application thread controller, the number of threads to be spawned by the application based on the prediction.