+ ActivityImpl::set_name(name);
+ return this;
+}
+
+SleepImplPtr SleepImpl::set_host(s4u::Host* host)
+{
+ host_ = host;
+ return this;
+}
+
+SleepImplPtr SleepImpl::set_duration(double duration)
+{
+ duration_ = duration;
+ return this;
+}
+
+SleepImpl* SleepImpl::start()
+{
+ surf_action_ = host_->pimpl_cpu->sleep(duration_);