Loop sscanf and strtok will take a long cpu time, since get_proc_stat is called per thread. So, replace these with a single sscanf, which will save much cpu time. Signed-off-by: nocjj <1250062498@qq.com>
Description
No description provided
Languages
Diff
100%