summaryrefslogtreecommitdiffstats
path: root/logd/LogUtils.h
Commit message (Collapse)AuthorAgeFilesLines
* logd: optimize code hotspotsMark Salyzyn2015-11-011-0/+17
| | | | | | | | | | | Discovered that we had a few libc hotspots. Adjust code to generally reduce or nullify the number of calls to malloc, free, strlen, strcmp, strncmp, memcmp & strncasecmp. Total gain looks to be about 3% of logd's processing time. malloc still contributes to 3%, but all others are now total 0.5%. Bug: 23685592 Change-Id: Ife721121667969260cdb8b055524ae90f5911278
* logd: Add LogUtils.hMark Salyzyn2015-11-011-0/+45
Move prototypes from LogBufferElement.h to LogUtils.h Change-Id: I55e42e17e6c997e35b2b78b87fd2f84f8f393282