-/* Copyright (c) 2007-2022. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2007-2023. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
sg_size_t size_ = 0;
s4u::Io::OpType type_ = s4u::Io::OpType::READ;
sg_size_t performed_ioops_ = 0;
- resource::Action* timeout_detector_ = nullptr;
public:
IoImpl();
IoImpl& set_sharing_penalty(double sharing_penalty);
- IoImpl& set_timeout(double timeout) override;
IoImpl& set_size(sg_size_t size);
IoImpl& set_type(s4u::Io::OpType type);
IoImpl& set_disk(resource::DiskImpl* disk);
resource::DiskImpl* get_disk() const { return disk_; }
IoImpl* start();
- void post() override;
void set_exception(actor::ActorImpl* issuer) override;
void finish() override;
};