Home
last modified time | relevance | path

Searched refs:trace (Results 1 – 25 of 83) sorted by relevance

1234

/developtools/smartperf_host/ide/src/doc/md/
Dquickstart_parsing_ability.md5 ### 焦点问题 trace 切割,选择焦点 trace,聚焦问题发生时间范围,单独打开
7 焦点问题切割是将现有的 trace 加载到界面时,对指定时间进行框选,截取框选时间范围内的 trace 数据通过跳转的方式去打开新的 trace 界面,新界面的 trace 数据就是按照这段时间范围…
10 ### 超大 trace 分段打开,超大 trace 按照固定大小切割,分段打开显示
12 超大 trace 分段打开是对现有配置抓取的同一种时钟源数据源的。也就是配置命令下发的抓取有效。Htrace 数据按照端测切割的大小的分成多个文件,并将不能切割的 hiperf、ebpf、arkts…
14 #### 超大 trace 浏览器用户数据目录配置说明
34 #### 超大 trace 抓取配置说明
38 - Long Trace Mode: 超大trace抓取模式。
39 - Single file max size: trace文件分割的大小。
41 #### 本地导入超大 trace
43 本地导入超大 trace 是导入文件夹,将该文件夹中所有文件导入。如下图从 Open long trace file 入口导入。
[all …]
Dquickstart_systemtrace.md1 # web 端加载 trace 说明
3 从 web 端查看 trace 文件,进行性能检测的分析。
7 将抓取的 trace 导入查看。
12 - Open trace file:导入离线 trace 文件入口。
13 - Open long trace file:导入大文件入口。
14 - Record new trace:抓取新的 trace 文件入口。
15 - Record template:抓取指定模块的 trace 入口。
17 ## 导入 trace 文件后显示页面
19 ![GitHub Logo](../../figures/Web/trace.jpg)
24 ## trace 功能介绍
[all …]
Dquickstart_device_record.md1 # 设备端抓取 trace 说明
3 从设备端抓取 trace 文件的配置和方法。
10 - Record setting:设置 trace 的抓取模式,buffer size 大小,抓取时长。
12 - Probes config:trace 的抓取参数配置。
20 ## 命令行的生成和 trace 文件的抓取
43 进入指定目录,cd /data/local/tmp 进入到目录,会看到生成的 trace 文件。
/developtools/smartperf_host/ide/src/trace/component/chart/
DSpChartManager.ts57 private trace: SpSystemTrace; property in SpChartManager
78 constructor(trace: SpSystemTrace) {
79 this.trace = trace;
80 this.perf = new SpHiPerf(trace);
81 this.fileSystem = new SpEBPFChart(trace);
82 this.cpu = new SpCpuChart(trace);
83 this.freq = new SpFreqChart(trace);
84 this.virtualMemChart = new SpVirtualMemChart(trace);
85 this.fps = new SpFpsChart(trace);
86 this.nativeMemory = new SpNativeMemoryChart(trace);
[all …]
DSpEBPFChart.ts29 private trace: SpSystemTrace; property in SpEBPFChart
31 constructor(trace: SpSystemTrace) {
32 this.trace = trace;
77 fsFolder.favoriteChangeHandler = this.trace.favoriteChangeHandler;
78 fsFolder.selectChangeHandler = this.trace.selectChangeHandler;
81 fsFolder.canvasSave(this.trace.canvasPanelCtx!);
83 this.trace.canvasPanelCtx?.clearRect(0, 0, fsFolder.frame.width, fsFolder.frame.height);
87 context: this.trace.canvasPanelCtx,
94 fsFolder.canvasRestore(this.trace.canvasPanelCtx!, this.trace);
96 this.trace.rowsEL?.appendChild(fsFolder);
[all …]
DSpArkTsChart.ts40 private trace: SpSystemTrace; property in SpArkTsChart
49 constructor(trace: SpSystemTrace) {
50 this.trace = trace;
73 this.folderRow.favoriteChangeHandler = this.trace.favoriteChangeHandler;
74 this.folderRow.selectChangeHandler = this.trace.selectChangeHandler;
78 this.folderRow!.canvasSave(this.trace.canvasPanelCtx!);
80 …this.trace.canvasPanelCtx?.clearRect(0, 0, this.folderRow!.frame.width, this.folderRow!.frame.heig…
84 context: this.trace.canvasPanelCtx,
91 this.folderRow!.canvasRestore(this.trace.canvasPanelCtx!, this.trace);
93 this.trace.rowsEL?.appendChild(this.folderRow);
[all …]
DSpAbilityMonitorChart.ts47 private trace: SpSystemTrace; property in SpAbilityMonitorChart
48 constructor(trace: SpSystemTrace) {
49 this.trace = trace;
122 abilityRow.favoriteChangeHandler = this.trace.favoriteChangeHandler;
123 abilityRow.selectChangeHandler = this.trace.selectChangeHandler;
130 … context = abilityRow.collect ? this.trace.canvasFavoritePanelCtx! : this.trace.canvasPanelCtx!;
145 abilityRow.canvasRestore(context, this.trace);
147 this.trace.rowsEL?.appendChild(abilityRow);
189 userTraceRow.favoriteChangeHandler = this.trace.favoriteChangeHandler;
190 userTraceRow.selectChangeHandler = this.trace.selectChangeHandler;
[all …]
DSpIrqChart.ts26 private trace: SpSystemTrace; property in SpIrqChart
29 constructor(trace: SpSystemTrace) {
30 this.trace = trace;
50 this.trace.rowsEL?.appendChild(folder);
63 traceRow.favoriteChangeHandler = this.trace.favoriteChangeHandler;
64 traceRow.selectChangeHandler = this.trace.selectChangeHandler;
80 this.trace?.displayTip(
94 … context = traceRow.collect ? this.trace.canvasFavoritePanelCtx! : this.trace.canvasPanelCtx!;
106 traceRow.canvasRestore(context, this.trace);
123 irqFolder.favoriteChangeHandler = this.trace.favoriteChangeHandler;
[all …]
DSpFreqChart.ts37 private trace: SpSystemTrace; property in SpFreqChart
42 constructor(trace: SpSystemTrace) {
43 this.trace = trace;
63 this.folderRow.onThreadHandler = FolderThreadHandler(this.folderRow, this.trace);
64 this.trace.rowsEL?.appendChild(this.folderRow);
72 this.trace.stateRowsId = cpuStateFilterIds;
81 traceRow.favoriteChangeHandler = this.trace.favoriteChangeHandler;
82 traceRow.selectChangeHandler = this.trace.selectChangeHandler;
87 this.trace?.displayTip(
101 … context = traceRow.collect ? this.trace.canvasFavoritePanelCtx! : this.trace.canvasPanelCtx!;
[all …]
DSpFpsChart.ts24 private trace: SpSystemTrace; property in SpFpsChart
26 constructor(trace: SpSystemTrace) {
27 this.trace = trace;
44 fpsRow.favoriteChangeHandler = this.trace.favoriteChangeHandler;
45 fpsRow.selectChangeHandler = this.trace.selectChangeHandler;
51 this.trace?.displayTip(fpsRow, FpsStruct.hoverFpsStruct, tip);
61 context = fpsRow.collect ? this.trace.canvasFavoritePanelCtx! : this.trace.canvasPanelCtx!;
72 fpsRow.canvasRestore(context, this.trace);
74 this.trace.rowsEL?.appendChild(fpsRow);
DSpVirtualMemChart.ts30 trace: SpSystemTrace; property in SpVirtualMemChart
32 constructor(trace: SpSystemTrace) {
33 this.trace = trace;
49 vmFolder.favoriteChangeHandler = this.trace.favoriteChangeHandler;
50 vmFolder.selectChangeHandler = this.trace.selectChangeHandler;
53 vmFolder.canvasSave(this.trace.canvasPanelCtx!);
55 this.trace.canvasPanelCtx?.clearRect(0, 0, vmFolder.frame.width, vmFolder.frame.height);
59 context: this.trace.canvasPanelCtx,
66 vmFolder.canvasRestore(this.trace.canvasPanelCtx!, this.trace);
68 this.trace.rowsEL?.appendChild(vmFolder);
[all …]
DSpLogChart.ts24 private trace: SpSystemTrace; property in SpLogChart
26 constructor(trace: SpSystemTrace) {
27 this.trace = trace;
36 this.trace.rowsEL?.appendChild(folder);
48 logsRow.favoriteChangeHandler = this.trace.favoriteChangeHandler;
49 logsRow.selectChangeHandler = this.trace.selectChangeHandler;
60 context = logsRow.collect ? this.trace.canvasFavoritePanelCtx! : this.trace.canvasPanelCtx!;
71 logsRow.canvasRestore(context, this.trace);
DSpHiSysEventChart.ts24 private trace: SpSystemTrace; property in SpHiSysEventChart
26 constructor(trace: SpSystemTrace) {
27 this.trace = trace;
36 this.trace.rowsEL?.appendChild(eventRow);
55 hiSysEventRow.favoriteChangeHandler = this.trace.favoriteChangeHandler;
56 hiSysEventRow.selectChangeHandler = this.trace.selectChangeHandler;
62 … context = hiSysEventRow.collect ? this.trace.canvasFavoritePanelCtx! : this.trace.canvasPanelCtx!;
73 hiSysEventRow!.canvasRestore(context, this.trace);
DSpClockChart.ts28 private trace: SpSystemTrace; property in SpClockChart
30 constructor(trace: SpSystemTrace) {
31 this.trace = trace;
46 this.trace.rowsEL?.appendChild(folder);
61 traceRow.favoriteChangeHandler = this.trace.favoriteChangeHandler;
62 traceRow.selectChangeHandler = this.trace.selectChangeHandler;
101 this.trace?.displayTip(
115 … context = traceRow.collect ? this.trace.canvasFavoritePanelCtx! : this.trace.canvasPanelCtx!;
130 traceRow.canvasRestore(context, this.trace);
147 clockFolder.favoriteChangeHandler = this.trace.favoriteChangeHandler;
[all …]
DSpNativeMemoryChart.ts38 private trace: SpSystemTrace; property in SpNativeMemoryChart
40 constructor(trace: SpSystemTrace) {
41 this.trace = trace;
46 row.canvasSave(this.trace.canvasPanelCtx!);
48 this.trace.canvasPanelCtx?.clearRect(0, 0, row.frame.width, row.frame.height);
52 context: this.trace.canvasPanelCtx,
59 row.canvasRestore(this.trace.canvasPanelCtx!, this.trace);
69 context = row.collect ? this.trace.canvasFavoritePanelCtx! : this.trace.canvasPanelCtx!;
80 row.canvasRestore(context, this.trace);
95 nativeRow.favoriteChangeHandler = this.trace.favoriteChangeHandler;
[all …]
DSpFrameTimeChart.ts43 private trace: SpSystemTrace; property in SpFrameTimeChart
48 constructor(trace: SpSystemTrace) {
49 this.trace = trace;
83 frameTimeLineRow.favoriteChangeHandler = this.trace.favoriteChangeHandler;
84 frameTimeLineRow.selectChangeHandler = this.trace.selectChangeHandler;
90 …context = frameTimeLineRow.collect ? this.trace.canvasFavoritePanelCtx! : this.trace.canvasPanelCt…
101 frameTimeLineRow!.canvasRestore(context, this.trace);
103 this.trace.rowsEL?.appendChild(frameTimeLineRow);
137 expectedTimeLineRow.favoriteChangeHandler = this.trace.favoriteChangeHandler;
138 expectedTimeLineRow.selectChangeHandler = this.trace.selectChangeHandler;
[all …]
DSpProcessChart.ts60 private readonly trace: SpSystemTrace; property in SpProcessChart
79 constructor(trace: SpSystemTrace) {
80 this.trace = trace;
101 row.onThreadHandler = FolderThreadHandler(row, this.trace);
108 this.trace.rowsEL?.appendChild(row);
156 funcRow.favoriteChangeHandler = this.trace.favoriteChangeHandler;
157 funcRow.selectChangeHandler = this.trace.selectChangeHandler;
163 … context = funcRow.collect ? this.trace.canvasFavoritePanelCtx! : this.trace.canvasPanelCtx!;
174 funcRow.canvasRestore(context, this.trace);
290 processRow.favoriteChangeHandler = this.trace.favoriteChangeHandler;
[all …]
DSpHiSysEnergyChart.ts55 trace: SpSystemTrace; property in SpHiSysEnergyChart
101 constructor(trace: SpSystemTrace) {
102 this.trace = trace;
131 this.energyTraceRow!.favoriteChangeHandler = this.trace.favoriteChangeHandler;
132 this.energyTraceRow!.selectChangeHandler = this.trace.selectChangeHandler;
136 this.energyTraceRow?.canvasSave(this.trace.canvasPanelCtx!);
138 …this.trace.canvasPanelCtx?.clearRect(0, 0, this.energyTraceRow!.frame.width, this.energyTraceRow!.…
142 context: this.trace.canvasPanelCtx,
149 this.energyTraceRow?.canvasRestore(this.trace.canvasPanelCtx!, this.trace);
153 this.trace.refreshCanvas(false);
[all …]
DSpSdkChart.ts35 trace: SpSystemTrace; property in SpSdkChart
38 constructor(trace: SpSystemTrace) {
39 this.trace = trace;
240 traceRow.favoriteChangeHandler = this.trace.favoriteChangeHandler;
241 traceRow.selectChangeHandler = this.trace.selectChangeHandler;
260 this.trace?.displayTip(
276 … context = traceRow.collect ? this.trace.canvasFavoritePanelCtx! : this.trace.canvasPanelCtx!;
289 traceRow.canvasRestore(context, this.trace);
303 sdkFolder.favoriteChangeHandler = this.trace.favoriteChangeHandler;
304 sdkFolder.selectChangeHandler = this.trace.selectChangeHandler;
[all …]
DSpHiPerf.ts72 private trace: SpSystemTrace;
81 constructor(trace: SpSystemTrace) {
82 this.trace = trace;
174 this.trace.refreshCanvas(false);
192 row.canvasSave(this.trace.canvasPanelCtx!);
194 this.trace.canvasPanelCtx?.clearRect(0, 0, row.frame.width, row.frame.height);
198 context: this.trace.canvasPanelCtx,
205 row.canvasRestore(this.trace.canvasPanelCtx!, this.trace);
208 this.trace.rowsEL?.appendChild(row);
226 perfCallCutRow.favoriteChangeHandler = this.trace.favoriteChangeHandler;
[all …]
DSpAllAppStartups.ts25 private readonly trace: SpSystemTrace | undefined; property in SpAllAppStartupsChart
28 static trace: SpSystemTrace; property in SpAllAppStartupsChart
32 constructor(trace: SpSystemTrace) {
33 SpAllAppStartupsChart.trace = trace;
64 row.selectChangeHandler = SpAllAppStartupsChart.trace.selectChangeHandler;
65 row.favoriteChangeHandler = SpAllAppStartupsChart.trace.favoriteChangeHandler;
111 ? SpAllAppStartupsChart.trace.canvasFavoritePanelCtx!
112 : SpAllAppStartupsChart.trace.canvasPanelCtx!;
123 row.canvasRestore(context, this.trace);
125 SpAllAppStartupsChart.trace.rowsEL?.appendChild(row);
DSpCpuChart.ts29 private trace: SpSystemTrace; property in SpCpuChart
31 constructor(trace: SpSystemTrace) {
32 this.trace = trace;
60 traceRow.favoriteChangeHandler = this.trace.favoriteChangeHandler;
61 traceRow.selectChangeHandler = this.trace.selectChangeHandler;
85 this.trace?.displayTip(
103 … context = traceRow.collect ? this.trace.canvasFavoritePanelCtx! : this.trace.canvasPanelCtx!;
115 traceRow.canvasRestore(context, this.trace);
117 this.trace.rowsEL?.appendChild(traceRow);
DSpVmTrackerChart.ts54 private trace: SpSystemTrace; property in VmTrackerChart
64 constructor(trace: SpSystemTrace) {
65 this.trace = trace;
69 this.smapsRecordTab = this.trace
150 VmTrackerRow.favoriteChangeHandler = this.trace.favoriteChangeHandler;
151 VmTrackerRow.selectChangeHandler = this.trace.selectChangeHandler;
159 … context = VmTrackerRow.collect ? this.trace.canvasFavoritePanelCtx! : this.trace.canvasPanelCtx!;
174 VmTrackerRow.canvasRestore(context, this.trace);
177 this.trace.rowsEL?.appendChild(VmTrackerRow);
191 sMapsRow.favoriteChangeHandler = this.trace.favoriteChangeHandler;
[all …]
/developtools/smartperf_host/
DREADME_zh.md9 …备端提供了插件扩展能力,对外提供了插件接口,基于该扩展能力可以按需定义自己的能力,并集成到框架中来,目前基于插件能力已经完成了native内存插件、trace插件等,详细介绍见[性能调优组件](h…
30 │ ├── trace_data # trace 结构
35 ### 网页加载trace
36 使用Smartperf_Host加载保存在本地的trace文件(htrace、ftrace等)并显示数据到泳道图中,trace数据分析详见《[网页加载trace说明](./ide/src/doc/m…
37 ### 网页抓取trace
38 使用Smartperf_Host在线抓取trace,可以自定义抓取内容、抓取时长、trace保存路径,详见《[网页抓取trace说明](./ide/src/doc/md/quickstart_web…
39 ### 设备抓取trace
40 在设备端抓取trace,可以自定义抓取内容、抓取时长、trace保存路径,详见《[设备端抓取trace说明](./ide/src/doc/md/quickstart_device_record.md…
58 Smartperf_Host网站trace解析完成后在线数据库使用说明,详见《[Sql分析和Metrics说明](./ide/src/doc/md/quickstart_sql_metrics.md…
73 搭建Smartperf_Host网站需要编译出trace_streamer的wasm版本供网页端进行原始trace数据解析工作,具体的编译过程参考《[如何独立编译Trace Streamer](./…
/developtools/bytrace/
DREADME_zh.md14 …取打点信息。通过该工具可以打开想要查看的用户态和内核label(通过命令行“bytrace -l”,查看支持的所有label),然后通过命令行进行抓取trace信息到指定文件中,下文有具体使用指导。
45 | -b n,--buffer_size n | 指定n(KB)内存大小用于存取trace日志,默认2048KB |
46 | -t n,--time n | 用来指定trace运行的时间(单位:s),取决于需要分析过程的时间 |
47 | --trace_clock clock | trace输出的时钟类型,一般设备支持boot、global、mono、uptime、perf等,默认为boot |
48 | --trace_begin | 启动抓trace |
50 | --trace_finish | 停止抓trace,并将数据输出到指定位置(默认控制台) |
51 | -l,--list_categories | 输出手机能支持的trace模块 |
54 | -z | 抓取trace后进行压缩 |
71 - 设置4M缓存,抓取10秒,抓取label为ability的trace信息。
78 - 设置trace的输出时钟为mono。
[all …]

1234