/external/blktrace/btt/ |
latency.c | 23 static inline void latency_out(FILE *ofp, __u64 tstamp, __u64 latency) 26 fprintf(ofp, "%lf %lf\n", TO_SEC(tstamp), TO_SEC(latency)); 57 void latency_q2d(struct d_info *dip, __u64 tstamp, __u64 latency) 59 plat_x2c(dip->q2d_plat_handle, tstamp, latency); 60 latency_out(dip->q2d_ofp, tstamp, latency); 63 void latency_d2c(struct d_info *dip, __u64 tstamp, __u64 latency) 65 plat_x2c(dip->d2c_plat_handle, tstamp, latency); 66 latency_out(dip->d2c_ofp, tstamp, latency); 69 void latency_q2c(struct d_info *dip, __u64 tstamp, __u64 latency) 71 plat_x2c(dip->q2c_plat_handle, tstamp, latency); [all...] |
Android.mk | 5 latency.c misc.c output.c proc.c seek.c trace.c \
|
plat.c | 67 void plat_x2c(void *info, __u64 ts, __u64 latency) 70 double lat = TO_SEC(latency);
|
/frameworks/rs/tests/latency/ |
Android.mk | 8 latency.rs \ 9 latency.cpp 17 LOCAL_MODULE:= rstest-latency
|
/external/autotest/client/cros/ |
http_speed.py | 45 def BenchmarkOneDirection(latency, label, url, benchmark_function): 49 latency: Time for a 1-byte transfer 64 # Long enough that startup latency shouldn't dominate. 65 target = max(20 * latency, 10) 77 # Take the latency into account when guessing a size for a 80 adjusted_transfer_time = max(transfer_time - latency, 0.01) 106 # latency. 107 latency = TimeTransferDown(download_url_format_string, 1) 109 logging.info('Latency is %s' % latency) [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
Logger.java | 36 * @param latency User-visible start-up latency in milliseconds. 38 void logStart(int onCreateLatency, int latency, String intentSource); 72 * Logs the latency of a suggestion query to a specific source.
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
MockLogger.java | 28 public void logStart(int onCreateLatency, int latency, String intentSource) {
|
/external/autotest/client/site_tests/hardware_MemoryLatency/ |
hardware_MemoryLatency.py | 12 """Autotest for measuring memory latency. 31 to sample the latency 56 latency = float(s[1]) 59 if latency <= 0: 60 raise error.TestFail('invalid latency %f' % latency) 61 self._results['ns_' + str(size) + 'KB'] = latency 70 _results: dict containing keyvals with latency measurements
|
/external/iproute2/tc/ |
q_tbf.c | 29 fprintf(stderr, " [ peakrate KBPS ] [ latency TIME ] "); 45 unsigned buffer=0, mtu=0, mpu=0, latency=0; local 61 if (latency) { 62 fprintf(stderr, "tbf: specifying both \"latency\" and \"limit\" is not allowed\n"); 70 } else if (matches(*argv, "latency") == 0) { 72 if (latency) { 73 fprintf(stderr, "tbf: duplicate \"latency\" specification\n"); 77 fprintf(stderr, "tbf: specifying both \"limit\" and \"/latency\" is not allowed\n"); 80 if (get_time(&latency, *argv)) { 81 explain1("latency", *argv) 255 double latency; local [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/web_perf/metrics/ |
rendering_stats.py | 27 # Name for a main thread scroll update latency event. 28 MAIN_THREAD_SCROLL_UPDATE_EVENT_NAME = 'Latency::ScrollUpdate' 29 # Name for a gesture scroll update latency event. 49 with "Latency". The trace event has a member 'data' containing its latency 58 process.IterAllAsyncSlicesStartsWithName('Latency')): 69 Input event latency is the time from when the input event is created to 78 If the latency starts with a 80 classified as a scroll update instead of a normal input latency measure. 101 latency = (end_time - start_time) / 1000. [all...] |
/external/opencv3/samples/python2/ |
video_threaded.py | 61 latency = StatValue() variable 67 latency.update(clock() - t0) 69 draw_str(res, (20, 40), "latency : %.1f ms" % (latency.value*1000))
|
/external/v8/src/compiler/ |
instruction-scheduler.h | 63 int latency() const { return latency_; } function in class:v8::internal::compiler::final::ScheduleGraphNode 66 void set_total_latency(int latency) { total_latency_ = latency; } 78 // Estimate of the instruction latency (the number of cycles it takes for
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_fs_schedule_instructions.cpp | 38 * compute a DAG of the dependencies (RAW ordering with latency, WAW 73 this->latency = 1 * chans * math_latency; 76 this->latency = 2 * chans * math_latency; 82 this->latency = 3 * chans * math_latency; 87 this->latency = 4 * chans * math_latency; 90 this->latency = 8 * chans * math_latency; 94 /* minimum latency, max is 12 rounds. */ 95 this->latency = 5 * chans * math_latency; 98 this->latency = 2; 110 int latency; member in class:schedule_node [all...] |
/build/target/board/generic/ |
BoardConfig.mk | 53 # This phase offset allows adjustment of the minimum latency from application 57 # minimum latency of two vsync periods because the app and SurfaceFlinger 59 # result in the minimum latency being: 63 # Note that reducing this latency makes it more likely for the applications 65 # the latency will end up being an additional vsync period, and animations 66 # will hiccup. Therefore, this latency should be tuned somewhat
|
/external/webrtc/webrtc/sound/ |
pulseaudiosoundsystem.h | 138 int latency, 146 int latency, 154 int latency,
|
pulseaudiosoundsystem.cc | 47 // buffer, so setting too low of a latency is a buffer underflow risk. We will 48 // automatically increase the latency if a buffer underflow does occur, but we 54 // latency that is greater by this amount. 64 // For capture, low latency is not a buffer overflow risk, but it makes us burn 77 static void FillPlaybackBufferAttr(int latency, 79 attr->maxlength = latency; 80 attr->tlength = latency; 81 attr->minreq = latency / kPlaybackRequestFactor; 83 LOG(LS_VERBOSE) << "Configuring latency = " << attr->tlength << ", minreq = " 160 pa_usec_t latency; local [all...] |
soundsysteminterface.h | 42 // Enable reporting the current stream latency in 56 // Desired latency, measured as number of bytes of sample data 57 int latency; member in struct:rtc::SoundSystemInterface::OpenParams 60 // Special values for the "latency" field of OpenParams. 61 // Use this one to say you don't care what the latency is. The sound system 65 // small latency value. The sound system may pick the minimum allowed one, or
|
alsasoundsystem.cc | 42 // Minimum latency we allow, in microseconds. This is more or less arbitrary, 47 // The latency we'll use for kNoLatencyRequirements (chosen arbitrarily). 119 // We set the timeout to twice the requested latency, so continuous 649 // Compute requested latency in microseconds. 650 int latency; local 651 if (params.latency == kNoLatencyRequirements) { 652 latency = kDefaultLatencyUsecs; 654 // kLowLatency is 0, so we treat it the same as a request for zero latency. 656 latency = rtc::kNumMicrosecsPerSec * 657 params.latency / [all...] |
/system/connectivity/shill/ |
icmp_session.cc | 107 for (const base::TimeDelta& latency : result) { 108 if (!latency.is_zero()) { 129 for (const base::TimeDelta& latency : result) { 130 if (latency.is_zero()) { 228 // Invalid latency if an echo response has not been received.
|
/external/netperf/doc/examples/ |
bloat.sh | 3 # buffer bloat on latency. We assume that netperf has been compiled 87 # being that latency can go to the top of the charts and throughput 93 CDEF:latency=1.0,trans,/ \ 94 VDEF:maxlatency=latency,MAXIMUM \ 110 -t "Effect of bulk transfer on latency to $1" \ 115 CDEF:latency=1.0,trans,/ \ 116 LINE2:latency#00FF0080:"TCP_RR Latency" \
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
SocketImplTest.java | 133 public void setPerformancePreference(int connectionTime, int latency, 135 super.setPerformancePreferences(connectionTime, latency, bandwidth);
|
/device/google/contexthub/firmware/inc/ |
sensors.h | 133 uint64_t latency; member in struct:SensorSetRateEvent 159 bool (*sensorSetRate)(uint32_t rate, uint64_t latency, void *); 229 * Sensor latency is a 64-bit integer specifying the allowable delay in ns 259 bool sensorRequest(uint32_t clientTid, uint32_t sensorHandle, uint32_t rate, uint64_t latency);
|
/libcore/ojluni/src/main/java/sun/security/ssl/ |
BaseSSLSocketImpl.java | 534 int latency, int bandwidth) { 537 connectionTime, latency, bandwidth); 540 connectionTime, latency, bandwidth);
|
/device/google/contexthub/firmware/src/ |
sensors.c | 73 uint64_t latency; member in struct:SensorsClientRequest 261 static bool sensorCallFuncSetRate(struct Sensor* s, uint32_t rate, uint64_t latency) 264 INVOKE_AS_OWNER_AND_RETURN(LOCAL_APP_OPS(s)->sensorSetRate, rate, latency, s->callData); 271 evt->externalSetRateEvt.latency = latency; 418 if (smallestLatency > req->latency) 419 smallestLatency = req->latency; 587 static bool sensorAddRequestor(uint32_t sensorHandle, uint32_t clientTid, uint32_t rate, uint64_t latency) 598 req->latency = latency; [all...] |
/device/google/contexthub/inc/ |
chre_sensor.h | 244 * Indicates that the interval and/or the latency which this sensor is 283 * Value indicating we want the smallest possible latency for a sensor. 300 * Special value indicating non-importance of the latency. 333 * batching and latency). 616 * The latency, in nanoseconds, at which the senor is now reporting. 618 * If this is CHRE_SENSOR_LATENCY_DEFAULT, then a latency 623 uint64_t latency; member in struct:chreSensorSamplingStatus 634 * Note that only at least one of 'interval' or 'latency' must be 687 * requested a faster interval and/or lower latency. This latter scenario 705 * Configures a given sensor at a specific interval and latency and mode [all...] |