diff options
author | Mark Salyzyn <salyzyn@google.com> | 2016-12-28 10:30:57 -0800 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2017-01-20 17:53:27 +0000 |
commit | 142b43d4ab47f8f98748a9d560934a1f8f90c898 (patch) | |
tree | 674e8a41ddce4873a233f54de88d5a168fd156bf /liblog/logger_name.c | |
parent | 8dbab358f01ed0957ff4d5b1c505981dfe93d5de (diff) | |
download | core-142b43d4ab47f8f98748a9d560934a1f8f90c898.tar.gz core-142b43d4ab47f8f98748a9d560934a1f8f90c898.tar.bz2 core-142b43d4ab47f8f98748a9d560934a1f8f90c898.zip |
liblog: BM_log_latency improvement
This reduces BM_log_latency from ~300ns to ~100ns. Because, well, we
read the clock earlier and that is what BM_log_latency tries to
measure. The one major improvement in the switch from kernel logger
to user space logger was that we picked up the timestamp in the
context of the caller before doing anything else, but alas changes
over time neglected this fact and placed isloggable checking ahead
of this important fact.
Test: liblog_benchmarks, check results
Change-Id: I4bc9fc3cf8b1659e88417d967b1d0f3743f9e456
Diffstat (limited to 'liblog/logger_name.c')
0 files changed, 0 insertions, 0 deletions