Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/common/include/
DLegacyUtils.h306 struct [[nodiscard]] TimeNanoMeasurer { struct
310 explicit TimeNanoMeasurer(uint64_t* saveAt) : start(Clock::now()), saveAt(saveAt) {} in TimeNanoMeasurer() argument
311 ~TimeNanoMeasurer() { *saveAt = currentDuration(start); } in ~TimeNanoMeasurer() argument
312 DISALLOW_COPY_AND_ASSIGN(TimeNanoMeasurer);
/packages/modules/NeuralNetworks/runtime/
DTelemetry.cpp215 duration_runtime_ns = TimeNanoMeasurer::currentDuration(e->getComputeStartTimePoint()); in onExecutionFinish()
DCompilationBuilder.cpp63 const auto scopedTimeNanoMeasurer = TimeNanoMeasurer(&mTelemetryInfo->compilationTimeNanos); in finish()