Lines Matching refs:ReadAhead
159 struct ReadAhead::Impl {
187 RecentDataKeeper ReadAhead::Impl::recent_data_keeper_{};
189 ReadAhead::ReadAhead() : ReadAhead(/*use_sockets*/false) { in ReadAhead() function in iorap::prefetcher::ReadAhead
192 ReadAhead::ReadAhead(bool use_sockets) : impl_(new Impl(use_sockets)) { in ReadAhead() function in iorap::prefetcher::ReadAhead
195 ReadAhead::~ReadAhead() {} in ~ReadAhead()
198 return session->ReadAhead(path_id, kind, length, offset); in PerformReadAhead()
201 void ReadAhead::FinishTask(const TaskId& id) { in FinishTask()
226 void ReadAhead::BeginTaskForSockets(const TaskId& id, int32_t trace_cookie) { in BeginTaskForSockets()
263 void ReadAhead::BeginTask(const TaskId& id) { in BeginTask()
413 ReadAhead::Impl::recent_data_keeper_.RecordRecent(id, length_sum); in BeginTask()
416 void ReadAhead::Dump(::android::Printer& printer) { in Dump()
417 ReadAhead::Impl::recent_data_keeper_.Dump(printer); in Dump()
420 std::optional<size_t> ReadAhead::PrefetchSizeInBytes(const std::string& file_path) { in PrefetchSizeInBytes()