OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:expectedBufferPeriod
(Results
1 - 6
of
6
) sorted by null
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
BufferCallbackTimes.java
36
public BufferCallbackTimes(int maxRecords, int
expectedBufferPeriod
) {
41
mExpectedBufferPeriod = (short)
expectedBufferPeriod
;
52
boolean exceededCapacity, short
expectedBufferPeriod
) {
57
mExpectedBufferPeriod =
expectedBufferPeriod
;
BufferPeriod.java
123
public void prepareMemberObjects(int maxRecords, int
expectedBufferPeriod
,
125
mCallbackTimes = new BufferCallbackTimes(maxRecords,
expectedBufferPeriod
);
127
mExpectedBufferPeriod =
expectedBufferPeriod
;
PerformanceMeasurement.java
48
public PerformanceMeasurement(int
expectedBufferPeriod
, int[] bufferData) {
56
mExpectedBufferPeriodMs =
expectedBufferPeriod
;
128
* (1/totalOccurrence) sum_i(|i -
expectedBufferPeriod
|^2 * occurrence_i /
expectedBufferPeriod
)
129
* , for i <
expectedBufferPeriod
* mOutliersThreshold
/external/drrickorang/LoopbackApp/app/src/main/jni/
sles.h
115
short
expectedBufferPeriod
;
164
short
expectedBufferPeriod
);
165
bool updateBufferStats(bufferStats *stats, int64_t diff_in_nano, int
expectedBufferPeriod
);
jni_sles.c
144
jobject getCallbackTimes(JNIEnv *env, callbackTimeStamps *callbacks, short
expectedBufferPeriod
){
155
callbacks->exceededCapacity,
expectedBufferPeriod
);
163
return getCallbackTimes(env, &(pSles->playerTimeStamps), pSles->
expectedBufferPeriod
);
170
return getCallbackTimes(env, &(pSles->recorderTimeStamps), pSles->
expectedBufferPeriod
);
sles.cpp
90
pSles->
expectedBufferPeriod
);
224
&pSles->playerTimeStamps, pSles->
expectedBufferPeriod
);
360
short
expectedBufferPeriod
) {
374
bool outlier = updateBufferStats(stats, callbackDuration,
expectedBufferPeriod
);
416
bool updateBufferStats(bufferStats *stats, int64_t diff_in_nano, int
expectedBufferPeriod
) {
435
int64_t delta = diff_in_nano - (int64_t)
expectedBufferPeriod
* NANOS_PER_MILLI;
443
if (diff_in_milli >
expectedBufferPeriod
+ LATE_CALLBACK_CAPTURE_THRESHOLD) {
446
// diff_in_milli -
expectedBufferPeriod
);
447
atomicSetIfGreater(&(stats->captureRank), diff_in_milli -
expectedBufferPeriod
);
449
return diff_in_milli >
expectedBufferPeriod
+ LATE_CALLBACK_OUTLIER_THRESHOLD
[
all
...]
Completed in 140 milliseconds