/system/extras/boottime_tools/bootio/ |
D | bootio.cpp | 68 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()
|
D | bootio_collector.h | 27 void StartDataCollection(int timeout, int samples);
|
D | bootio_collector.cpp | 256 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()
|
D | README.md | 17 seconds and $SAMPLES corresponds to the desired number of samples.
|
D | protos.proto | 40 repeated AppSample samples = 4; field
|
/system/media/audio_utils/ |
D | power.cpp | 242 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()
|
D | primitives.c | 366 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/ |
D | power.h | 45 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);
|
D | primitives.h | 528 size_t nonZeroMono32(const int32_t *samples, size_t count); 533 size_t nonZeroMono16(const int16_t *samples, size_t count);
|
/system/extras/simpleperf/ |
D | report_sample.proto | 43 // 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
|
D | sample_tree_test.cpp | 109 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()
|
D | sample_tree.h | 344 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()
|
D | cmd_kmem.cpp | 93 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()
|
D | cmd_report.cpp | 99 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()
|
D | Android.bp | 446 // 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/ |
D | executable_commands_reference.md | 29 - [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 …]
|
D | inferno.md | 16 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/ |
D | pwrtest.sh | 127 ((samples=5*60*collectmin)) 128 monsoon.par --timestamp --samples $samples --hz 5
|
/system/extras/power_profile/gps_on/Application/ |
D | build.gradle | 26 'common', // components that are reused by multiple samples
|
/system/extras/power_profile/camera_avg/Application/ |
D | build.gradle | 29 'common', // components that are reused by multiple samples
|
/system/extras/power_profile/camera_flashlight/Application/ |
D | build.gradle | 29 'common', // components that are reused by multiple samples
|
/system/sepolicy/prebuilts/api/30.0/private/ |
D | traced_perf.te | 12 # profiling, but retain samples only for profileable processes.
|
/system/sepolicy/private/ |
D | traced_perf.te | 12 # profiling, but retain samples only for profileable processes.
|
/system/extras/simpleperf/scripts/inferno/ |
D | data_types.py | 31 self.samples = []
|
/system/chre/doc/ |
D | framework_testing.md | 42 attempts to samples from sensors and outputs to the log. It also offers a
|