forked from TrueCloudLab/s3-tests
adding chunks to readwrite tool output
This commit is contained in:
parent
8cf9c57012
commit
1e991bc4bc
1 changed files with 2 additions and 1 deletions
|
@ -27,7 +27,6 @@ def reader(bucket, worker_id, file_names, queue):
|
||||||
type='r',
|
type='r',
|
||||||
bucket=bucket.name,
|
bucket=bucket.name,
|
||||||
key=key.name,
|
key=key.name,
|
||||||
#TODO chunks
|
|
||||||
worker=worker_id,
|
worker=worker_id,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -62,6 +61,7 @@ def reader(bucket, worker_id, file_names, queue):
|
||||||
result.update(
|
result.update(
|
||||||
start=start,
|
start=start,
|
||||||
duration=int(round(elapsed * NANOSECOND)),
|
duration=int(round(elapsed * NANOSECOND)),
|
||||||
|
chunks=fp.chunks,
|
||||||
)
|
)
|
||||||
queue.put(result)
|
queue.put(result)
|
||||||
|
|
||||||
|
@ -103,6 +103,7 @@ def writer(bucket, worker_id, file_names, files, queue):
|
||||||
result.update(
|
result.update(
|
||||||
start=start,
|
start=start,
|
||||||
duration=int(round(elapsed * NANOSECOND)),
|
duration=int(round(elapsed * NANOSECOND)),
|
||||||
|
chunks=fp.last_chunks,
|
||||||
)
|
)
|
||||||
queue.put(result)
|
queue.put(result)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue