Home
last modified time | relevance | path

Searched refs:StatsData (Results 1 – 4 of 4) sorted by relevance

/hardware/google/pixel/perfstatsd/include/
Dperfstats_buffer.h51 class StatsData {
69 void emplace(StatsData &&data);
70 const std::queue<StatsData> &dump(void);
74 std::queue<StatsData> mStorage;
79 bool operator()(const StatsData &a, const StatsData &b) const { in operator()
Dstatstype.h30 void dump(std::priority_queue<StatsData, std::vector<StatsData>, StatsdataCompare> *queue) { in dump() argument
32 std::queue<StatsData> buffer = mBuffer.dump(); in dump()
43 void append(StatsData &&data) { in append()
45 mBuffer.emplace(std::forward<StatsData>(data)); in append()
48 StatsData data; in append()
/hardware/google/pixel/perfstatsd/
Dperfstats_buffer.cpp23 void PerfstatsBuffer::emplace(StatsData &&data) { in emplace()
30 mStorage.emplace(std::forward<StatsData>(data)); in emplace()
33 const std::queue<StatsData> &PerfstatsBuffer::dump(void) { in dump()
Dperfstatsd.cpp43 std::priority_queue<StatsData, std::vector<StatsData>, StatsdataCompare> mergedQueue; in getHistory()
49 StatsData data = mergedQueue.top(); in getHistory()