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.cpp238 constexpr auto convertTiming = [](uint64_t halTiming) -> OptionalDuration { in unvalidatedConvert() local
248 return Timing{.timeOnDevice = convertTiming(timing.timeOnDevice), in unvalidatedConvert()
249 .timeInDriver = convertTiming(timing.timeInDriver)}; in unvalidatedConvert()
521 constexpr auto convertTiming = [](nn::OptionalDuration canonicalTiming) -> uint64_t { in unvalidatedConvert() local
528 return Timing{.timeOnDevice = convertTiming(timing.timeOnDevice), in unvalidatedConvert()
529 .timeInDriver = convertTiming(timing.timeInDriver)}; in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DConversions.cpp419 constexpr auto convertTiming = [](int64_t halTiming) -> OptionalDuration { in unvalidatedConvert() local
425 return Timing{.timeOnDevice = convertTiming(timing.timeOnDeviceNs), in unvalidatedConvert()
426 .timeInDriver = convertTiming(timing.timeInDriverNs)}; in unvalidatedConvert()