Home
last modified time | relevance | path

Searched refs:PERFETTO_LIKELY (Results 1 – 25 of 29) sorted by relevance

12

/external/perfetto/include/perfetto/base/
Dcompiler.h34 #define PERFETTO_LIKELY(_x) __builtin_expect(!!(_x), 1) macro
37 #define PERFETTO_LIKELY(_x) (_x) macro
/external/perfetto/include/perfetto/ext/base/
Dmetatrace.h264 if (PERFETTO_LIKELY((enabled_tags & tag) == 0)) in TraceCounter()
278 if (PERFETTO_LIKELY((enabled_tags & tag) == 0)) in ScopedEvent()
287 if (PERFETTO_LIKELY(!record_)) in ~ScopedEvent()
/external/perfetto/src/tracing/core/
Dtrace_buffer.cc355 if (PERFETTO_LIKELY(!next_chunk.is_padding)) { in DeleteNextChunksFor()
359 if (PERFETTO_LIKELY(it != index_.end())) { in DeleteNextChunksFor()
674 if (PERFETTO_LIKELY(result == ReadPacketResult::kSucceeded)) { in ReadNextTracePacket()
787 if (PERFETTO_LIKELY((*read_iter_).num_fragments > 0)) { in ReadAhead()
831 if (PERFETTO_LIKELY(chunk_meta->is_complete())) { in ReadNextPacketInChunk()
865 if (PERFETTO_LIKELY(chunk_meta->is_complete())) { in ReadNextPacketInChunk()
895 if (PERFETTO_LIKELY(packet)) in ReadNextPacketInChunk()
Dtrace_writer_impl.cc147 if (PERFETTO_LIKELY(!drop_packets_)) { in NewTracePacket()
Dtrace_buffer.h598 if (PERFETTO_LIKELY(src)) { in WriteChunkRecord()
/external/perfetto/src/base/
Dmetatrace.cc107 if (PERFETTO_LIKELY(size < kCapacity / 2)) in AppendNewRecord()
125 if (PERFETTO_LIKELY(size < kCapacity)) in AppendNewRecord()
/external/perfetto/src/trace_processor/
Dtp_metatrace.h143 if (PERFETTO_LIKELY(!record_)) in ~ScopedEvent()
161 if (PERFETTO_LIKELY(!g_enabled))
Dtrace_sorter.h192 if (PERFETTO_LIKELY(timestamp >= max_ts_)) { in Append()
/external/perfetto/src/tracing/
Devent_context.cc41 if (PERFETTO_LIKELY(serialized_interned_data.empty())) in ~EventContext()
/external/perfetto/src/profiling/memory/
Dscoped_spinlock.cc53 PERFETTO_LIKELY( in LockSlow()
Dscoped_spinlock.h53 if (PERFETTO_LIKELY( in ScopedSpinlock()
/external/perfetto/src/protozero/
Dproto_decoder.cc63 if (PERFETTO_LIKELY(*pos < 0x80)) { // Fastpath for fields with ID < 16. in ParseOneField()
201 if (PERFETTO_LIKELY(!fld->valid())) { in ParseAllFields()
/external/perfetto/src/trace_processor/importers/ftrace/
Dsched_event_tracker.cc96 if (PERFETTO_LIKELY(prev_pid_match_prev_next_pid)) { in PushSchedSwitch()
200 if (PERFETTO_LIKELY(context_->config.ingest_ftrace_in_raw_table)) { in AddRawEventAndStartSlice()
292 if (PERFETTO_LIKELY(context_->config.ingest_ftrace_in_raw_table)) { in PushSchedWakingCompact()
Dftrace_tokenizer.cc82 if (PERFETTO_LIKELY(length > 10 && data[0] == timestampFieldTag)) { in TokenizeFtraceEvent()
/external/perfetto/include/perfetto/protozero/
Dscattered_stream_writer.h75 if (PERFETTO_LIKELY(end <= cur_range_.end)) in WriteBytes()
Dproto_decoder.h285 return PERFETTO_LIKELY(id < num_fields_) ? fields_[id] : fields_[0]; in Get()
/external/perfetto/src/trace_processor/containers/
Dbit_vector_iterators.h87 if (PERFETTO_LIKELY(old_block == new_block)) in SetIndex()
Dstring_pool.cc116 if (PERFETTO_LIKELY(str_size > 0)) { in TryInsert()
Dbit_vector.h131 if (PERFETTO_LIKELY(!old_value)) { in Set()
150 if (PERFETTO_LIKELY(old_value)) { in Clear()
/external/perfetto/src/traced/probes/ftrace/
Dftrace_metadata.h94 if (PERFETTO_LIKELY(pid_bit < pids_cache.size())) { in AddPid()
/external/perfetto/include/perfetto/tracing/
Dtrack_event_interned_data_index.h182 if (PERFETTO_LIKELY(index_for_field->index_.LookUpOrInsert(&iid, value))) { in Get()
Ddata_source.h290 if (PERFETTO_LIKELY(!instances))
/external/perfetto/include/perfetto/tracing/internal/
Dtrack_event_internal.h164 if (PERFETTO_LIKELY(!it_and_inserted.second)) in WriteTrackDescriptorIfNeeded()
/external/perfetto/src/trace_processor/importers/common/
Dclock_tracker.h166 if (PERFETTO_LIKELY(!cache_lookups_disabled_for_testing_)) { in Convert()
/external/perfetto/src/protozero/filtering/
Dfilter_bytecode_parser.cc210 if (PERFETTO_LIKELY(field_id < num_directly_indexed)) { in Query()

12