/aosp12/packages/modules/NeuralNetworks/tools/systrace_parser/parser/ |
H A D | aggregate.py | 60 times[phase] = {} 61 self_times[phase] = {} 89 times[phase][layer] = zero_to_nan_if_missing(t, phase, layer) 94 times[phase][LAYER_TOTAL] = max_ignoring_nans(times[phase].values()) 102 self_times[phase][LAYER_TOTAL] = times[phase][LAYER_TOTAL] 118 self_times[phase][layer] = times[phase][layer] 120 self_times[phase][layer] = times[phase][layer] - times[phase][LAYER_DRIVER] 122 self_times[phase][layer] = times[phase][layer] - t 158 return [phase] 159 if phase == PHASE_WARMUP or phase == PHASE_BENCHMARK: [all …]
|
H A D | tree.py | 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]): 110 explanation = "for LA_" + node.phase() 130 node.parent.phase() != node.phase()) and 146 [mark, layer, phase] = [node.mark, node.layer, node.phase()] 192 self.phase_ = phase 204 def phase(self): member in CallTreeNode 206 return self.parent.phase() 217 if self.phase() in subphases.get(self.parent.phase(), []): [all …]
|
H A 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
|
H A 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)
|
H A D | tracker.py | 30 def push(self, phase): argument 31 self.stack.append(phase) 111 [_, layer, phase] = tag.split("_") 113 self.app_phase.push(phase) 118 if layer == LAYER_APPLICATION and phase == PHASE_EXECUTION: 152 [begun, mark, layer, phase] = [ 162 tag = node.app_phase + "_" + layer + "_" + phase 167 if phase in subphases[PHASE_EXECUTION]: 173 if phase == PHASE_EXECUTION: 176 recurse(c, layer or prev_layer, phase or prev_phase, [all …]
|
/aosp12/packages/modules/NeuralNetworks/common/include/ |
H A D | Tracing.h | 103 #define NNTRACE_APP(phase, detail) NNTRACE_FULL(NNTRACE_LAYER_APPLICATION, phase, detail) argument 104 #define NNTRACE_APP_SWITCH(phase, detail) \ argument 107 #define NNTRACE_RT(phase, detail) NNTRACE_FULL(NNTRACE_LAYER_RUNTIME, phase, detail) argument 108 #define NNTRACE_RT_SWITCH(phase, detail) NNTRACE_FULL_SWITCH(NNTRACE_LAYER_RUNTIME, phase, detail) argument 110 #define NNTRACE_CPU(phase, detail) NNTRACE_FULL(NNTRACE_LAYER_CPU, phase, detail) argument 118 #define NNTRACE_FULL(layer, phase, detail) NNTRACE_NAME_1(("[NN_" layer "_" phase "]" detail)) argument 119 #define NNTRACE_FULL_SWITCH(layer, phase, detail) \ argument 120 NNTRACE_NAME_SWITCH(("[SW][NN_" layer "_" phase "]" detail)) 121 #define NNTRACE_FULL_SUBTRACT(layer, phase, detail) \ argument 122 NNTRACE_NAME_1(("[SUB][NN_" layer "_" phase "]" detail)) [all …]
|
/aosp12/system/chre/external/kiss_fft/ |
H A D | _kiss_fft_guts.h | 132 # define KISS_FFT_COS(phase) floor(.5+SAMP_MAX * cos (phase)) argument 133 # define KISS_FFT_SIN(phase) floor(.5+SAMP_MAX * sin (phase)) argument 136 # define KISS_FFT_COS(phase) _mm_set1_ps( cos(phase) ) argument 137 # define KISS_FFT_SIN(phase) _mm_set1_ps( sin(phase) ) argument 140 # define KISS_FFT_COS(phase) (kiss_fft_scalar) cos(phase) argument 141 # define KISS_FFT_SIN(phase) (kiss_fft_scalar) sin(phase) argument 145 #define kf_cexp(x,phase) \ argument 147 (x)->r = (int16_t)KISS_FFT_COS(phase);\ 148 (x)->i = (int16_t)KISS_FFT_SIN(phase);\
|
/aosp12/frameworks/layoutlib/bridge/src/android/graphics/ |
H A 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()
|
/aosp12/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
H A 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()
|
/aosp12/art/test/901-hello-ti-agent/ |
H A D | expected-stdout.txt | 2 VMStart (phase 6) 3 VMInit (phase 4) 5 Agent in live phase. 76 VMDeath (phase 4)
|
/aosp12/frameworks/av/media/libaudioprocessing/ |
H A 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()
|
/aosp12/frameworks/base/graphics/java/android/graphics/ |
H A 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
|
H A 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
|
/aosp12/art/openjdkjvmti/ |
H A D | ti_search.cc | 196 void NextRuntimePhase(RuntimePhase phase) override REQUIRES_SHARED(art::Locks::mutator_lock_) { in NextRuntimePhase() 197 if (phase == RuntimePhase::kStart) { in NextRuntimePhase() 274 jvmtiPhase phase = PhaseUtil::GetPhaseUnchecked(); in AddToDexClassLoaderInMemory() local 277 if (phase != jvmtiPhase::JVMTI_PHASE_LIVE) { in AddToDexClassLoaderInMemory() 333 jvmtiPhase phase = PhaseUtil::GetPhaseUnchecked(); in AddToDexClassLoader() local 336 if (phase != jvmtiPhase::JVMTI_PHASE_LIVE) { in AddToDexClassLoader() 383 jvmtiPhase phase = PhaseUtil::GetPhaseUnchecked(); in AddToSystemClassLoaderSearch() local 385 if (phase == jvmtiPhase::JVMTI_PHASE_ONLOAD) { in AddToSystemClassLoaderSearch() 390 } else if (phase != jvmtiPhase::JVMTI_PHASE_LIVE) { in AddToSystemClassLoaderSearch()
|
/aosp12/frameworks/base/services/core/java/com/android/server/ |
H A D | BluetoothService.java | 48 public void onBootPhase(int phase) { in onBootPhase() argument 49 if (phase == SystemService.PHASE_SYSTEM_SERVICES_READY) { in onBootPhase() 52 } else if (phase == SystemService.PHASE_ACTIVITY_MANAGER_READY && in onBootPhase()
|
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/ |
H A D | WifiService.java | 53 public void onBootPhase(int phase) { in onBootPhase() argument 54 if (phase == SystemService.PHASE_SYSTEM_SERVICES_READY) { in onBootPhase() 56 } else if (phase == SystemService.PHASE_BOOT_COMPLETED) { in onBootPhase()
|
/aosp12/packages/modules/NeuralNetworks/tools/systrace_parser/parser/test/ |
H A 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]
|
/aosp12/art/runtime/gc/space/ |
H A D | large_object_space_test.cc | 58 for (size_t phase = 0; phase < 2; ++phase) { in LargeObjectTest() local 83 if (phase == 0) { in LargeObjectTest() 96 size_t limit = phase == 0 ? requests.size() / 2 : 0; in LargeObjectTest()
|
/aosp12/frameworks/base/libs/hwui/jni/ |
H A D | PathEffect.cpp | 35 jfloatArray intervalArray, jfloat phase) { in Dash_constructor() argument 43 SkPathEffect* effect = SkDashPathEffect::Make(intervals, count, phase).release(); in Dash_constructor() 48 jlong shapeHandle, jfloat advance, jfloat phase, jint style) { in OneD_constructor() argument 51 SkPathEffect* effect = SkPath1DPathEffect::Make(*shape, advance, phase, in OneD_constructor()
|
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
H A D | WifiAwareService.java | 48 public void onBootPhase(int phase) { in onBootPhase() argument 49 if (phase == SystemService.PHASE_SYSTEM_SERVICES_READY) { in onBootPhase() 77 } else if (phase == SystemService.PHASE_BOOT_COMPLETED) { in onBootPhase()
|
/aosp12/packages/modules/StatsD/service/java/com/android/server/stats/ |
H A D | StatsCompanion.java | 85 public void onBootPhase(int phase) { in onBootPhase() argument 86 super.onBootPhase(phase); in onBootPhase() 87 if (phase == PHASE_THIRD_PARTY_APPS_CAN_START) { in onBootPhase() 90 if (phase == PHASE_BOOT_COMPLETED) { in onBootPhase()
|
/aosp12/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | RippleShader.java | 159 public void setNoisePhase(float phase) { in setNoisePhase() argument 160 setUniform("in_noisePhase", phase * 0.001f); in setNoisePhase() 165 final float turbulencePhase = phase; in setNoisePhase()
|
/aosp12/frameworks/base/services/core/java/com/android/server/os/ |
H A D | NativeTombstoneManagerService.java | 45 public void onBootPhase(int phase) { in onBootPhase() argument 46 if (phase == SystemService.PHASE_ACTIVITY_MANAGER_READY) { in onBootPhase()
|
/aosp12/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
H A D | EthernetService.java | 40 public void onBootPhase(int phase) { in onBootPhase() argument 41 if (phase == SystemService.PHASE_SYSTEM_SERVICES_READY) { in onBootPhase()
|
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
H A D | WifiP2pService.java | 48 public void onBootPhase(int phase) { in onBootPhase() argument 49 if (phase == SystemService.PHASE_SYSTEM_SERVICES_READY) { in onBootPhase()
|