OSDN Git Service

Stats log interface for single node attribution chain.
authorYangster-mac <yanglu@google.com>
Thu, 11 Jan 2018 05:31:59 +0000 (21:31 -0800)
committerYangster <yanglu@google.com>
Tue, 16 Jan 2018 00:41:29 +0000 (16:41 -0800)
commitba5b9e44bbfa7577c45c5c5e7e75cc1cd82a31b7
tree275dfe9ba25338043f86c3f9ef4f431c135991a7
parent02c0e98600b6b0cdf912effea48877b5ddbafed9
Stats log interface for single node attribution chain.

Usually the input parameters for attribution chain is list of int64/string.
The new c++interface takes one int64 and one string as input and write
as a single node into logd.

This will help avoid allocating temp objects in battery stats java code.

Test: all statsd unit test passed.
Change-Id: Ia0f7f26b71a570bd3628c42726a5afb0a500d073
tools/stats_log_api_gen/Collation.cpp
tools/stats_log_api_gen/Collation.h
tools/stats_log_api_gen/main.cpp