Home
last modified time | relevance | path

Searched refs:convertTiming (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/neuralnetworks/1.2/utils/src/
DConversions.cpp247 constexpr auto convertTiming = [](uint64_t halTiming) -> OptionalDuration { in unvalidatedConvert() local
257 return Timing{.timeOnDevice = convertTiming(timing.timeOnDevice), in unvalidatedConvert()
258 .timeInDriver = convertTiming(timing.timeInDriver)}; in unvalidatedConvert()
541 constexpr auto convertTiming = [](nn::OptionalDuration canonicalTiming) -> uint64_t { in unvalidatedConvert() local
548 return Timing{.timeOnDevice = convertTiming(timing.timeOnDevice), in unvalidatedConvert()
549 .timeInDriver = convertTiming(timing.timeInDriver)}; in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DConversions.cpp440 constexpr auto convertTiming = [](int64_t halTiming) -> OptionalDuration { in unvalidatedConvert() local
446 return Timing{.timeOnDevice = convertTiming(timing.timeOnDeviceNs), in unvalidatedConvert()
447 .timeInDriver = convertTiming(timing.timeInDriverNs)}; in unvalidatedConvert()