mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 10:59:32 +08:00
[skip ci] Add comment of run_id on benchmark (#8852)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>
This commit is contained in:
parent
fa97f3ff46
commit
896210b377
@ -30,6 +30,7 @@ class Metric(object):
|
|||||||
self.datetime = str(datetime.datetime.now())
|
self.datetime = str(datetime.datetime.now())
|
||||||
|
|
||||||
def set_run_id(self):
|
def set_run_id(self):
|
||||||
|
# Get current time as run id, which uniquely identifies this test
|
||||||
self.run_id = int(time.time())
|
self.run_id = int(time.time())
|
||||||
|
|
||||||
def set_mode(self, mode):
|
def set_mode(self, mode):
|
||||||
|
Loading…
Reference in New Issue
Block a user