Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Mr.Vain
Mace
提交
139a62b9
Mace
项目概览
Mr.Vain
/
Mace
与 Fork 源项目一致
Fork自
Xiaomi / Mace
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Mace
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
139a62b9
编写于
5月 21, 2018
作者:
刘
刘琦
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'disable_falcon' into 'master'
Disable falcon See merge request !502
上级
dbbf8596
b6cdc1c6
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
5 addition
and
6 deletion
+5
-6
tools/bazel_adb_run.py
tools/bazel_adb_run.py
+2
-2
tools/falcon_cli.py
tools/falcon_cli.py
+1
-1
tools/sh_commands.py
tools/sh_commands.py
+2
-3
未找到文件。
tools/bazel_adb_run.py
浏览文件 @
139a62b9
...
@@ -59,8 +59,8 @@ def ops_benchmark_stdout_processor(stdout, device_properties, abi):
...
@@ -59,8 +59,8 @@ def ops_benchmark_stdout_processor(stdout, device_properties, abi):
"ro.product.model"
:
model
,
"ro.product.model"
:
model
,
"abi"
:
abi
"abi"
:
abi
}
}
sh_commands
.
falcon_push_metrics
(
# sh_commands.falcon_push_metrics(server,
metrics
,
tags
=
tags
,
endpoint
=
"mace_ops_benchmark"
)
#
metrics, tags=tags, endpoint="mace_ops_benchmark")
def
parse_args
():
def
parse_args
():
...
...
tools/falcon_cli.py
浏览文件 @
139a62b9
...
@@ -31,7 +31,7 @@ class FalconCli(object):
...
@@ -31,7 +31,7 @@ class FalconCli(object):
@
classmethod
@
classmethod
def
connect
(
cls
,
def
connect
(
cls
,
server
=
"transfer.falcon.miliao.srv"
,
server
,
port
=
8433
,
port
=
8433
,
debug
=
True
,
debug
=
True
,
buf_size
=
1000
):
buf_size
=
1000
):
...
...
tools/sh_commands.py
浏览文件 @
139a62b9
...
@@ -1180,9 +1180,8 @@ def falcon_tags(tags_dict):
...
@@ -1180,9 +1180,8 @@ def falcon_tags(tags_dict):
return
tags
return
tags
def
falcon_push_metrics
(
metrics
,
endpoint
=
"mace_dev"
,
tags
=
{}):
def
falcon_push_metrics
(
server
,
metrics
,
endpoint
=
"mace_dev"
,
tags
=
{}):
cli
=
falcon_cli
.
FalconCli
.
connect
(
cli
=
falcon_cli
.
FalconCli
.
connect
(
server
=
server
,
port
=
8433
,
debug
=
False
)
server
=
"transfer.falcon.miliao.srv"
,
port
=
8433
,
debug
=
False
)
ts
=
int
(
time
.
time
())
ts
=
int
(
time
.
time
())
falcon_metrics
=
[{
falcon_metrics
=
[{
"endpoint"
:
endpoint
,
"endpoint"
:
endpoint
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录