ALPS Home Libraries License Support People ALPS Web Site

PrevUpHomeNext

Class SlaveTask

alps::scheduler::SlaveTask

Synopsis

// In header: <alps/scheduler/task.h>


class SlaveTask : public alps::scheduler::AbstractTask {
public:
  // construct/copy/destruct
  SlaveTask(const Process &);

  // public member functions
  void run();
  void checkpoint(const boost::filesystem::path &, bool = ALPS_WRITE_ALL_XML) const;
  void add_process(const Process &);
  void start();
  double work() const;
  bool finished(double &, double &) const;
  void halt();
  uint32_t cpus() const;
  ResultType get_summary() const;
};

Description

SlaveTask public construct/copy/destruct

  1. SlaveTask(const Process &);

SlaveTask public member functions

  1. void run();
  2. void checkpoint(const boost::filesystem::path & fn, bool = ALPS_WRITE_ALL_XML) const;
  3. void add_process(const Process & p);
  4. void start();
  5. double work() const;
  6. bool finished(double & x, double &) const;
  7. void halt();
  8. uint32_t cpus() const;
  9. ResultType get_summary() const;
Copyright © 1994, 2002-2005 Matthias Troyer, Synge Todo

PrevUpHomeNext