/frameworks/ml/nn/tools/systrace_parser/parser/ |
D | aggregate.py | 56 for phase in _phase_and_subphases(PHASE_EXECUTION): 57 times[app_phase][phase] = {} 58 self_times[app_phase][phase] = {} 59 for phase in phases + [PHASE_OVERALL] + subphases[PHASE_EXECUTION]: 60 times[phase] = {} 61 self_times[phase] = {} 66 for phase in _phase_and_subphases(phase0): 68 tag = layer + "_" + phase 71 if layer == LAYER_DRIVER and phase == PHASE_EXECUTION: 87 times[app_phase][phase][layer] = zero_to_nan_if_missing(t0, phase, layer) [all …]
|
D | tree.py | 28 def push(self, start_time_s, mark, layer, phase, app_phase, subtract): argument 29 node = self.current.add(start_time_s, mark, layer, phase, app_phase, subtract) 80 elif node.phase() == PHASE_INITIALIZATION and node.parent.phase() != PHASE_INITIALIZATION: 84 node.parent.phase() != node.phase() and node.parent.phase() != PHASE_OVERALL and 85 node.phase() != PHASE_EXECUTION and node.phase() not in subphases[PHASE_EXECUTION]): 103 elif node.phase() == PHASE_INITIALIZATION: 110 explanation = "for LA_" + node.phase() 116 node.layer, node.phase(), node.app_phase, subtract=False) 129 node.parent.phase() != PHASE_OVERALL and 130 node.parent.phase() != node.phase()) and [all …]
|
D | output.py | 60 for phase in [PHASE_EXECUTION] + subphases[PHASE_EXECUTION]: 62 times_to_use[phase][layer] = times_to_use[PHASE_BENCHMARK][phase][layer] 73 for phase in phases_to_pick: 74 t = times_to_use[phase][layer] 75 values[make_tag(layer, phase)] = t 80 for phase in phases_to_pick: 81 values[make_tag(LAYER_TOTAL, phase)] = times_to_use[phase][LAYER_TOTAL] 103 …for phase in [PHASE_INPUTS_AND_OUTPUTS, PHASE_EXECUTION_LESS_IO_AND_RESULTS, PHASE_RESULTS, PHASE_… 105 values[layer + "_" + phase] = values[layer + "_" + phase] / divide_by 107 values[layer + "_" + phase] = math.nan
|
D | naming.py | 54 def make_tag(layer, phase): argument 55 return "_".join([layer, phase]) 82 phase = PHASE_INITIALIZATION 85 phase = "PU" 87 phase = PHASE_INITIALIZATION 89 phase = PHASE_COMPILATION 91 phase = PHASE_COMPILATION 93 phase = PHASE_EXECUTION 95 return "NN_" + make_tag(layer, phase)
|
D | tracker.py | 30 def push(self, phase): argument 31 self.stack.append(phase) 111 [_, layer, phase] = tag.split("_") 112 if layer == LAYER_APPLICATION and phase in [PHASE_WARMUP, PHASE_BENCHMARK]: 113 self.app_phase.push(phase) 118 if layer == LAYER_APPLICATION and phase == PHASE_EXECUTION: 121 self.mytree.push(time, mark, layer, phase, self.app_phase.current(), subtract) 128 if node.layer == LAYER_APPLICATION and node.phase in [PHASE_WARMUP, PHASE_BENCHMARK]: 152 [begun, mark, layer, phase] = [ 153 node.start_time_s, node.mark, node.layer, node.phase()] [all …]
|
/frameworks/ml/nn/common/include/ |
D | Tracing.h | 101 #define NNTRACE_APP(phase, detail) NNTRACE_FULL(NNTRACE_LAYER_APPLICATION, phase, detail) argument 102 #define NNTRACE_APP_SWITCH(phase, detail) \ argument 103 NNTRACE_FULL_SWITCH(NNTRACE_LAYER_APPLICATION, phase, detail) 105 #define NNTRACE_RT(phase, detail) NNTRACE_FULL(NNTRACE_LAYER_RUNTIME, phase, detail) argument 106 #define NNTRACE_RT_SWITCH(phase, detail) NNTRACE_FULL_SWITCH(NNTRACE_LAYER_RUNTIME, phase, detail) argument 108 #define NNTRACE_CPU(phase, detail) NNTRACE_FULL(NNTRACE_LAYER_CPU, phase, detail) argument 116 #define NNTRACE_FULL(layer, phase, detail) NNTRACE_NAME_1(("[NN_" layer "_" phase "]" detail)) argument 117 #define NNTRACE_FULL_SWITCH(layer, phase, detail) \ argument 118 NNTRACE_NAME_SWITCH(("[SW][NN_" layer "_" phase "]" detail)) 119 #define NNTRACE_FULL_SUBTRACT(layer, phase, detail) \ argument [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
D | MockDispSync.cpp | 27 status_t DispSync::addEventListener(const char* /*name*/, nsecs_t phase, Callback* callback, in addEventListener() argument 33 mCallback = {callback, phase}; in addEventListener() 45 status_t DispSync::changePhaseOffset(Callback* callback, nsecs_t phase) { in changePhaseOffset() argument 50 mCallback.phase = phase; in changePhaseOffset()
|
D | MockDispSync.h | 46 status_t addEventListener(const char* name, nsecs_t phase, Callback* callback, 49 status_t changePhaseOffset(Callback* callback, nsecs_t phase) override; 51 nsecs_t getCallbackPhase() { return mCallback.phase; } in getCallbackPhase() 58 nsecs_t phase; member
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | DashPathEffect_Delegate.java | 76 /*package*/ static long nativeCreate(float intervals[], float phase) { in nativeCreate() argument 77 DashPathEffect_Delegate newDelegate = new DashPathEffect_Delegate(intervals, phase); in nativeCreate() 83 private DashPathEffect_Delegate(float intervals[], float phase) { in DashPathEffect_Delegate() argument 86 mPhase = phase; in DashPathEffect_Delegate()
|
/frameworks/base/graphics/java/android/graphics/ |
D | DashPathEffect.java | 34 public DashPathEffect(float intervals[], float phase) { in DashPathEffect() argument 38 native_instance = nativeCreate(intervals, phase); in DashPathEffect() 41 private static native long nativeCreate(float intervals[], float phase); in nativeCreate() argument
|
D | PathDashPathEffect.java | 42 public PathDashPathEffect(Path shape, float advance, float phase, in PathDashPathEffect() argument 44 native_instance = nativeCreate(shape.readOnlyNI(), advance, phase, in PathDashPathEffect() 49 float phase, int native_style); in nativeCreate() argument
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | RefocusFilter.java | 31 public void logTiming(String implementation, String phase, long time) { in logTiming() argument 32 logTiming(implementation, phase, time, "ns"); in logTiming() 35 public void logTiming(String implementation, String phase, long time, String unit) { in logTiming() argument 36 timings.add(Pair.create(phase + " (" + unit + ")", Long.valueOf(time))); in logTiming() 37 Log.d(implementation, phase + ":" + time + " " + unit); in logTiming()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | DispSync.cpp | 77 void updateModel(nsecs_t period, nsecs_t phase, nsecs_t referenceTime) { in updateModel() argument 81 mPhase = phase; in updateModel() 212 status_t addEventListener(const char* name, nsecs_t phase, DispSync::Callback* callback, in addEventListener() argument 225 listener.mPhase = phase; in addEventListener() 282 status_t changePhaseOffset(DispSync::Callback* callback, nsecs_t phase) { in changePhaseOffset() argument 289 eventListener.mPhase = phase; in changePhaseOffset() 294 nsecs_t diff = oldPhase - phase; in changePhaseOffset() 387 nsecs_t phase = mPhase + listener.mPhase; in computeListenerNextEventTimeLocked() local 388 ALOGV("[%s] Phase = %" PRId64, mName, ns2us(phase)); in computeListenerNextEventTimeLocked() 389 baseTime -= phase; in computeListenerNextEventTimeLocked() [all …]
|
D | DispSync.h | 57 virtual status_t addEventListener(const char* name, nsecs_t phase, Callback* callback, 60 virtual status_t changePhaseOffset(Callback* callback, nsecs_t phase) = 0; 156 status_t addEventListener(const char* name, nsecs_t phase, Callback* callback, 170 status_t changePhaseOffset(Callback* callback, nsecs_t phase) override;
|
/frameworks/av/media/libaudioprocessing/ |
D | AudioResamplerFirProcess.h | 377 const uint32_t phase, const uint32_t phaseWrapLimit, in fir() argument 389 uint32_t indexP = phase >> coefShift; in fir() 390 uint32_t indexN = (phaseWrapLimit - phase) >> coefShift; in fir() 402 uint32_t indexP = phase >> coefShift; in fir() 403 uint32_t indexN = (phaseWrapLimit - phase - 1) >> coefShift; // one's complement. in fir() 423 TC lerpP = TC(phase << (sizeof(phase)*8 - coefShift)) * scale; in fir() 428 uint32_t lerpP = phase << (sizeof(phase)*8 - coefShift) in fir() 429 >> ((sizeof(phase)-sizeof(*coefs))*8 + 1); in fir()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BluetoothService.java | 45 public void onBootPhase(int phase) { in onBootPhase() argument 46 if (phase == SystemService.PHASE_SYSTEM_SERVICES_READY) { in onBootPhase() 49 } else if (phase == SystemService.PHASE_ACTIVITY_MANAGER_READY && in onBootPhase()
|
D | ContextHubSystemService.java | 45 public void onBootPhase(int phase) { in onBootPhase() argument 46 if (phase == SystemService.PHASE_SYSTEM_SERVICES_READY) { in onBootPhase()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiService.java | 42 public void onBootPhase(int phase) { in onBootPhase() argument 43 if (phase == SystemService.PHASE_SYSTEM_SERVICES_READY) { in onBootPhase() 45 } else if (phase == SystemService.PHASE_BOOT_COMPLETED) { in onBootPhase()
|
/frameworks/ml/nn/tools/systrace_parser/parser/test/ |
D | test_stats.py | 37 layer, phase = tag.split("_") 39 actual = self.times[phase][layer] 41 actual = self.times[app_phase][phase][layer] 49 layer, phase = tag.split("_") 50 actual = self.self_times[phase][layer]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareService.java | 47 public void onBootPhase(int phase) { in onBootPhase() argument 48 if (phase == SystemService.PHASE_SYSTEM_SERVICES_READY) { in onBootPhase() 75 } else if (phase == SystemService.PHASE_BOOT_COMPLETED) { in onBootPhase()
|
/frameworks/base/core/jni/android/graphics/ |
D | PathEffect.cpp | 38 jfloatArray intervalArray, jfloat phase) { in Dash_constructor() argument 46 SkPathEffect* effect = SkDashPathEffect::Make(intervals, count, phase).release(); in Dash_constructor() 51 jlong shapeHandle, jfloat advance, jfloat phase, jint style) { in OneD_constructor() argument 54 SkPathEffect* effect = SkPath1DPathEffect::Make(*shape, advance, phase, in OneD_constructor()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | RollbackManagerService.java | 49 public void onBootPhase(int phase) { in onBootPhase() argument 50 if (phase == SystemService.PHASE_BOOT_COMPLETED) { in onBootPhase()
|
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
D | EthernetService.java | 40 public void onBootPhase(int phase) { in onBootPhase() argument 41 if (phase == SystemService.PHASE_SYSTEM_SERVICES_READY) { in onBootPhase()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pService.java | 47 public void onBootPhase(int phase) { in onBootPhase() argument 48 if (phase == SystemService.PHASE_SYSTEM_SERVICES_READY) { in onBootPhase()
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetService.java | 44 public void onBootPhase(int phase) { in onBootPhase() argument 45 if (phase == PHASE_ACTIVITY_MANAGER_READY) { in onBootPhase()
|