提交 28d52067 编写于 作者: Y yixiangboy

每个页面最多上传40的点

上级 7a9dcbf7
......@@ -144,6 +144,11 @@
}
- (void)doSecondFunction{
//最多采样40个点
if(_cpuPageArray.count > 40){
return;
}
//1、获取当前时间
NSString *currentTimeInterval = [self currentTimeInterval];
......@@ -170,6 +175,10 @@
}
- (void)handleFPS:(NSInteger)fps{
//最多采样40个点
if (_fpsPageArray.count > 40) {
return;
}
[_fpsPageArray addObject:@{
@"time":[self currentTimeInterval],
@"value":[NSString stringWithFormat:@"%zi",fps]
......@@ -230,7 +239,7 @@
}
};
//NSLog(@"上传信息 == %@",dic);
NSLog(@"上传信息 == %@",dic);
if (![DoraemonManager shareInstance].pId) {
NSLog(@"dokik pId 为空");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册