-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: get performance data for cpu/memory/gpu/fps/network #40
Open
debugtalk
wants to merge
20
commits into
electricbubble:main
Choose a base branch
from
debugtalk:performance
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* 添加OpenglServer和SysmontapServer分别获取GPU/FPS/CPU/MEM相关数据 * 修复接收CPU数据uint64转换失败问题 * 添加GetPerfmon方法 * 增加获取系统网络上发/下载方法;todo GetPerfmon、iterFps、iterGPU、iterNetWork方法优化,增加单应用网络状态获取方法 * 增加單個應用網絡狀態監控 * 优化方法 * 优化输出流 * 优化方法 * 增加相关结束函数 * 增加参数类型 * 优化方法,开放CPU和MEM、系统FPS和GPU、系统networking性能数据相关方法 * 优化输出 * 优化输出 * 优化输出 * 优化输出 * 优化代码,隐藏iter方法 * 细节优化 * 优化,尝试关闭chan * 添加性能数据对应的实体类和输出数据的方法 * 初步确定优化方式,后续继续更改 * 优化性能数据 * toString方法优化 * 优化chan关闭 * 优化无参数时异常情况、优化实体类、优化测试方法 * 1.删除perfmorance包,性能数据struct放到instruments中,里面的性能数据struct删除ToString、ToJ…son、ToFormat方法 2.隐藏StopPerfmon方法,调用GetPerfmon返回的context.CancelFunc直接关闭 3.弃用PerfMonData通道处理数据,原始性能数据统一输送到interface通道里,由用户自行决定数据的处理 4.CPU、MEM优化异常PID信息提示 5.GetPerfmon参数优化,默认展示所有性能数据 6.fix cpu、mem plist Unknown parameter Co-authored-by: 奥利嗷嗷嗷叫 <53102695+alliaoaoo@users.noreply.github.com>
debugtalk
changed the title
feat: get performance data for cpu and memory
feat: get performance data for cpu/memory/gpu/fps/network
Oct 4, 2022
…rwise it will be blocked
debugtalk
force-pushed
the
performance
branch
from
October 12, 2022 07:14
928e98d
to
9b59e12
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
新增支持 iOS 性能采集(CPU & Mem & GPU & FPS & Network)。
对 #37 的重新进行了实现,采集方式参考了 py-ios-device。
system monitor
process monitor
network details
GPU
FPS