OSDN Git Service

bionic: tzset running hot
authorMark Salyzyn <salyzyn@google.com>
Fri, 2 Oct 2015 20:15:07 +0000 (13:15 -0700)
committerMark Salyzyn <salyzyn@google.com>
Fri, 2 Oct 2015 20:30:34 +0000 (13:30 -0700)
commitd0578949ace9444e07e254f5baa592283baba304
treeb8ff7f069442c04b7853acb41fb0bac73269ec55
parent4a65557d0ebd167e557958687f50510742cb238a
bionic: tzset running hot

logd makes a non-insignificant number of calls to localtime, 3% of
the time in logd is spent performing __system_property_get within the
context of tzset_locked().

Bug: 23685592
Change-Id: I75f8c2d436b60374e92c166b87393abda9487af7
libc/tzcode/localtime.c