Home
last modified time | relevance | path

Searched refs:samples (Results 1 – 15 of 15) sorted by relevance

/system/media/audio_utils/
Dpower.cpp270 float audio_utils_compute_energy_mono(const void *buffer, audio_format_t format, size_t samples) in audio_utils_compute_energy_mono() argument
274 return energyMono<AUDIO_FORMAT_PCM_8_BIT>(buffer, samples); in audio_utils_compute_energy_mono()
277 return energyMono<AUDIO_FORMAT_PCM_16_BIT>(buffer, samples); in audio_utils_compute_energy_mono()
280 return energyMono<AUDIO_FORMAT_PCM_24_BIT_PACKED>(buffer, samples); in audio_utils_compute_energy_mono()
283 return energyMono<AUDIO_FORMAT_PCM_8_24_BIT>(buffer, samples); in audio_utils_compute_energy_mono()
286 return energyMono<AUDIO_FORMAT_PCM_32_BIT>(buffer, samples); in audio_utils_compute_energy_mono()
289 return energyMono<AUDIO_FORMAT_PCM_FLOAT>(buffer, samples); in audio_utils_compute_energy_mono()
296 float audio_utils_compute_power_mono(const void *buffer, audio_format_t format, size_t samples) in audio_utils_compute_power_mono() argument
299 audio_utils_compute_energy_mono(buffer, format, samples) / samples); in audio_utils_compute_power_mono()
Dprimitives.c295 size_t nonZeroMono32(const int32_t *samples, size_t count) in nonZeroMono32() argument
299 if (*samples++ != 0) { in nonZeroMono32()
306 size_t nonZeroMono16(const int16_t *samples, size_t count) in nonZeroMono16() argument
310 if (*samples++ != 0) { in nonZeroMono16()
/system/extras/simpleperf/scripts/
Dpprof_proto_generator.config28 # Use samples only in threads with selected names.
30 # Use samples only in processes with selected process ids.
32 # Use samples only in threads with selected thread ids.
34 # Use samples only in selected binaries.
Dannotate.config28 # Use samples only in threads with selected names.
30 # Use samples only in processes with selected process ids.
32 # Use samples only in threads with selected thread ids.
34 # Use samples only in selected binaries.
/system/media/audio_utils/include/audio_utils/
Dpower.h45 float audio_utils_compute_power_mono(const void *buffer, audio_format_t format, size_t samples);
63 float audio_utils_compute_energy_mono(const void *buffer, audio_format_t format, size_t samples);
Dprimitives.h434 size_t nonZeroMono32(const int32_t *samples, size_t count);
439 size_t nonZeroMono16(const int16_t *samples, size_t count);
/system/extras/memcpy-perf/
Dmemcpy-perf.cpp18 size_t samples = 2048; variable
84 samples = atoi(argv[++i]); in main()
101 double pow_inc = (end_pow - start_pow) / samples; in main()
106 for (double cur_pow = start_pow; cur_pow <= end_pow && samples > 0; in main()
176 samples--; in main()
/system/extras/perfprofd/
Dperf_profile.proto52 // All samples for a load_module.
63 // All samples for a program.
72 // A compressed representation of a perf profile, which contains samples from
84 // Total number of samples in this profile.
/system/extras/simpleperf/
Dsample_tree_test.cpp109 static void CheckSamples(const std::vector<SampleEntry*>& samples, in CheckSamples() argument
111 ASSERT_EQ(samples.size(), expected_samples.size()); in CheckSamples()
112 for (size_t i = 0; i < samples.size(); ++i) { in CheckSamples()
114 SampleMatchExpectation(*samples[i], expected_samples[i], &has_error); in CheckSamples()
Dsample_tree.h308 void DisplaySamples(FILE* fp, const std::vector<EntryT*>& samples, in DisplaySamples() argument
311 for (const auto& sample : samples) { in DisplaySamples()
315 for (const auto& sample : samples) { in DisplaySamples()
Dcmd_kmem.cpp93 std::vector<SlabSample*> samples; member
127 sample_tree.samples = GetSamples(); in GetSampleTree()
603 slab_sample_tree_sorter_->Sort(slab_sample_tree_.samples, print_callgraph_); in ReadSampleTreeFromRecordFile()
669 report_fp, slab_sample_tree_.samples, &slab_sample_tree_); in PrintReport()
Dcmd_report.cpp99 std::vector<SampleEntry*> samples; member
131 sample_tree.samples = GetSamples(); in GetSampleTree()
749 sample_tree_sorter_->Sort(sample_tree_.back().samples, print_callgraph_); in ReadSampleTreeFromRecordFile()
802 sample_tree_displayer_->DisplaySamples(report_fp, sample_tree.samples, &sample_tree); in PrintReport()
DREADME.md35 The record command records samples of the profiled process in a time period.
43 5. Simpleperf reads samples from the mapped buffers and generates perf.data.
204 # using default sample frequency (4000 samples per second), writing records
398 simpleperf_report_lib.py is used to enumerate samples in perf.data. Internally
400 samples in perf.data to other forms. One example using simpleperf_report_lib.py
457 Don’t forget to run the app while recording. Otherwise, we may get no samples
463 Report samples in different threads.
477 Report samples in different binaries in the main thread.
490 Report samples in different functions in libsudo-game-jni.so in the main thread.
528 Report samples in one function
[all …]
/system/extras/tests/workloads/
Dpwrtest.sh127 ((samples=5*60*collectmin))
128 monsoon.par --timestamp --samples $samples --hz 5
/system/core/logcat/
Devent.logtags94 # Database operation samples.