Home
last modified time | relevance | path

Searched refs:u64_count (Results 1 – 2 of 2) sorted by relevance

/system/extras/simpleperf/
DRecordReadThread.cpp154 size_t u64_count = nr; in GetStackSizePos() local
155 u64_count += (read_format_ & PERF_FORMAT_TOTAL_TIME_ENABLED) ? 1 : 0; in GetStackSizePos()
156 u64_count += (read_format_ & PERF_FORMAT_TOTAL_TIME_RUNNING) ? 1 : 0; in GetStackSizePos()
157 u64_count += (read_format_ & PERF_FORMAT_ID) ? nr : 0; in GetStackSizePos()
158 pos += u64_count * sizeof(uint64_t); in GetStackSizePos()
Drecord.cpp42 #define CHECK_SIZE_U64(p, end, u64_count) \ argument
44 if (UNLIKELY(((end) - (p)) / sizeof(uint64_t) < (u64_count))) { \
507 uint64_t u64_count = (read_format & PERF_FORMAT_TOTAL_TIME_ENABLED) ? 1 : 0; in Parse() local
508 u64_count += (read_format & PERF_FORMAT_TOTAL_TIME_RUNNING) ? 1 : 0; in Parse()
509 if (__builtin_add_overflow(u64_count, nr, &u64_count)) { in Parse()
513 if (__builtin_add_overflow(u64_count, nr, &u64_count)) { in Parse()
517 CHECK_SIZE_U64(p, end, u64_count); in Parse()
640 size_t u64_count = (read_format & PERF_FORMAT_GROUP) ? 1 : 0; in SampleRecord() local
641 u64_count += (read_format & PERF_FORMAT_TOTAL_TIME_ENABLED) ? 1 : 0; in SampleRecord()
642 u64_count += (read_format & PERF_FORMAT_TOTAL_TIME_RUNNING) ? 1 : 0; in SampleRecord()
[all …]