Skip to content
Snippets Groups Projects
Commit ee7bc23d authored by Horst Schirmeier's avatar Horst Schirmeier
Browse files

jobclient: bugfix: initialize timing statistics

If we don't properly initialize the job timing statistics, the number
of jobs to be requested in the second request to the server is based
on the wrong timings.  In our test case, CLIENT_JOB_LIMIT jobs were
requested at once.

Change-Id: I7e9d8ab6fe14e4488b3a74baf061d9a07f3a77c4
parent 1f6e275e
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,8 @@ JobClient::JobClient(const std::string& server, int port)
}
srand(time(NULL)); // needed for random backoff (see connectToServer)
m_server_runid = 0; // server accepts this for virgin clients
m_job_total = 0;
m_job_runtime_total = 0;
m_job_throughput = 1; // client gets only one job at the first request
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment