/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) {
|
/device/google/contexthub/firmware/inc/ |
isr.h | 97 uint32_t latency = 0; local 101 if (!latency || (curIsr->maxLatencyNs && curIsr->maxLatencyNs < latency)) 102 latency = curIsr->maxLatencyNs; 105 return latency;
|
sensors.h | 139 uint64_t latency; member in struct:SensorSetRateEvent 165 bool (*sensorSetRate)(uint32_t rate, uint64_t latency, void *); 236 * Sensor latency is a 64-bit integer specifying the allowable delay in ns 266 bool sensorRequest(uint32_t clientTid, uint32_t sensorHandle, uint32_t rate, uint64_t latency);
|
/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/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/ |
AndroidAudioDevice.java | 38 /** the latency in samples **/
39 private final int latency;
field in class:AndroidAudioDevice 48 latency = minSize / (isMono ? 1 : 2);
89 return latency;
|
/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/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...] |
/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 118 // for the instruction with the highest latency on the path to reach the end
|
/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);
|
/system/bt/stack/l2cap/ |
l2c_ble.c | 105 UINT16 latency, UINT16 timeout) 132 p_lcb->latency = latency; 251 (p_lcb->latency > p_dev_rec->conn_params.slave_latency) || 261 p_lcb->latency = p_dev_rec->conn_params.slave_latency; 369 p_lcb->latency = conn_latency; 439 p_lcb->latency = conn_latency; 523 /* use 7.5 ms as fast connection parameter, 0 slave latency */ 562 p_lcb->max_interval, p_lcb->latency, p_lcb->timeout, 0, 0); 568 p_lcb->latency, p_lcb->timeout) 626 UINT16 min_interval, max_interval, latency, timeout; local [all...] |
/device/google/contexthub/firmware/src/ |
sensors.c | 74 uint64_t latency; member in struct:SensorsClientRequest 262 static bool sensorCallFuncSetRate(struct Sensor* s, uint32_t rate, uint64_t latency) 265 INVOKE_AS_OWNER_AND_RETURN(LOCAL_APP_OPS(s)->sensorSetRate, rate, latency, s->callData); 272 evt->externalSetRateEvt.latency = latency; 427 if (smallestLatency > req->latency) 428 smallestLatency = req->latency; 596 static bool sensorAddRequestor(uint32_t sensorHandle, uint32_t clientTid, uint32_t rate, uint64_t latency) 607 req->latency = latency; [all...] |