Skip to content
Snippets Groups Projects

Change: submission dates are now managed as long on the users' side

Merged Ghost User requested to merge issue12 into master
4 files
+ 55
50
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 6
6
@@ -18,13 +18,14 @@ public:
~Broker();
/**
* @brief Returns the date of the next submission by the cloud broker.
* @brief Returns the date (in seconds, rounded to the nearest) of the next
* submission by the cloud broker.
* @details Two numbers are used as flags:
* DATE_NEVER = -1.0 if the broker has finished to submit.
* DATE_UNKNOWN = -2.0 if the broker doesn't have a next submission date
* DATE_NEVER = -1 if the broker has finished to submit.
* DATE_UNKNOWN = -2 if the broker doesn't have a next submission date
* yet (user waiting for feedback)
*/
double next_submission(double date) const;
long next_submission(double date) const;
/**
* @brief Return the list of jobs to submit by any of the users.
@@ -41,8 +42,7 @@ public:
* info to interested users.
*/
void feedback_job_status(double date, vector<string> &jobs_ended,
vector<string> &jobs_killed,
vector<string> &jobs_released);
vector<string> &jobs_killed, vector<string> &jobs_released);
void log_user_stats(string user_stat_file);
void update_status_if_dyn_job(const string &job_id, JobStatus status);
Loading