Make jtGENERIC work.

This commit is contained in:
David Schwartz
2013-07-24 17:44:58 -07:00
parent a8436a5952
commit 6812153d9a
2 changed files with 6 additions and 0 deletions

View File

@@ -148,6 +148,9 @@ const char* Job::toString (JobType t)
case jtSWEEP: case jtSWEEP:
return "sweep"; return "sweep";
case jtGENERIC:
return "generic";
default: default:
assert (false); assert (false);
return "unknown"; return "unknown";

View File

@@ -109,6 +109,9 @@ Json::Value JobQueue::getJson (int)
for (int i = 0; i < NUM_JOB_TYPES; ++i) for (int i = 0; i < NUM_JOB_TYPES; ++i)
{ {
if (static_cast<JobType>(i) == jtGENERIC)
continue;
uint64 count, latencyAvg, latencyPeak; uint64 count, latencyAvg, latencyPeak;
int jobCount, threadCount; int jobCount, threadCount;
bool isOver; bool isOver;