Home
last modified time | relevance | path

Searched refs:counterMap (Results 1 – 3 of 3) sorted by relevance

/external/desugar/test/java/com/google/devtools/build/android/desugar/
DTryWithResourcesRewriterTest.java277 private final Map<String, AtomicInteger> counterMap; field in TryWithResourcesRewriterTest.DesugaredThrowableMethodCallCounter
283 counterMap = new HashMap<>(); in DesugaredThrowableMethodCallCounter()
286 .forEach(entry -> counterMap.put(entry.getKey() + entry.getValue(), new AtomicInteger())); in DesugaredThrowableMethodCallCounter()
291 counterMap.put( in DesugaredThrowableMethodCallCounter()
330 AtomicInteger counter = counterMap.get(signature); in visitMethodInsn()
344 return counterMap.get("addSuppressed(Ljava/lang/Throwable;)V").get(); in countThrowableAddSuppressed()
348 return counterMap.get("getSuppressed()[Ljava/lang/Throwable;").get(); in countThrowableGetSuppressed()
352 return counterMap.get("printStackTrace()V").get(); in countThrowablePrintStackTrace()
356 return counterMap.get("printStackTrace(Ljava/io/PrintStream;)V").get(); in countThrowablePrintStackTracePrintStream()
360 return counterMap.get("printStackTrace(Ljava/io/PrintWriter;)V").get(); in countThrowablePrintStackTracePrintWriter()
[all …]
/external/armnn/src/backends/backendsCommon/test/
DBackendProfilingTests.cpp174 const ICounterMappings& counterMap = GetProfilingService(&runtime).GetCounterMappings(); variable
175 CHECK(counterMap.GetGlobalId(0, mockId) == 5 + shiftedId);
176 CHECK(counterMap.GetGlobalId(1, mockId) == 6 + shiftedId);
177 CHECK(counterMap.GetGlobalId(2, mockId) == 7 + shiftedId);
178 CHECK(counterMap.GetGlobalId(3, mockId) == 8 + shiftedId);
179 CHECK(counterMap.GetGlobalId(4, mockId) == 9 + shiftedId);
180 CHECK(counterMap.GetGlobalId(5, mockId) == 10 + shiftedId);
/external/armnn/profiling/common/src/
DCommonProfilingUtils.cpp209 std::unordered_map<unsigned short, std::shared_ptr<Counter>> counterMap) in PrintCategoryDetails() argument
264 auto search = counterMap.find(it); in PrintCategoryDetails()
265 if(search != counterMap.end()) { in PrintCategoryDetails()