diff options
author | mbeierl <mark.beierl@dell.com> | 2017-02-17 17:43:39 -0500 |
---|---|---|
committer | mbeierl <mark.beierl@dell.com> | 2017-02-17 17:43:54 -0500 |
commit | 2994748e8112feccf870ff9db923040346dfee60 (patch) | |
tree | b3bc0bfe0b353eac514c6c0668b1511473ef5698 /storperf/db/job_db.py | |
parent | ac7b5490cb305468b0bd961fc5caad9c51b8b77b (diff) |
Steady State Metrics
Changes the overall value of all metrics to be based on the
calculated steady state values instead of the average for the
entire run.
Change-Id: I121929d5fe2dd43df7f289b82e9f5291c9ea9aab
JIRA: STORPERF-107
Signed-off-by: mbeierl <mark.beierl@dell.com>
Diffstat (limited to 'storperf/db/job_db.py')
-rw-r--r-- | storperf/db/job_db.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/storperf/db/job_db.py b/storperf/db/job_db.py index 05160ec..eabcb54 100644 --- a/storperf/db/job_db.py +++ b/storperf/db/job_db.py @@ -58,9 +58,9 @@ class JobDB(object): cursor.execute('''CREATE TABLE job_summary (job_id text, summary text)''') - self.logger.debug("Created job table") + self.logger.debug("Created job summary table") except OperationalError: - self.logger.debug("Job table exists") + self.logger.debug("Job summary table exists") cursor.execute('SELECT * FROM jobs') cursor.execute('SELECT * FROM job_params') @@ -250,6 +250,5 @@ class JobDB(object): if (row is None): break params[row[0]] = row[1] - db.close() return params |