/external/linux-tools-perf/perf-3.12.0/tools/perf/util/scripting-engines/ |
H A D | trace-event-perl.c | 261 struct perf_sample *sample, 273 int cpu = sample->cpu; 274 void *data = sample->raw_data; 275 unsigned long long nsecs = sample->time; 351 struct perf_sample *sample, 367 XPUSHs(sv_2mortal(newSVpvn((const char *)sample, sizeof(*sample)))); 368 XPUSHs(sv_2mortal(newSVpvn((const char *)sample->raw_data, sample->raw_size))); 378 struct perf_sample *sample, 260 perl_process_tracepoint(union perf_event *perf_event __maybe_unused, struct perf_sample *sample, struct perf_evsel *evsel, struct machine *machine __maybe_unused, struct thread *thread, struct addr_location *al) argument 350 perl_process_event_generic(union perf_event *event, struct perf_sample *sample, struct perf_evsel *evsel, struct machine *machine __maybe_unused, struct thread *thread __maybe_unused, struct addr_location *al __maybe_unused) argument 377 perl_process_event(union perf_event *event, struct perf_sample *sample, struct perf_evsel *evsel, struct machine *machine, struct thread *thread, struct addr_location *al) argument [all...] |
/external/oprofile/daemon/liblegacy/ |
H A D | opd_proc.c | 108 * verb_show_sample - print the sample out to the log 157 * opd_lookup_maps - lookup a proc mappings for a sample 159 * @param sample sample to lookup 161 * iterate through the proc maps searching the mapping which owns sample 162 * if sucessful sample count will be updated and we return non-zero 165 struct op_sample const * sample) 174 if (opd_is_in_map(map, sample->eip)) { 175 unsigned long offset = opd_map_offset(map, sample->eip); 178 opd_put_image_sample(map->image, offset, sample 164 opd_lookup_maps(struct opd_proc * proc, struct op_sample const * sample) argument 190 opd_put_sample(struct op_sample const * sample) argument [all...] |
/external/oprofile/libpp/ |
H A D | format_output.h | 60 * will output sample count and percentage in extra columns. 73 /// total sample count 89 : symbol(sym), sample(s), pclass(pc), 92 sample_entry const & sample; member in struct:format_output::formatter::field_datum 136 sample_entry const & sample, counts_t & c, 282 sample_entry const & sample, size_t count);
|
H A D | profile_container.cpp | 95 symb_entry.sample.counts[pclass] = count; 103 symb_entry.sample.file_loc.linenr = 0; 107 symb_entry.sample.file_loc.linenr)) { 108 symb_entry.sample.file_loc.filename = 116 symb_entry.sample.vma = abfd.syms[i].vma(); 143 sample_entry sample; local 145 sample.counts[pclass] = it.count(); 147 sample.file_loc.linenr = 0; 151 sample.file_loc.linenr)) { 152 sample [all...] |
/external/qemu/distrib/sdl-1.2.15/src/audio/ |
H A D | SDL_audiocvt.c | 33 Sint32 sample; local 46 sample = src[0] + src[1]; 47 *dst = (Uint8)(sample / 2); 60 sample = src[0] + src[1]; 61 *dst = (Sint8)(sample / 2); 75 sample = (Uint16)((src[0]<<8)|src[1])+ 77 sample /= 2; 78 dst[1] = (sample&0xFF); 79 sample >>= 8; 80 dst[0] = (sample [all...] |
/external/chromium_org/chrome/browser/chromeos/policy/ |
H A D | user_cloud_policy_store_chromeos.cc | 46 void SampleValidationFailure(ValidationFailure sample) { argument 48 sample, 497 // no need to sample a failure.
|
/external/chromium_org/chrome/browser/ |
H A D | memory_details.cc | 123 int sample, 125 // |sample| is memory usage in kB. 136 // if |sample| < |last_size|. We ignore it as 1 is small enough. 137 *diff = ((sample - last_size) * 30 / 139 found_size->second = sample; 147 memory_sizes_[pid] = sample; 432 int sample = static_cast<int>(browser.processes[index].working_set.priv); local 433 aggregate_memory += sample; 436 UMA_HISTOGRAM_MEMORY_KB("Memory.Browser", sample); 443 UMA_HISTOGRAM_MEMORY_KB("Memory.Extension", sample); 121 UpdateSample( base::ProcessId pid, int sample, int* diff) argument 554 int sample = static_cast<int>(browser.processes[index].working_set.swapped); local [all...] |
/external/chromium_org/chrome/browser/net/ |
H A D | url_info.cc | 239 int sample(int64 value) { function in class:chrome_browser_net::MinMaxAverage 315 queue.sample((it->queue_duration_.InMilliseconds())); 320 HoursMinutesSeconds(when.sample(
|
/external/chromium_org/chrome/renderer/ |
H A D | page_load_histograms.cc | 67 const TimeDelta& sample) { 73 histogram_pointer->AddTime(sample); 78 const TimeDelta& sample, 82 PltHistogramWithNoMacroCaching(name + preview_suffix, sample); 87 PltHistogramWithNoMacroCaching(name_with_experiment_id, sample); 91 #define PLT_HISTOGRAM(name, sample) \ 92 UMA_HISTOGRAM_CUSTOM_TIMES(name, sample, kPLTMin(), kPLTMax(), kPLTCount); 95 name, sample, came_from_websearch, websearch_chrome_joint_experiment_id, \ 97 PLT_HISTOGRAM(name, sample); \ 99 PLT_HISTOGRAM(base::StringPrintf("%s_FromGWS", name), sample) \ 66 PltHistogramWithNoMacroCaching(const std::string& name, const TimeDelta& sample) argument 77 PltHistogramWithGwsPreview(const char* name, const TimeDelta& sample, bool is_preview, int experiment_id) argument [all...] |
/external/chromium_org/components/autofill/core/browser/ |
H A D | autofill_metrics.cc | 187 int sample, 189 DCHECK_LT(sample, boundary_value); 199 histogram->Add(sample); 234 // |field_type|. Logs a sample of |metric|, which should be in the range 186 LogUMAHistogramEnumeration(const std::string& name, int sample, int boundary_value) argument
|
/external/chromium_org/content/child/ |
H A D | site_isolation_policy.cc | 85 uint32 sample, 94 histogram_pointer->Add(sample); 84 IncrementHistogramEnum(const std::string& name, uint32 sample, uint32 boundary_value) argument
|
/external/chromium_org/content/renderer/media/android/ |
H A D | audio_decoder_android.cc | 97 static float ConvertSampleToFloat(int16_t sample) { argument 101 return sample * (sample < 0 ? kMinScale : kMaxScale); 139 // Maximum number (inclusive) of bytes per sample supported by this 147 // Read a PCM sample from the WAVE data at |pcm_data|. 219 int16_t sample; local 221 // Convert the unsigned data into a 16-bit PCM sample. 224 sample = (unsigned_sample - 128) << 8; 227 sample = static_cast<int16_t>(unsigned_sample); 233 sample 327 int16_t sample = ReadPCMSample(buffer_); local 485 int16_t sample = decoded_samples[m + k]; local [all...] |
/external/chromium_org/content/renderer/media/crypto/ |
H A D | encrypted_media_player_support_impl.cc | 65 int sample, 70 base::Histogram::kUmaTargetedHistogramFlag)->Add(sample); 75 int sample) { 79 1, 1000000, 50, base::Histogram::kUmaTargetedHistogramFlag)->Add(sample); 63 EmeUMAHistogramEnumeration(const std::string& key_system, const std::string& method, int sample, int boundary_value) argument 73 EmeUMAHistogramCounts(const std::string& key_system, const std::string& method, int sample) argument
|
/external/chromium_org/media/video/capture/win/ |
H A D | video_capture_device_mf_win.cc | 123 DWORD stream_flags, LONGLONG time_stamp, IMFSample* sample) { 125 if (!sample) { 131 sample->GetBufferCount(&count); 135 sample->GetBufferByIndex(i, buffer.Receive()); 122 OnReadSample(HRESULT status, DWORD stream_index, DWORD stream_flags, LONGLONG time_stamp, IMFSample* sample) argument
|
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
H A D | AudioBufferSourceNode.cpp | 150 // We're not looping and we've reached the end of the sample data, but we still need to provide more output, 205 // Avoid converting from time to sample-frames twice by computing 206 // the grain end time first before computing the sample frame. 227 // Convert from seconds to sample-frames. 284 // For linear interpolation we need the next sample-frame too. 306 double sample = (1.0 - interpolationFactor) * sample1 + interpolationFactor * sample2; local 308 destination[writeIndex] = narrowPrecisionToFloat(sample); 314 // Wrap-around, retaining sub-sample position since virtualReadIndex is floating-point. 432 // at a sub-sample position since it will degrade the quality. 433 // When aligned to the sample [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
H A D | ucdtest.cpp | 457 // So far, sample characters are uppercase. 466 UnicodeString sample = uscript_getSampleUnicodeString(sc); local 470 assertTrue("not encoded, no sample", sample.isEmpty()); 476 assertFalse("encoded, has a sample character", sample.isEmpty()); 477 UChar32 firstChar = sample.char32At(0); 479 assertEquals("script(sample(script))",
|
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
H A D | webrtcvideoframe.cc | 114 uint32 format, int w, int h, int dw, int dh, uint8* sample, 117 return Reset(format, w, h, dw, dh, sample, sample_size, pixel_width, 302 uint32 format, int w, int h, int dw, int dh, uint8* sample, 305 if (!Validate(format, w, h, sample, sample_size)) { 336 // The sample's layout in memory is normal, so just correct crop. 347 sample, sample_size, y, y_stride, u, u_stride, v, v_stride, horiz_crop, 113 Init( uint32 format, int w, int h, int dw, int dh, uint8* sample, size_t sample_size, size_t pixel_width, size_t pixel_height, int64 elapsed_time, int64 time_stamp, int rotation) argument 301 Reset( uint32 format, int w, int h, int dw, int dh, uint8* sample, size_t sample_size, size_t pixel_width, size_t pixel_height, int64 elapsed_time, int64 time_stamp, int rotation) argument
|
/external/chromium_org/v8/src/ |
H A D | counters.h | 35 // Register an application-defined function to add a sample 59 // sample values. buckets is the maximum number of buckets 69 // Add a sample to a histogram created with the CreateHistogram 71 void AddHistogramSample(void* histogram, int sample) { argument 73 return add_histogram_sample_function_(histogram, sample); 185 // Add a single sample to this histogram. 186 void AddSample(int sample);
|
/external/deqp/framework/common/ |
H A D | tcuFuzzyImageCompare.cpp | 252 deUint32 sample = bilinearSample<NumChannels>(surface, dx, dy); local 254 minErr = deFloatMin(minErr, compareColors(pixel, sample, params.minErrThreshold));
|
/external/eigen/Eigen/src/Geometry/ |
H A D | AlignedBox.h | 160 inline VectorType sample() const function in class:Eigen::AlignedBox
|
/external/icu/icu4c/source/test/intltest/ |
H A D | ucdtest.cpp | 457 // So far, sample characters are uppercase. 466 UnicodeString sample = uscript_getSampleUnicodeString(sc); local 470 assertTrue("not encoded, no sample", sample.isEmpty()); 476 assertFalse("encoded, has a sample character", sample.isEmpty()); 477 UChar32 firstChar = sample.char32At(0); 479 assertEquals("script(sample(script))",
|
/external/iproute2/misc/ |
H A D | nstat.c | 336 double sample; local 340 sample = (double)(incr*1000)/interval; 342 n->rate += W*(sample-n->rate); 345 n->rate = sample; 348 n->rate += w*(sample-n->rate);
|
H A D | rtacct.c | 311 double sample; local 320 sample = (double)(incr*1000)/interval; 322 kern_db->rate[i] += W*(sample-kern_db->rate[i]); 325 kern_db->rate[i] = sample; 328 kern_db->rate[i] += w*(sample-kern_db->rate[i]);
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/ |
H A D | code-reading.c | 251 struct perf_sample sample; local 255 if (perf_evlist__parse_sample(evlist, event, &sample)) { 260 thread = machine__findnew_thread(machine, sample.pid, sample.pid); 268 return read_object_code(sample.ip, READLEN, cpumode, thread, machine,
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
H A D | event.c | 515 struct perf_sample *sample __maybe_unused, 523 struct perf_sample *sample __maybe_unused, 549 struct perf_sample *sample __maybe_unused, 557 struct perf_sample *sample __maybe_unused, 572 struct perf_sample *sample __maybe_unused, 580 struct perf_sample *sample __maybe_unused, 614 struct perf_sample *sample __maybe_unused, 714 struct perf_sample *sample) 717 struct thread *thread = machine__findnew_thread(machine, sample->pid, 718 sample 711 perf_event__preprocess_sample(const union perf_event *event, struct machine *machine, struct addr_location *al, struct perf_sample *sample) argument [all...] |