Searched refs:ResultOrError (Results 1 – 2 of 2) sorted by relevance
177 auto ResultOrError = counter.doReadCounter(nullptr, nullptr); in checkLbrSupport() local178 if (ResultOrError) in checkLbrSupport()179 if (!ResultOrError.get().empty()) in checkLbrSupport()181 for (const int64_t &Value : ResultOrError.get()) in checkLbrSupport()
49 auto ResultOrError = runAndSample(Counters); in runAndMeasure() local50 if (ResultOrError) in runAndMeasure()51 return ResultOrError.get()[0]; in runAndMeasure()52 return ResultOrError.takeError(); in runAndMeasure()