Home
last modified time | relevance | path

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

12

/system/extras/boottime_tools/bootio/
Dbootio.cpp68 int samples = 0; in StartDataCollection() local
80 samples = atoi(components.at(LOG_SAMPLES_INDEX).c_str()); in StartDataCollection()
86 if (timeout <= 0 || samples <= 0) { in StartDataCollection()
91 if (samples > timeout || samples > LOG_MAX_SAMPLES || timeout > LOG_MAX_TIMEOUT) { in StartDataCollection()
93 " samples=" << samples << " Max timeout=" << LOG_MAX_TIMEOUT << in StartDataCollection()
97 LOG(INFO) << "Boot I/O: collecting data. samples=" << samples << "timeout=" << timeout; in StartDataCollection()
99 timeout, samples); in StartDataCollection()
105 collector->StartDataCollection(timeout, samples); in StartDataCollection()
Dbootio_collector.h27 void StartDataCollection(int timeout, int samples);
Dbootio_collector.cpp256 newerSample = &(appData.samples(j)); in PrintPids()
326 void BootioCollector::StartDataCollection(int timeout, int samples) { in StartDataCollection() argument
328 int remaining = samples + 1; in StartDataCollection()
329 int delayS = timeout / samples; in StartDataCollection()
DREADME.md17 seconds and $SAMPLES corresponds to the desired number of samples.
Dprotos.proto40 repeated AppSample samples = 4; field
/system/media/audio_utils/
Dpower.cpp242 float audio_utils_compute_energy_mono(const void *buffer, audio_format_t format, size_t samples) in audio_utils_compute_energy_mono() argument
246 return energyMono<AUDIO_FORMAT_PCM_8_BIT>(buffer, samples); in audio_utils_compute_energy_mono()
249 return energyMono<AUDIO_FORMAT_PCM_16_BIT>(buffer, samples); in audio_utils_compute_energy_mono()
252 return energyMono<AUDIO_FORMAT_PCM_24_BIT_PACKED>(buffer, samples); in audio_utils_compute_energy_mono()
255 return energyMono<AUDIO_FORMAT_PCM_8_24_BIT>(buffer, samples); in audio_utils_compute_energy_mono()
258 return energyMono<AUDIO_FORMAT_PCM_32_BIT>(buffer, samples); in audio_utils_compute_energy_mono()
261 return energyMono<AUDIO_FORMAT_PCM_FLOAT>(buffer, samples); in audio_utils_compute_energy_mono()
268 float audio_utils_compute_power_mono(const void *buffer, audio_format_t format, size_t samples) in audio_utils_compute_power_mono() argument
271 audio_utils_compute_energy_mono(buffer, format, samples) / samples); in audio_utils_compute_power_mono()
Dprimitives.c366 size_t nonZeroMono32(const int32_t *samples, size_t count) in nonZeroMono32() argument
370 nonZero += *samples++ != 0; in nonZeroMono32()
375 size_t nonZeroMono16(const int16_t *samples, size_t count) in nonZeroMono16() argument
379 nonZero += *samples++ != 0; in nonZeroMono16()
/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.h528 size_t nonZeroMono32(const int32_t *samples, size_t count);
533 size_t nonZeroMono16(const int16_t *samples, size_t count);
/system/extras/simpleperf/
Dreport_sample.proto43 // By using '-e' option, we can ask simpleperf to record samples for one or more
45 // Each event type generates samples independently. But recording more event types
46 // will cost more cpu time generating samples, which may affect the monitored threads
50 // same thread. However, if there are lost samples between current sample and previous
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.h344 void DisplaySamples(FILE* fp, const std::vector<EntryT*>& samples, in DisplaySamples() argument
347 for (const auto& sample : samples) { in DisplaySamples()
351 for (const auto& sample : samples) { in DisplaySamples()
Dcmd_kmem.cpp93 std::vector<SlabSample*> samples; member
127 sample_tree.samples = GetSamples(); in GetSampleTree()
602 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
133 sample_tree.samples = GetSamples(); in GetSampleTree()
844 sample_tree_sorter_->Sort(sample_tree_.back().samples, print_callgraph_); in ReadSampleTreeFromRecordFile()
929 sample_tree_displayer_->DisplaySamples(report_fp, sample_tree.samples, &sample_tree); in PrintReport()
DAndroid.bp446 // It's linked to user's program, to get profile counters and samples for specific code ranges.
474 // It's the shared library used on host by python scripts to report samples in different ways.
/system/extras/simpleperf/doc/
Dexecutable_commands_reference.md29 - [Filter samples](#filter-samples)
30 - [Group samples into sample entries](#group-samples-into-sample-entries)
52 The record command records samples of the profiled processes in a time period. Here’s how it works:
57 5. Simpleperf reads samples from the mapped buffers and stores profiling data in a file called
327 The record command is used to dump samples of the profiled processes. Each sample can contain
332 what frequency to dump samples, how long to monitor, and where to store samples.
336 # frequency (4000 samples per second), writing records to perf.data.
392 To avoid taking too much time generating samples, kernel >= 3.10 sets the max percent of cpu time
393 used for generating samples (default is 25%), and decreases the max allowed sample frequency when
474 Simpleperf is a CPU profiler, it generates samples for a thread only when it is running on a CPU.
[all …]
Dinferno.md16 the number of samples and the height is related to the number of functions on
90 #### High percentage of lost samples
/system/extras/tests/workloads/
Dpwrtest.sh127 ((samples=5*60*collectmin))
128 monsoon.par --timestamp --samples $samples --hz 5
/system/extras/power_profile/gps_on/Application/
Dbuild.gradle26 'common', // components that are reused by multiple samples
/system/extras/power_profile/camera_avg/Application/
Dbuild.gradle29 'common', // components that are reused by multiple samples
/system/extras/power_profile/camera_flashlight/Application/
Dbuild.gradle29 'common', // components that are reused by multiple samples
/system/sepolicy/prebuilts/api/30.0/private/
Dtraced_perf.te12 # profiling, but retain samples only for profileable processes.
/system/sepolicy/private/
Dtraced_perf.te12 # profiling, but retain samples only for profileable processes.
/system/extras/simpleperf/scripts/inferno/
Ddata_types.py31 self.samples = []
/system/chre/doc/
Dframework_testing.md42 attempts to samples from sensors and outputs to the log. It also offers a

12