Home
last modified time | relevance | path

Searched refs:durationCode (Results 1 – 7 of 7) sorted by relevance

/frameworks/ml/nn/runtime/
DExecutionBuilder.h66 int getDuration(int32_t durationCode, uint64_t* duration) const;
DNeuralNetworks.cpp823 int32_t durationCode, uint64_t* duration) { in ANeuralNetworksExecution_getDuration() argument
829 switch (durationCode) { in ANeuralNetworksExecution_getDuration()
837 << durationCode; in ANeuralNetworksExecution_getDuration()
841 return r->getDuration(durationCode, duration); in ANeuralNetworksExecution_getDuration()
DExecutionBuilder.cpp299 int ExecutionBuilder::getDuration(int32_t durationCode, uint64_t* duration) const { in getDuration() argument
342 switch (durationCode) { in getDuration()
360 VLOG(EXECUTION) << "getDuration(" << durationCode << "): " << *duration; in getDuration()
/frameworks/ml/nn/runtime/include/
DNeuralNetworks.h7046 int32_t durationCode, uint64_t* duration)
/frameworks/ml/nn/runtime/test/
DTestValidation.cpp2701 auto testDuration = [](ANeuralNetworksExecution* e, int32_t durationCode, in TEST_F()
2704 SCOPED_TRACE(durationCode); in TEST_F()
2718 } else if (durationCode < 0 || in TEST_F()
2719 durationCode > ANEURALNETWORKS_FENCED_DURATION_IN_DRIVER) { in TEST_F()
2723 EXPECT_EQ(ANeuralNetworksExecution_getDuration(e, durationCode, durationPtr), in TEST_F()
DTestIntrospectionControl.cpp890 for (int durationCode : in TEST_P() local
896 EXPECT_EQ(ANeuralNetworksExecution_getDuration(mExecution, durationCode, &time), in TEST_P()
/frameworks/ml/nn/tools/api/
DNeuralNetworks.t1458 * @param durationCode The measurement to be queried, specified by {@link DurationCode}.
1472 int32_t durationCode, uint64_t* duration)