/external/chromium_org/tools/telemetry/telemetry/core/platform/power_monitor/ |
powermetrics_power_monitor.py | 92 # Container to collect samples for running averages. 98 'out_path', 'src_path', 'samples']) 193 m.samples.append(DataWithMetricKeyPath(m, plist)) 201 """Calculate average value of samples in a metric and store in output 205 metric: A RunningAverage object containing samples to average. 206 sample_durations: A list which parallels the samples list containing 211 if len(metric.samples) == 0: 214 assert len(metric.samples) == len(sample_durations) 216 for i in xrange(len(metric.samples)): 217 avg += metric.samples[i] * sample_durations[i [all...] |
/external/libvpx/libvpx/ |
rate_hist.c | 31 int samples; member in struct:rate_hist 42 // Determine the number of samples in the buffer. Use the file's framerate 45 hist->samples = cfg->rc_buf_sz * 5 / 4 * fps->num / fps->den / 1000; 48 if (hist->samples == 0) 49 hist->samples = 1; 54 hist->pts = calloc(hist->samples, sizeof(*hist->pts)); 55 hist->sz = calloc(hist->samples, sizeof(*hist->sz)); 84 int idx = hist->frames++ % hist->samples; 94 for (i = hist->frames; i > 0 && hist->frames - i < hist->samples; i--) { 95 const int i_idx = (i - 1) % hist->samples; [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
rate_hist.c | 31 int samples; member in struct:rate_hist 42 // Determine the number of samples in the buffer. Use the file's framerate 45 hist->samples = cfg->rc_buf_sz * 5 / 4 * fps->num / fps->den / 1000; 48 if (hist->samples == 0) 49 hist->samples = 1; 54 hist->pts = calloc(hist->samples, sizeof(*hist->pts)); 55 hist->sz = calloc(hist->samples, sizeof(*hist->sz)); 84 int idx = hist->frames++ % hist->samples; 94 for (i = hist->frames; i > 0 && hist->frames - i < hist->samples; i--) { 95 const int i_idx = (i - 1) % hist->samples; [all...] |
/external/chromium_org/third_party/angle/projects/samples/ |
particle_system.vcxproj | 53 <AdditionalIncludeDirectories>$(OutDir)obj\global_intermediate\angle;..\..\include;..\..\samples\angle\sample_util;..\..\util;C:\Program Files (x86)\Windows Kits\8.0\Include\shared;C:\Program Files (x86)\Windows Kits\8.0\Include\um;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
85 <AdditionalIncludeDirectories>$(OutDir)obj\global_intermediate\angle;..\..\include;..\..\samples\angle\sample_util;..\..\util;C:\Program Files (x86)\Windows Kits\8.0\Include\shared;C:\Program Files (x86)\Windows Kits\8.0\Include\um;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
92 <AdditionalIncludeDirectories>$(OutDir)obj\global_intermediate\angle;..\..\include;..\..\samples\angle\sample_util;..\..\util;C:\Program Files (x86)\Windows Kits\8.0\Include\shared;C:\Program Files (x86)\Windows Kits\8.0\Include\um;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
123 <AdditionalIncludeDirectories>$(OutDir)obj\global_intermediate\angle;..\..\include;..\..\samples\angle\sample_util;..\..\util;C:\Program Files (x86)\Windows Kits\8.0\Include\shared;C:\Program Files (x86)\Windows Kits\8.0\Include\um;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
129 <AdditionalIncludeDirectories>$(OutDir)obj\global_intermediate\angle;..\..\include;..\..\samples\angle\sample_util;..\..\util;C:\Program Files (x86)\Windows Kits\8.0\Include\shared;C:\Program Files (x86)\Windows Kits\8.0\Include\um;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
160 <AdditionalIncludeDirectories>$(OutDir)obj\global_intermediate\angle;..\..\include;..\..\samples\angle\sample_util;..\..\util;C:\Program Files (x86)\Windows Kits\8.0\Include\shared;C:\Program Files (x86)\Windows Kits\8.0\Include\um;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
167 <AdditionalIncludeDirectories>$(OutDir)obj\global_intermediate\angle;..\..\include;..\..\samples\angle\sample_util;..\..\util;C:\Program Files (x86)\Windows Kits\8.0\Include\shared;C:\Program Files (x86)\Windows Kits\8.0\Include\um;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
197 <AdditionalIncludeDirectories>$(OutDir)obj\global_intermediate\angle;..\..\include;..\..\samples\angle\sample_util;..\..\util;C:\Program Files (x86)\Windows Kits\8.0\Include\shared;C:\Program Files (x86)\Windows Kits\8.0\Include\um;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
202 <None Include="..\..\samples\samples.gyp"/> [all...] |
/external/opencv/ml/src/ |
mlknearest.cpp | 50 samples = 0; 64 samples = 0; 71 while( samples ) 73 CvVectors* next_samples = samples->next; 74 cvFree( &samples->data.fl ); 75 cvFree( &samples ); 76 samples = next_samples; 132 _samples->next = samples; 138 samples = _samples; 154 CvVectors* s = samples; [all...] |
/external/qemu/distrib/sdl-1.2.15/include/ |
SDL_audio.h | 46 * - 'desired->freq' should be the desired audio frequency in samples-per-second. 48 * - 'desired->samples' is the desired size of the audio buffer, in samples. 56 * Note that the number of samples is directly related to time by the 57 * following formula: ms = (samples*1000)/freq 75 int freq; /**< DSP frequency -- samples per second */ 79 Uint16 samples; /**< Audio buffer size in samples (power of 2) */ member in struct:SDL_AudioSpec 89 * Stereo samples are stored in a LRLRLR ordering. 100 #define AUDIO_U8 0x0008 /**< Unsigned 8-bit samples */ [all...] |
/prebuilts/tools/darwin-x86/sdl/include/SDL/ |
SDL_audio.h | 46 * - 'desired->freq' should be the desired audio frequency in samples-per-second. 48 * - 'desired->samples' is the desired size of the audio buffer, in samples. 56 * Note that the number of samples is directly related to time by the 57 * following formula: ms = (samples*1000)/freq 75 int freq; /**< DSP frequency -- samples per second */ 79 Uint16 samples; /**< Audio buffer size in samples (power of 2) */ member in struct:SDL_AudioSpec 89 * Stereo samples are stored in a LRLRLR ordering. 100 #define AUDIO_U8 0x0008 /**< Unsigned 8-bit samples */ [all...] |
/prebuilts/tools/linux-x86/sdl/include/SDL/ |
SDL_audio.h | 46 * - 'desired->freq' should be the desired audio frequency in samples-per-second. 48 * - 'desired->samples' is the desired size of the audio buffer, in samples. 56 * Note that the number of samples is directly related to time by the 57 * following formula: ms = (samples*1000)/freq 75 int freq; /**< DSP frequency -- samples per second */ 79 Uint16 samples; /**< Audio buffer size in samples (power of 2) */ member in struct:SDL_AudioSpec 89 * Stereo samples are stored in a LRLRLR ordering. 100 #define AUDIO_U8 0x0008 /**< Unsigned 8-bit samples */ [all...] |
/prebuilts/tools/windows/sdl/include/SDL/ |
SDL_audio.h | 46 * - 'desired->freq' should be the desired audio frequency in samples-per-second. 48 * - 'desired->samples' is the desired size of the audio buffer, in samples. 56 * Note that the number of samples is directly related to time by the 57 * following formula: ms = (samples*1000)/freq 75 int freq; /**< DSP frequency -- samples per second */ 79 Uint16 samples; /**< Audio buffer size in samples (power of 2) */ member in struct:SDL_AudioSpec 89 * Stereo samples are stored in a LRLRLR ordering. 100 #define AUDIO_U8 0x0008 /**< Unsigned 8-bit samples */ [all...] |
/external/ceres-solver/internal/ceres/ |
polynomial.h | 107 // Given a set of function value and/or gradient samples, find a 109 // in samples. 118 Vector FindInterpolatingPolynomial(const vector<FunctionSample>& samples); 120 // Interpolate the function described by samples with a polynomial, 122 // input samples, it is possible that the interpolation or the root 125 // considering the samples and the end points as possible solutions. 126 void MinimizeInterpolatingPolynomial(const vector<FunctionSample>& samples,
|
/external/chromium_org/third_party/icu/source/test/perf/howExpensiveIs/ |
sieve.cpp | 195 #define SAMPLES 50 196 uint32_t samples = SAMPLES; local 197 double times[SAMPLES]; 199 for(int i=0;i<SAMPLES;i++) { 202 printf("sieve: %d/%d: %.9f\n", i,SAMPLES, times[i]); 206 meanSieveTime = uprv_getMeanTime(times, &samples,&meanSieveME);
|
/external/chromium_org/third_party/skia/src/gpu/gl/unix/ |
SkNativeGLContext_unix.cpp | 106 // Pick the FB config/visual with the most samples per pixel 114 int samp_buf, samples; local 116 glXGetFBConfigAttrib(fDisplay, fbc[i], GLX_SAMPLES, &samples); 119 // " SAMPLES = %d\n", 120 // i, (unsigned int)vi->visualid, samp_buf, samples); 122 if (best_fbc < 0 || (samp_buf && samples > best_num_samp)) 123 best_fbc = i, best_num_samp = samples;
|
/external/chromium_org/third_party/skia/tools/ |
generate_fir_coeff.py | 14 """Returns the percent of samples within n std deviations of the normal.""" 18 """Returns the percent of samples within the std deviation range a, b""" 31 #We have a bunch of smudged samples which represent the average coverage of a range. 32 #We have a 'center' which may not line up with those samples. 34 #The first and last samples may not be fully covered. 36 #This is the sub-sample shift for each set of FIR coefficients (the centers of the lcds in the samples) 44 #How many samples to consider to the left and right of the subpxl center.
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
settings.h | 31 /* number of samples per frame (either 480 (30ms) or 960 (60ms)) */ 36 /* number of samples per frame processed in the encoder (30ms) */ 39 /* max number of samples per frame (= 60 ms frame) */ 41 /* number of samples per 10ms frame */ 43 /* Number of samples per 1 ms */ 51 /* samples of look ahead (in a half-band, so actually half the samples of look ahead @ FS) */
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/ |
settings.h | 24 /* number of samples per frame (either 320 (20ms), 480 (30ms) or 960 (60ms)) */ 38 /* number of samples per frame processed in the encoder, 480 */ 46 /* max number of samples per frame (= 60 ms frame) */ 49 /* number of samples per 10ms frame */ 52 /* number of samples in 30 ms frame */ 60 /* samples of look ahead (in a half-band, so actually 61 * half the samples of look ahead @ FS) */
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
sync_buffer_unittest.cc | 18 // Create a SyncBuffer with two channels and 10 samples each. 35 // Create a SyncBuffer with two channels and 100 samples each. 51 // Create a SyncBuffer with two channels and 100 samples each. 91 // Create a SyncBuffer with two channels and 100 samples each. 124 // Create a SyncBuffer with two channels and 100 samples each. 144 // Note that |samples_read| is the number of samples read from each channel. 145 // That is, the number of samples written to |output| is
|
/external/icu/icu4c/source/test/perf/howExpensiveIs/ |
sieve.cpp | 195 #define SAMPLES 50 196 uint32_t samples = SAMPLES; local 197 double times[SAMPLES]; 199 for(int i=0;i<SAMPLES;i++) { 202 printf("sieve: %d/%d: %.9f\n", i,SAMPLES, times[i]); 206 meanSieveTime = uprv_getMeanTime(times, &samples,&meanSieveME);
|
/external/oprofile/doc/ |
opcontrol.1.in | 83 Set kernel buffer to num samples. When using a 2.6 kernel, buffer watershed needs 91 Set kernel buffer watershed to num samples (2.6 only). When 98 Set kernel per cpu buffer to num samples (2.6 only). If you profile at high 114 Separate samples based on the given separator. 'lib' separates 115 dynamically linked library samples per application. 'kernel' separates 116 kernel and kernel module samples per application; 'kernel' 172 .I /var/lib/oprofile/samples/
|
/external/skia/tools/ |
bench_playback.cpp | 25 DEFINE_int32(samples, 10, "Gather this many samples of each picture playback."); 32 "2: print all samples"); 81 SkAutoTMalloc<double> samples(FLAGS_samples); 88 samples[i] = timer.fWall * scale; 91 Stats stats(samples.get(), FLAGS_samples); 101 printf("\t%g", samples[i]);
|
generate_fir_coeff.py | 14 """Returns the percent of samples within n std deviations of the normal.""" 18 """Returns the percent of samples within the std deviation range a, b""" 31 #We have a bunch of smudged samples which represent the average coverage of a range. 32 #We have a 'center' which may not line up with those samples. 34 #The first and last samples may not be fully covered. 36 #This is the sub-sample shift for each set of FIR coefficients (the centers of the lcds in the samples) 44 #How many samples to consider to the left and right of the subpxl center.
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
settings.h | 31 /* number of samples per frame (either 480 (30ms) or 960 (60ms)) */ 36 /* number of samples per frame processed in the encoder (30ms) */ 39 /* max number of samples per frame (= 60 ms frame) */ 41 /* number of samples per 10ms frame */ 43 /* Number of samples per 1 ms */ 51 /* samples of look ahead (in a half-band, so actually half the samples of look ahead @ FS) */
|
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
settings.h | 24 /* number of samples per frame (either 320 (20ms), 480 (30ms) or 960 (60ms)) */ 38 /* number of samples per frame processed in the encoder, 480 */ 46 /* max number of samples per frame (= 60 ms frame) */ 49 /* number of samples per 10ms frame */ 52 /* number of samples in 30 ms frame */ 60 /* samples of look ahead (in a half-band, so actually 61 * half the samples of look ahead @ FS) */
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_blorp.h | 73 * INTEL_MSAA_LAYOUT_IMS, this is measured in samples, not pixels. 79 * INTEL_MSAA_LAYOUT_IMS, this is measured in samples, not pixels. 85 * surfaces using INTEL_MSAA_LAYOUT_IMS, this is measured in samples, not 92 * surfaces using INTEL_MSAA_LAYOUT_IMS, this is measured in samples, not 232 /* Number of samples per pixel that have been configured in the surface 242 /* Actual number of samples per pixel in the source image. */ 248 /* Number of samples per pixel that have been configured in the render 256 /* Actual number of samples per pixel in the destination image. */ 278 /* True if all source samples should be blended together to produce each
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
SortedMultisetTestSuiteBuilder.java | 139 SampleElements<E> samples = delegate.samples(); local 142 Arrays.asList(samples.e0, samples.e1, samples.e2, samples.e3, 143 samples.e4); 259 public SampleElements<E> samples() { 260 return delegate.samples();
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/Documentation/ |
perf-diff.txt | 95 file is iterated for samples. All other perf.data files specified on 99 All samples from non-baseline perf.data files, that do not match any 103 Example files samples: 104 - file A with samples f1, f2, f3, f4, f6 105 - file B with samples f2, f4, f5 106 - file C with samples f1, f2, f5 114 baseline/A compute/B compute/C samples 125 baseline/B compute/A compute/C samples 136 baseline/C compute/B compute/A samples
|