Home
last modified time | relevance | path

Searched refs:perfetto (Results 1 – 25 of 37) sorted by relevance

12

/third_party/mesa3d/src/tool/pps/
Dpps_datasource.cc61 perfetto::protos::pbzero::GpuCounterConfig::Decoder config(config_raw); in OnSetup()
114 packet->set_timestamp_clock_id(perfetto::protos::pbzero::BUILTIN_CLOCK_BOOTTIME); in close_callback()
115 packet->set_timestamp(perfetto::base::GetBootTimeNs().count()); in close_callback()
147 static perfetto::DataSourceDescriptor dsd; in register_data_source()
152 void add_group(perfetto::protos::pbzero::GpuCounterDescriptor *desc, in add_group()
176 void add_descriptors(perfetto::protos::pbzero::GpuCounterEvent *event, in add_descriptors()
195 auto units = perfetto::protos::pbzero::GpuCounterDescriptor::NONE; in add_descriptors()
198 units = perfetto::protos::pbzero::GpuCounterDescriptor::PERCENT; in add_descriptors()
201 units = perfetto::protos::pbzero::GpuCounterDescriptor::BYTE; in add_descriptors()
204 units = perfetto::protos::pbzero::GpuCounterDescriptor::HERTZ; in add_descriptors()
[all …]
Dpps_producer.cc19 perfetto::TracingInitArgs args; in main()
20 args.backends = perfetto::kSystemBackend; in main()
21 perfetto::Tracing::Initialize(args); in main()
Dpps_datasource.h21 struct GpuDataSourceTraits : public perfetto::DefaultDataSourceTraits {
31 class GpuDataSource : public perfetto::DataSource<GpuDataSource, GpuDataSourceTraits>
/third_party/mesa3d/docs/
Dperfetto.rst4 Mesa has experimental support for `Perfetto <https://perfetto.dev>`__ for
6 `producers <https://perfetto.dev/docs/concepts/service-model>`__ each with
17 The mesa perfetto support adds additional producers, to allow for visualizing
50 To capture a trace with perfetto you need to take the following steps:
52 1. Build perfetto from sources available at ``subprojects/perfetto`` following
53 `this guide <https://perfetto.dev/docs/quickstart/linux-tracing>`__.
55 2. Create a `trace config <https://perfetto.dev/#/trace-config.md>`__, which is
58 can be found in ``subprojects/perfetto/test/configs``.
60 3. Change directory to ``subprojects/perfetto`` and run a
61 `convenience script <https://perfetto.dev/#/running.md>`__ to start the
[all …]
Dgpu-perf-tracing.rst10 perfetto
Du_trace.rst6 :doc:`Perfetto Tracing <perfetto>` is based on u_trace.
/third_party/mesa3d/src/intel/ds/
Dintel_driver_ds.cc99 struct IntelRenderpassTraits : public perfetto::DefaultDataSourceTraits {
103 class IntelRenderpassDataSource : public perfetto::DataSource<IntelRenderpassDataSource,
140 using perfetto::protos::pbzero::InternedGpuRenderStageSpecification_RenderStageCategory;
158 uint64_t cpu_ts = perfetto::base::GetBootTimeNs().count(); in sync_timestamp()
172 packet->set_timestamp_clock_id(perfetto::protos::pbzero::BUILTIN_CLOCK_BOOTTIME); in sync_timestamp()
179 clock->set_clock_id(perfetto::protos::pbzero::BUILTIN_CLOCK_BOOTTIME); in sync_timestamp()
208 packet->set_timestamp(perfetto::base::GetBootTimeNs().count()); in send_descriptors()
209 packet->set_timestamp_clock_id(perfetto::protos::pbzero::BUILTIN_CLOCK_BOOTTIME); in send_descriptors()
210 … packet->set_sequence_flags(perfetto::protos::pbzero::TracePacket::SEQ_INCREMENTAL_STATE_CLEARED); in send_descriptors()
220 desc->set_api(perfetto::protos::pbzero::InternedGraphicsContext_Api_OPEN_GL); in send_descriptors()
[all …]
Dmeson.build16 '--perfetto-hdr', '@OUTPUT1@',
/third_party/mesa3d/src/util/
Du_perfetto.cc33 perfetto::Tracing::Shutdown(); in util_perfetto_fini()
40 perfetto::TracingInitArgs args; in util_perfetto_init_once()
41 args.backends = perfetto::kSystemBackend; in util_perfetto_init_once()
42 perfetto::Tracing::Initialize(args); in util_perfetto_init_once()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_perfetto.cc46 struct FdRenderpassTraits : public perfetto::DefaultDataSourceTraits {
50 class FdRenderpassDataSource : public perfetto::DataSource<FdRenderpassDataSource, FdRenderpassTrai…
129 struct fd_perfetto_state *p = &ctx->perfetto; in stage_start()
138 struct fd_perfetto_state *p = &ctx->perfetto; in stage_end()
248 perfetto::DataSourceDescriptor dsd; in fd_perfetto_init()
256 uint64_t cpu_ts = perfetto::base::GetBootTimeNs().count(); in sync_timestamp()
280 clock->set_clock_id(perfetto::protos::pbzero::BUILTIN_CLOCK_BOOTTIME); in sync_timestamp()
302 packet->set_timestamp(perfetto::base::GetBootTimeNs().count()); in emit_submit_id()
330 struct fd_perfetto_state *p = &fd_context(pctx)->perfetto; in fd_start_render_pass()
375 fd_context(pctx)->perfetto.nbins ? GMEM_STAGE_ID : BYPASS_STAGE_ID); in fd_start_draw_ib()
[all …]
Dfreedreno_context.h444 struct fd_perfetto_state perfetto; member
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_perfetto.cc37 struct TuRenderpassTraits : public perfetto::DefaultDataSourceTraits {
41 class TuRenderpassDataSource : public perfetto::DataSource<TuRenderpassDataSource, TuRenderpassTrai…
126 typedef void (*trace_payload_as_extra_func)(perfetto::protos::pbzero::GpuRenderStageEvent *, const …
178 perfetto::DataSourceDescriptor dsd; in tu_perfetto_init()
186 uint64_t cpu_ts = perfetto::base::GetBootTimeNs().count(); in sync_timestamp()
240 clock->set_clock_id(perfetto::protos::pbzero::BUILTIN_CLOCK_BOOTTIME); in sync_timestamp()
262 packet->set_timestamp(perfetto::base::GetBootTimeNs().count()); in emit_submit_id()
Dtu_perfetto_util.c16 return &dev->perfetto; in tu_device_get_perfetto_state()
Dmeson.build88 '--perfetto-hdr', '@OUTPUT2@',
Dtu_device.h320 struct tu_perfetto_state perfetto; member
/third_party/skia/platform_tools/android/apps/skottie/
Dcollect.sh6 cat ./perfetto_config.pb | adb shell perfetto -c - -o /data/misc/perfetto-traces/trace.pb
7 adb pull /data/misc/perfetto-traces/trace.pb trace
Dskottie_metric.proto3 package perfetto.protos;
5 import "protos/perfetto/metrics/metrics.proto";
6 import "protos/perfetto/metrics/android/hwui_metric.proto";
13 // original HWUI metric as defined by built-in perfetto proto.
Drun_perf.sh11 wget https://get.perfetto.dev/trace_processor
/third_party/mesa3d/subprojects/
Dperfetto.wrap2 directory = perfetto
4 url = https://android.googlesource.com/platform/external/perfetto
/third_party/mesa3d/src/panfrost/ds/
Dpan_pps_driver.cc132 last_dump_ts = perfetto::base::GetBootTimeNs().count(); in dump_perfcnt()
162 return perfetto::protos::pbzero::BUILTIN_CLOCK_BOOTTIME; in gpu_clock_id()
167 return perfetto::base::GetBootTimeNs().count(); in gpu_timestamp()
/third_party/mesa3d/src/tool/pps/cfg/
Dsystem.cfg92 name: "perfetto.metatrace"
98 producer_name: "perfetto.traced_probes"
/third_party/mesa3d/src/util/perf/
Du_trace_priv.h52 void (*perfetto)(void *pctx, uint64_t ts_ns, const void *flush_data, const void *payload); member
Du_trace.c528 if (evt->tp->perfetto) { in process_chunk()
529 evt->tp->perfetto(utctx->pctx, ns, chunk->flush_data, evt->payload); in process_chunk()
/third_party/mesa3d/src/freedreno/ds/
Dfd_pps_driver.cc429 last_dump_ts = perfetto::base::GetBootTimeNs().count(); in collect_countables()
702 return perfetto::protos::pbzero::BUILTIN_CLOCK_BOOTTIME; in gpu_clock_id()
708 return perfetto::base::GetBootTimeNs().count(); in gpu_timestamp()
/third_party/node/tools/v8_gypfiles/
Dfeatures.gypi167 # Use Perfetto (https://perfetto.dev) as the default TracingController. Not

12