summaryrefslogtreecommitdiff
path: root/init/modalias_handler.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2019-06-14 14:34:54 -0700
committerTom Cherry <tomcherry@google.com>2019-06-14 14:55:27 -0700
commitb90dcc07d368263ae47ddbe42ba07e52c68582d5 (patch)
treec516c2054ef8b02be5a84a6bfbddaf384615b1d5 /init/modalias_handler.cpp
parentebbe9e7391c1d36edc60acdc609418ba00070053 (diff)
Create android-base/format.h that includes fmtlib headers
We're already including fmtlib statically in libbase, so let's also expose its functionality directly. Also create a small benchmark of the most common operations for format() and StringPrintf(): int, float, and string arguments. Note that fmt::format is faster than StringPrintf() in all of these cases. Test: build, run benchmark Change-Id: I1e18f13673dd89ea936ea5c51418fad723495b08
Diffstat (limited to 'init/modalias_handler.cpp')
0 files changed, 0 insertions, 0 deletions