Home
last modified time | relevance | path

Searched refs:sample_type (Results 1 – 25 of 32) sorted by relevance

12

/external/perfetto/tools/protoprofile/
Dmain.cc190 auto* sample_type = profile->add_sample_type(); in Compute() local
191 sample_type->set_type(InternString("protos")); in Compute()
192 sample_type->set_unit(InternString("count")); in Compute()
194 sample_type = profile->add_sample_type(); in Compute()
195 sample_type->set_type(InternString("max_size")); in Compute()
196 sample_type->set_unit(InternString("bytes")); in Compute()
198 sample_type = profile->add_sample_type(); in Compute()
199 sample_type->set_type(InternString("min_size")); in Compute()
200 sample_type->set_unit(InternString("bytes")); in Compute()
202 sample_type = profile->add_sample_type(); in Compute()
[all …]
/external/tensorflow/tensorflow/python/profiler/
Dpprof_profiler.py347 sample_type = pprof_profile.sample_type.add()
348 sample_type.type = self._string_table.index_of(sample_type_description)
349 sample_type.unit = self._string_table.index_of('count')
351 sample_type = pprof_profile.sample_type.add()
352 sample_type.type = self._string_table.index_of(sample_type_description)
353 sample_type.unit = self._string_table.index_of('nanoseconds')
355 sample_type = pprof_profile.sample_type.add()
356 sample_type.type = self._string_table.index_of(sample_type_description)
357 sample_type.unit = self._string_table.index_of('nanoseconds')
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_code.cc322 auto sample_type = profile_pb->mutable_sample_type()->Add(); in Build() local
323 sample_type->set_type(string_table_.GetIndex(sample_type_description)); in Build()
324 sample_type->set_unit(string_table_.GetIndex("count")); in Build()
328 sample_type = profile_pb->mutable_sample_type()->Add(); in Build()
329 sample_type->set_type(string_table_.GetIndex(sample_type_description)); in Build()
331 sample_type->set_unit(string_table_.GetIndex("microseconds")); in Build()
343 sample_type->set_unit(string_table_.GetIndex("bytes")); in Build()
348 sample_type->set_unit(string_table_.GetIndex("bytes")); in Build()
352 sample_type->set_unit(string_table_.GetIndex("bytes")); in Build()
356 sample_type->set_unit(string_table_.GetIndex("bytes")); in Build()
[all …]
/external/perfetto/src/profiling/perf/
Devent_reader.cc282 if (event_attr_.sample_type & in ParseSampleRecord()
299 if (event_attr_.sample_type & PERF_SAMPLE_TID) { in ParseSampleRecord()
308 if (event_attr_.sample_type & PERF_SAMPLE_TIME) { in ParseSampleRecord()
312 if (event_attr_.sample_type & PERF_SAMPLE_REGS_USER) { in ParseSampleRecord()
317 if (event_attr_.sample_type & PERF_SAMPLE_STACK_USER) { in ParseSampleRecord()
Devent_config.cc177 pe.sample_type = PERF_SAMPLE_TID | PERF_SAMPLE_TIME | PERF_SAMPLE_STACK_USER | in EventConfig()
/external/strace/
Dperf.c254 PRINT_FIELD_FLAGS(", ", *attr, sample_type, perf_event_sample_format, in print_perf_event_attr()
357 if (attr->sample_type & PERF_SAMPLE_BRANCH_STACK) { in print_perf_event_attr()
377 if (attr->sample_type & PERF_SAMPLE_STACK_USER) in print_perf_event_attr()
Dperf_event_struct.h14 uint64_t sample_type; member
/external/strace/tests-m32/
Dperf_event_open.c147 const char *type, const char *config, const char *sample_type, in print_event_attr() argument
223 sample_type, read_format); in print_event_attr()
410 if (attr->sample_type & (1 << 11)) in print_event_attr()
442 if (attr->sample_type & (1 << 13)) in print_event_attr()
759 attr->sample_type = sample_types[sample_type_idx].val; in main()
/external/strace/tests/
Dperf_event_open.c147 const char *type, const char *config, const char *sample_type, in print_event_attr() argument
223 sample_type, read_format); in print_event_attr()
410 if (attr->sample_type & (1 << 11)) in print_event_attr()
442 if (attr->sample_type & (1 << 13)) in print_event_attr()
759 attr->sample_type = sample_types[sample_type_idx].val; in main()
/external/strace/tests-mx32/
Dperf_event_open.c147 const char *type, const char *config, const char *sample_type, in print_event_attr() argument
223 sample_type, read_format); in print_event_attr()
410 if (attr->sample_type & (1 << 11)) in print_event_attr()
442 if (attr->sample_type & (1 << 13)) in print_event_attr()
759 attr->sample_type = sample_types[sample_type_idx].val; in main()
/external/perfetto/protos/third_party/pprof/
Dprofile.proto56 // sample_type.unit == "count".
57 repeated ValueType sample_type = 1; field
111 // entry in Profile.sample_type. All samples must have the same
112 // number of values, the same as the length of Profile.sample_type.
/external/tensorflow/tensorflow/core/profiler/
Dprofile.proto7 repeated ValueType sample_type = 1; field
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dtask_fd_query_tp.c33 attr.sample_type = PERF_SAMPLE_RAW; in test_task_fd_query_tp_core()
Dsend_signal.c148 .sample_type = PERF_SAMPLE_RAW | PERF_SAMPLE_CALLCHAIN, in test_send_signal_tracepoint()
Dtp_attach_query.c32 attr.sample_type = PERF_SAMPLE_RAW | PERF_SAMPLE_CALLCHAIN; in test_tp_attach_query()
/external/bcc/src/python/bcc/
Dperf.py99 attr.sample_type = Perf.PERF_SAMPLE_RAW
/external/kernel-headers/original/uapi/sound/
Dskl-tplg-interface.h179 __u32 sample_type; member
/external/linux-kselftest/tools/testing/selftests/bpf/
Dget_cgroup_id_user.c105 attr.sample_type = PERF_SAMPLE_RAW; in main()
/external/perfetto/tools/trace_to_text/
Dpprof_builder.cc441 auto* sample_type = result_->add_sample_type(); in WriteSampleTypes() local
442 sample_type->set_type(Intern(kViews[i].type)); in WriteSampleTypes()
443 sample_type->set_unit(Intern(kViews[i].unit)); in WriteSampleTypes()
/external/ltp/testcases/cve/
Dcve-2015-3290.c327 .sample_type = PERF_SAMPLE_IP|PERF_SAMPLE_TID| in child_thread()
/external/kernel-headers/original/uapi/linux/
Dperf_event.h334 __u64 sample_type; member
/external/igt-gpu-tools/overlay/
Dgpu-perf.c217 attr.sample_type = (PERF_SAMPLE_TIME | PERF_SAMPLE_STREAM_ID | PERF_SAMPLE_TID | PERF_SAMPLE_RAW); in perf_tracepoint_open()
/external/angle/third_party/spirv-tools/src/source/val/
Dvalidate_image.cpp1038 const uint32_t sample_type = _.GetOperandTypeId(inst, 4); in ValidateImageTexelPointer() local
1039 if (!sample_type || !_.IsIntScalarType(sample_type)) { in ValidateImageTexelPointer()
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_image.cpp1037 const uint32_t sample_type = _.GetOperandTypeId(inst, 4); in ValidateImageTexelPointer() local
1038 if (!sample_type || !_.IsIntScalarType(sample_type)) { in ValidateImageTexelPointer()
Dvalidate_extensions.cpp767 const uint32_t sample_type = _.GetOperandTypeId(inst, 5); in ValidateExtInst() local
768 if (!_.IsIntScalarType(sample_type) || in ValidateExtInst()
769 _.GetBitWidth(sample_type) != 32) { in ValidateExtInst()

12