-#!/usr/bin/python
-# -*- coding: utf8 -*-
-# author:
-# date: 2015-09-15
-# see license for license details
+##############################################################################
+# Copyright (c) 2015 Huawei Technologies Co.,Ltd and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
import subprocess
import time
if data[3] == "us":
latency = float(data[2]) / 1000
else:
- latency = float(data[2]) / 1000
+ latency = float(data[2])
result = {
mark.minLatency: latency,
mark.avgLatency: latency,