Home
last modified time | relevance | path

Searched refs:trace (Results 1 – 25 of 99) 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 浏览器用户数据目录配置说明
33 #### 超大 trace 抓取配置说明
37 - Long Trace Mode: 超大trace抓取模式。
38 - Single file max size: trace文件分割的大小。
40 #### 本地导入超大 trace
42 本地导入超大 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.ts62 private trace: SpSystemTrace; property in SpChartManager
88 constructor(trace: SpSystemTrace) {
89 this.trace = trace;
90 this.perf = new SpHiPerf(trace);
91 this.fileSystem = new SpEBPFChart(trace);
92 this.cpu = new SpCpuChart(trace);
93 this.freq = new SpFreqChart(trace);
94 this.virtualMemChart = new SpVirtualMemChart(trace);
95 this.fps = new SpFpsChart(trace);
96 this.nativeMemory = new SpNativeMemoryChart(trace);
[all …]
DSpArkTsChart.ts37 private trace: SpSystemTrace; // @ts-ignore property in SpArkTsChart
46 constructor(trace: SpSystemTrace) {
47 this.trace = trace;
94 this.folderRow!.canvasSave(this.trace.canvasPanelCtx!);
97 …this.trace.canvasPanelCtx?.clearRect(0, 0, this.folderRow!.frame.width, this.folderRow!.frame.heig…
101 context: this.trace.canvasPanelCtx,
108 this.folderRow!.canvasRestore(this.trace.canvasPanelCtx!, this.trace);
127 this.folderRow.favoriteChangeHandler = this.trace.favoriteChangeHandler;
128 this.folderRow.selectChangeHandler = this.trace.selectChangeHandler;
132 this.trace.rowsEL?.appendChild(this.folderRow); //@ts-ignore
[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);
DSpVirtualMemChart.ts27 trace: SpSystemTrace; property in SpVirtualMemChart
29 constructor(trace: SpSystemTrace) {
30 this.trace = trace;
46 vmFolder.favoriteChangeHandler = this.trace.favoriteChangeHandler;
47 vmFolder.selectChangeHandler = this.trace.selectChangeHandler;
50 vmFolder.canvasSave(this.trace.canvasPanelCtx!);
53 this.trace.canvasPanelCtx?.clearRect(0, 0, vmFolder.frame.width, vmFolder.frame.height);
57 context: this.trace.canvasPanelCtx,
64 vmFolder.canvasRestore(this.trace.canvasPanelCtx!, this.trace);
66 this.trace.rowsEL?.appendChild(vmFolder);
[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);
DSpEBPFChart.ts29 private trace: SpSystemTrace; property in SpEBPFChart
31 constructor(trace: SpSystemTrace) {
32 this.trace = trace;
81 fsFolder.favoriteChangeHandler = this.trace.favoriteChangeHandler;
82 fsFolder.selectChangeHandler = this.trace.selectChangeHandler; //@ts-ignore
85 fsFolder.canvasSave(this.trace.canvasPanelCtx!);
88 this.trace.canvasPanelCtx?.clearRect(0, 0, fsFolder.frame.width, fsFolder.frame.height);
92 context: this.trace.canvasPanelCtx,
99 fsFolder.canvasRestore(this.trace.canvasPanelCtx!, this.trace);
101 this.trace.rowsEL?.appendChild(fsFolder);
[all …]
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);
DSpIrqChart.ts27 private trace: SpSystemTrace; property in SpIrqChart
30 constructor(trace: SpSystemTrace) {
31 this.trace = trace;
52 this.trace.rowsEL?.appendChild(folder);
74 traceRow.favoriteChangeHandler = this.trace.favoriteChangeHandler;
75 traceRow.selectChangeHandler = this.trace.selectChangeHandler;
87 this.trace?.displayTip(
105 this.trace
120 irqFolder.favoriteChangeHandler = this.trace.favoriteChangeHandler;
121 irqFolder.selectChangeHandler = this.trace.selectChangeHandler; //@ts-ignore
[all …]
DSpPerfOutputDataChart.ts25 private trace: SpSystemTrace; property in SpPerfOutputDataChart
30 constructor(trace: SpSystemTrace) {
31 this.trace = trace;
55 this.trace.rowsEL?.appendChild(folder);
71 … context = traceRow.collect ? this.trace.canvasFavoritePanelCtx! : this.trace.canvasPanelCtx!;
83 traceRow.canvasRestore(context, this.trace);
113 traceRow.favoriteChangeHandler = this.trace.favoriteChangeHandler;
114 traceRow.selectChangeHandler = this.trace.selectChangeHandler;
145 perfFolder.favoriteChangeHandler = this.trace.favoriteChangeHandler;
146 perfFolder.selectChangeHandler = this.trace.selectChangeHandler;
[all …]
DSpAbilityMonitorChart.ts52 private trace: SpSystemTrace; property in SpAbilityMonitorChart
53 constructor(trace: SpSystemTrace) {
54 this.trace = trace;
131 abilityRow.favoriteChangeHandler = this.trace.favoriteChangeHandler;
132 abilityRow.selectChangeHandler = this.trace.selectChangeHandler; // @ts-ignore
139 … context = abilityRow.collect ? this.trace.canvasFavoritePanelCtx! : this.trace.canvasPanelCtx!;
155 abilityRow.canvasRestore(context, this.trace);
157 this.trace.rowsEL?.appendChild(abilityRow);
196 userTraceRow.favoriteChangeHandler = this.trace.favoriteChangeHandler;
197 userTraceRow.selectChangeHandler = this.trace.selectChangeHandler;
[all …]
DSpNativeMemoryChart.ts38 private trace: SpSystemTrace; property in SpNativeMemoryChart
40 constructor(trace: SpSystemTrace) {
41 this.trace = trace;
46 row.canvasSave(this.trace.canvasPanelCtx!);
49 this.trace.canvasPanelCtx?.clearRect(0, 0, row.frame.width, row.frame.height);
53 context: this.trace.canvasPanelCtx,
60 row.canvasRestore(this.trace.canvasPanelCtx!, this.trace);
70 context = row.collect ? this.trace.canvasFavoritePanelCtx! : this.trace.canvasPanelCtx!;
81 row.canvasRestore(context, this.trace);
96 nativeRow.favoriteChangeHandler = this.trace.favoriteChangeHandler;
[all …]
DSpFreqChart.ts38 private trace: SpSystemTrace; //@ts-ignore property in SpFreqChart
43 constructor(trace: SpSystemTrace) {
44 this.trace = trace;
51 this.trace.stateRowsId = cpuStateFilterIds;
59 this.trace.rowsEL?.appendChild(this.folderRow);
68 this.trace.rowsEL?.appendChild(this.folderRowState);
76 this.trace.rowsEL?.appendChild(this.folderRowLimit);
92 folder.onThreadHandler = folderThreadHandler(folder, this.trace);
110 traceRow.favoriteChangeHandler = this.trace.favoriteChangeHandler;
111 traceRow.selectChangeHandler = this.trace.selectChangeHandler; //@ts-ignore
[all …]
DSpClockChart.ts28 private trace: SpSystemTrace; property in SpClockChart
30 constructor(trace: SpSystemTrace) {
31 this.trace = trace;
103 … context = traceRow.collect ? this.trace.canvasFavoritePanelCtx! : this.trace.canvasPanelCtx!;
120 traceRow.canvasRestore(context, this.trace);
131 this.trace.rowsEL?.appendChild(folder);
146 traceRow.favoriteChangeHandler = this.trace.favoriteChangeHandler;
147 traceRow.selectChangeHandler = this.trace.selectChangeHandler;
161 this.trace?.displayTip(
186 clockFolder.favoriteChangeHandler = this.trace.favoriteChangeHandler;
[all …]
DSpFrameTimeChart.ts48 private trace: SpSystemTrace; property in SpFrameTimeChart
53 constructor(trace: SpSystemTrace) {
54 this.trace = trace;
89 frameTimeLineRow.favoriteChangeHandler = this.trace.favoriteChangeHandler;
90 frameTimeLineRow.selectChangeHandler = this.trace.selectChangeHandler;
96 …context = frameTimeLineRow.collect ? this.trace.canvasFavoritePanelCtx! : this.trace.canvasPanelCt…
107 frameTimeLineRow!.canvasRestore(context, this.trace);
109 this.trace.rowsEL?.appendChild(frameTimeLineRow);
146 expectedTimeLineRow.favoriteChangeHandler = this.trace.favoriteChangeHandler;
147 expectedTimeLineRow.selectChangeHandler = this.trace.selectChangeHandler;
[all …]
DSpHiSysEnergyChart.ts46 trace: SpSystemTrace; property in SpHiSysEnergyChart
92 constructor(trace: SpSystemTrace) {
93 this.trace = trace;
124 this.energyTraceRow!.favoriteChangeHandler = this.trace.favoriteChangeHandler;
125 this.energyTraceRow!.selectChangeHandler = this.trace.selectChangeHandler;
129 this.energyTraceRow?.canvasSave(this.trace.canvasPanelCtx!);
132 …this.trace.canvasPanelCtx?.clearRect(0, 0, this.energyTraceRow!.frame.width, this.energyTraceRow!.…
136 context: this.trace.canvasPanelCtx,
143 this.energyTraceRow?.canvasRestore(this.trace.canvasPanelCtx!, this.trace);
147 this.trace.refreshCanvas(false);
[all …]
DSpSdkChart.ts30 trace: SpSystemTrace; property in SpSdkChart
33 constructor(trace: SpSystemTrace) {
34 this.trace = trace;
244 traceRow.favoriteChangeHandler = this.trace.favoriteChangeHandler;
245 traceRow.selectChangeHandler = this.trace.selectChangeHandler;
265 this.trace?.displayTip(
282 … context = traceRow.collect ? this.trace.canvasFavoritePanelCtx! : this.trace.canvasPanelCtx!;
296 traceRow.canvasRestore(context, this.trace);
310 sdkFolder.favoriteChangeHandler = this.trace.favoriteChangeHandler;
311 sdkFolder.selectChangeHandler = this.trace.selectChangeHandler;
[all …]
DSpSegmentationChart.ts30 static trace: SpSystemTrace; property in SpSegmentationChart
48 SpSegmentationChart.trace.refreshCanvas(false);
76 SpSegmentationChart.trace.refreshCanvas(false);
120 SpSegmentationChart.trace.refreshCanvas(false);
172 SpSegmentationChart.trace.refreshCanvas(false);
174 constructor(trace: SpSystemTrace) {
175 SpSegmentationChart.trace = trace;
202 row.canvasSave(SpSegmentationChart.trace.canvasPanelCtx!);
205 … SpSegmentationChart.trace.canvasPanelCtx?.clearRect(0, 0, row.frame.width, row.frame.height);
209 context: SpSegmentationChart.trace.canvasPanelCtx,
[all …]
DSpAllAppStartups.ts29 private readonly trace: SpSystemTrace | undefined; property in SpAllAppStartupsChart
32 static trace: SpSystemTrace; property in SpAllAppStartupsChart
36 constructor(trace: SpSystemTrace) {
37 SpAllAppStartupsChart.trace = trace;
118 row.selectChangeHandler = SpAllAppStartupsChart.trace.selectChangeHandler;
119 row.favoriteChangeHandler = SpAllAppStartupsChart.trace.favoriteChangeHandler;
128 ? SpAllAppStartupsChart.trace.canvasFavoritePanelCtx!
129 : SpAllAppStartupsChart.trace.canvasPanelCtx!;
140 row.canvasRestore(context, this.trace);
142 SpAllAppStartupsChart.trace.rowsEL?.appendChild(row);
DSpCpuChart.ts27 private trace: SpSystemTrace; property in SpCpuChart
29 constructor(trace: SpSystemTrace) {
30 this.trace = trace;
63 … context = traceRow.collect ? this.trace.canvasFavoritePanelCtx! : this.trace.canvasPanelCtx!;
75 traceRow.canvasRestore(context, this.trace);
106 traceRow.favoriteChangeHandler = this.trace.favoriteChangeHandler;
107 traceRow.selectChangeHandler = this.trace.selectChangeHandler;
110 this.trace?.displayTip(
124 this.trace.rowsEL?.appendChild(traceRow);
/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 …]
/developtools/profiler/device/plugins/ffrt_profiler/client/src/
Dffrt_profiler.cpp122 FfrtTraceEvent trace; in FfrtProfilerTrace() local
123 trace.type = TRACE_DATA; in FfrtProfilerTrace()
124 trace.traceType = traceType; in FfrtProfilerTrace()
125 trace.tid = getproctid(); in FfrtProfilerTrace()
126 trace.cpu = static_cast<uint8_t>(sched_getcpu()); in FfrtProfilerTrace()
127 trace.cookie = cookie; in FfrtProfilerTrace()
128 clock_gettime(clockType_, &trace.ts); in FfrtProfilerTrace()
129 GetThreadName(trace.threadName); in FfrtProfilerTrace()
132 FfrtProfilerSendData(reinterpret_cast<const void*>(&trace), sizeof(trace), nullptr, 0); in FfrtProfilerTrace()
137 … FfrtProfilerSendData(reinterpret_cast<const void*>(&trace), sizeof(trace), strAligned.c_str(), in FfrtProfilerTrace()

1234