/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
AsciiHprofWriter.java | 54 List<HprofData.Sample> samples 55 = new ArrayList<HprofData.Sample>(data.getSamples()); 58 for (HprofData.Sample sample : samples) { 59 HprofData.StackTrace stackTrace = sample.stackTrace; 60 int count = sample.count; 76 for (HprofData.Sample sample : samples) { 78 HprofData.StackTrace stackTrace = sample.stackTrace; 79 int count = sample.count [all...] |
HprofData.java | 202 public static final class Sample { 207 private Sample(StackTrace stackTrace, int count) { 226 if (!(o instanceof Sample)) { 229 Sample s = (Sample) o; 234 return "Sample[count=" + count + " " + stackTrace + "]"; 266 * Map of stack traces to a mutable sample count. The map is 268 * mutable access to the int[] cells that contain the sample 331 * Return a new set containing the current sample data. 333 public Set<Sample> getSamples() 339 Sample sample = new Sample(stackTrace, count); local [all...] |
/external/chromium_org/base/metrics/ |
histogram_samples.h | 25 virtual void Accumulate(HistogramBase::Sample value, 27 virtual HistogramBase::Count GetCount(HistogramBase::Sample value) const = 0; 45 // Based on |op| type, add or subtract sample counts data from the iterator. 72 // Get the sample and count at current position. 75 virtual void Get(HistogramBase::Sample* min, 76 HistogramBase::Sample* max,
|
sparse_histogram.cc | 19 typedef HistogramBase::Sample Sample; 43 Sample expected_minimum, 44 Sample expected_maximum, 50 void SparseHistogram::Add(Sample value) { 127 // Determine which bucket has the largest sample count so that we can 128 // normalize the graphical bar-width relative to that sample count. 130 Sample largest_sample = 0; 134 Sample min; 135 Sample max [all...] |
sample_vector.cc | 15 typedef HistogramBase::Sample Sample; 25 void SampleVector::Accumulate(Sample value, Count count) { 33 Count SampleVector::GetCount(Sample value) const { 58 HistogramBase::Sample min; 59 HistogramBase::Sample max; 68 // Sample matches this bucket! 72 // Sample is larger than current bucket range. Try next. 75 // Sample is smaller than current bucket range. We scan buckets from 76 // smallest to largest, so the sample value must be invalid [all...] |
histogram.h | 100 // sample is an expansion (with comments) of the code for 134 histogram_pointer->Add(sample); 139 // vary are the invocation of the Add(sample) vs AddTime(sample), and the choice 168 #define HISTOGRAM_TIMES(name, sample) HISTOGRAM_CUSTOM_TIMES( \ 169 name, sample, base::TimeDelta::FromMilliseconds(1), \ 174 #define HISTOGRAM_CUSTOM_TIMES(name, sample, min, max, bucket_count) \ 175 STATIC_HISTOGRAM_POINTER_BLOCK(name, AddTime(sample), \ 179 #define HISTOGRAM_COUNTS(name, sample) HISTOGRAM_CUSTOM_COUNTS( \ 180 name, sample, 1, 1000000, 50 561 Sample sample; member in struct:base::LinearHistogram::DescriptionPair [all...] |
sparse_histogram.h | 23 #define HISTOGRAM_SPARSE_COMMON(name, sample, flag) \ 28 histogram->Add(sample); \ 31 #define HISTOGRAM_SPARSE_SLOWLY(name, sample) \ 32 HISTOGRAM_SPARSE_COMMON(name, sample, base::HistogramBase::kNoFlags) 34 #define UMA_HISTOGRAM_SPARSE_SLOWLY(name, sample) \ 35 HISTOGRAM_SPARSE_COMMON(name, sample, \ 42 #define DHISTOGRAM_SPARSE_SLOWLY(name, sample) \ 43 HISTOGRAM_SPARSE_SLOWLY(name, sample) 47 #define DHISTOGRAM_SPARSE_SLOWLY(name, sample) \ 50 static_cast<void>(sample); \ [all...] |
histogram.cc | 82 typedef HistogramBase::Sample Sample; 88 Sample minimum, 89 Sample maximum, 144 void Histogram::InitializeBucketRanges(Sample minimum, 145 Sample maximum, 151 Sample current = minimum; 161 Sample next; 178 Sample previous_range = -1; // Bottom range is always 0. 208 Sample Histogram::ranges(size_t i) const 807 Sample sample = custom_ranges[i]; local [all...] |
bucket_ranges.cc | 66 // need is a nice hash, that tends to depend on all the bits of the sample, with 69 static uint32 Crc32(uint32 sum, HistogramBase::Sample value) { 75 HistogramBase::Sample range; 76 unsigned char bytes[sizeof(HistogramBase::Sample)]; 86 HistogramBase::Sample range; 87 uint16 ints[sizeof(HistogramBase::Sample) / 2]; 89 DCHECK_EQ(sizeof(HistogramBase::Sample), sizeof(converter)); 104 void BucketRanges::set_range(size_t i, HistogramBase::Sample value) {
|
histogram_base.cc | 61 const HistogramBase::Sample HistogramBase::kSampleType_MAX = INT_MAX; 78 Add(static_cast<Sample>(time.InMilliseconds())); 132 Sample sample) const { 135 StringAppendF(&result, "%#x", sample); 137 StringAppendF(&result, "%d", sample);
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
bandwidthsmoother.h | 59 bool Sample(uint32 sample_time, int bandwidth);
|
/external/javassist/src/main/javassist/tools/rmi/ |
Sample.java | 23 public class Sample {
|
/developers/build/prebuilts/gradle/DoneBar/DoneBarSample/src/main/java/com/example/android/donebar/ |
MainActivity.java | 38 private Sample[] mSamples; 46 mSamples = new Sample[]{ 47 new Sample(R.string.donebaractivity_title, R.string.donebaractivity_description, 49 new Sample(R.string.donebuttonactivity_title, R.string.donebuttonactivity_description, 95 private class Sample { 100 private Sample(int titleResId, int descriptionResId, Intent intent) { 106 private Sample(int titleResId, int descriptionResId,
|
/development/samples/browseable/DoneBar/src/com.example.android.donebar/ |
MainActivity.java | 38 private Sample[] mSamples; 46 mSamples = new Sample[]{ 47 new Sample(R.string.donebaractivity_title, R.string.donebaractivity_description, 49 new Sample(R.string.donebuttonactivity_title, R.string.donebuttonactivity_description, 95 private class Sample { 100 private Sample(int titleResId, int descriptionResId, Intent intent) { 106 private Sample(int titleResId, int descriptionResId,
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
SimpleTimeLimiterTest.java | 121 Sample proxy = service.newProxy( 122 target, Sample.class, ENOUGH_MS, TimeUnit.MILLISECONDS); 131 Sample proxy = service.newProxy( 132 target, Sample.class, NOT_ENOUGH_MS, TimeUnit.MILLISECONDS); 149 Sample proxy = service.newProxy( 150 target, Sample.class, ENOUGH_MS, TimeUnit.MILLISECONDS); 162 Sample proxy = service.newProxy( 163 target, Sample.class, NOT_ENOUGH_MS, TimeUnit.MILLISECONDS); 180 public interface Sample { 188 public static class SampleImpl implements Sample { [all...] |
/external/chromium_org/net/disk_cache/ |
stats_histogram.cc | 24 Sample minimum, 25 Sample maximum, 44 Sample minimum = 1; 45 Sample maximum = disk_cache::Stats::kDataSizesLength - 1;
|
/external/chromium_org/ppapi/c/ |
ppb_gamepad.h | 103 void (*Sample)(PP_Instance instance, struct PP_GamepadsSampleData* data);
|
/external/chromium_org/ppapi/proxy/ |
gamepad_resource.h | 42 virtual void Sample(PP_Instance instance,
|
/frameworks/av/include/media/ |
SoundPool.h | 52 class Sample : public RefBase { 55 Sample(int sampleID, const char* url); 56 Sample(int sampleID, int fd, int64_t offset, int64_t length); 57 ~Sample(); 99 void set(const sp<Sample>& sample, int channelID, float leftVolume, 101 sp<Sample> sample() { return mSample; } function in class:android::SoundEvent 111 sp<Sample> mSample; 128 void play(const sp<Sample>& sample, int channelID, float leftVolume, float rightVolume [all...] |
/external/chromium/base/metrics/ |
histogram.h | 63 #define HISTOGRAM_TIMES(name, sample) HISTOGRAM_CUSTOM_TIMES( \ 64 name, sample, base::TimeDelta::FromMilliseconds(1), \ 67 #define HISTOGRAM_COUNTS(name, sample) HISTOGRAM_CUSTOM_COUNTS( \ 68 name, sample, 1, 1000000, 50) 70 #define HISTOGRAM_COUNTS_100(name, sample) HISTOGRAM_CUSTOM_COUNTS( \ 71 name, sample, 1, 100, 50) 73 #define HISTOGRAM_COUNTS_10000(name, sample) HISTOGRAM_CUSTOM_COUNTS( \ 74 name, sample, 1, 10000, 50) 76 #define HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count) do { \ 82 counter->Add(sample); \ 318 Sample sample; member in struct:base::Histogram::DescriptionPair [all...] |
/external/chromium/net/disk_cache/ |
stats_histogram.cc | 28 Sample minimum = 1; 29 Sample maximum = disk_cache::Stats::kDataSizesLength - 1; 66 Histogram::Sample StatsHistogram::ranges(size_t i) const { 75 void StatsHistogram::SnapshotSample(SampleSet* sample) const { 80 *sample = my_sample;
|
/external/chromium_org/ppapi/api/ |
ppb_gamepad.idl | 94 void Sample(
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11app/ |
d3d11blit.hlsl | 52 return tex.Sample(samp, input.texcoord);
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11app/ |
d3d11blit.hlsl | 52 return tex.Sample(samp, input.texcoord);
|
/external/chromium/chrome/browser/ |
process_info_snapshot.h | 18 // |Sample()| method is called. This information can then be probed by PID. 19 // |Sample()| may take a while to complete, so if calling from the browser 31 // |Sample()| below. 39 bool Sample(std::vector<base::ProcessId> pid_list);
|