From 60411f02741b27a15c0d6d758deee99f8844c41a Mon Sep 17 00:00:00 2001 From: zhangzepeng Date: Thu, 13 Jul 2023 15:03:47 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E2=80=99=E9=A6=96=E9=A1=B5=E6=8E=A8?= =?UTF-8?q?=E8=8D=90=E2=80=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhangzepeng --- ide/src/trace/component/SpWelcomePage.ts | 11 +++++++++++ ide/src/trace/component/trace/base/RangeSelect.ts | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/ide/src/trace/component/SpWelcomePage.ts b/ide/src/trace/component/SpWelcomePage.ts index 59d9e29a3..e199c6b8d 100644 --- a/ide/src/trace/component/SpWelcomePage.ts +++ b/ide/src/trace/component/SpWelcomePage.ts @@ -30,11 +30,22 @@ export class SpWelcomePage extends BaseElement { align-content: center; background: var(--dark-background5,#F6F6F6); } + .home-page{ + margin-top: -100px; + } .lit-icon{ + margin-top: 50px; + margin-left: 50px; content: var(--dark-img,url('img/pic.png')); }
+
+

黄区域名: https://smartperf.rnd.huawei.com/smartperf/

+

绿区域名: https://devecotesting.rnd.huawei.com/smartperf/

+

3ms社区: http://3ms.huawei.com/km/groups/3956611/home?|=zh-cn

+

welink讨论群: 群1: 473395703, 群2: 485625665

+
`; diff --git a/ide/src/trace/component/trace/base/RangeSelect.ts b/ide/src/trace/component/trace/base/RangeSelect.ts index cd368a476..49843d4cf 100644 --- a/ide/src/trace/component/trace/base/RangeSelect.ts +++ b/ide/src/trace/component/trace/base/RangeSelect.ts @@ -90,7 +90,7 @@ export class RangeSelect { this.endY = 0; this.endY2 = mouseEventUp.pageY - this.spacerEL!.getBoundingClientRect().top - this.rowsPaneEL!.scrollTop; } else { - this.endY = mouseEventUp.pageY - this.rowsEL!.getBoundingClientRect().top + this.spacerEL.getBoundingClientRect().height; + this.endY = mouseEventUp.pageY - this.rowsEL!.getBoundingClientRect().top + this.spacerEL.getBoundingClientRect().height; this.endY2 = mouseEventUp.pageY - this.spacerEL!.getBoundingClientRect().top - this.rowsPaneEL!.scrollTop; } if (this.selectHandler) { @@ -125,7 +125,7 @@ export class RangeSelect { this.endY = 0; this.endY2 = mouseEventOut.pageY - this.spacerEL!.getBoundingClientRect().top - this.rowsPaneEL!.scrollTop; } else { - this.endY = mouseEventOut.pageY - this.rowsEL!.getBoundingClientRect().top + this.spacerEL.getBoundingClientRect().height; + this.endY = mouseEventOut.pageY - this.rowsEL!.getBoundingClientRect().top + this.spacerEL.getBoundingClientRect().height; this.endY2 = mouseEventOut.pageY - this.spacerEL!.getBoundingClientRect().top - this.rowsPaneEL!.scrollTop; } if (this.selectHandler && this.isMouseDown) { -- Gitee From 52f63f31e4ec899242dddb0f2ceb14c0fc4a9418 Mon Sep 17 00:00:00 2001 From: zhangzepeng Date: Thu, 13 Jul 2023 15:41:23 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E2=80=99=E9=A6=96=E9=A1=B5=E6=8E=A8?= =?UTF-8?q?=E8=8D=90=E2=80=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhangzepeng --- trace_streamer/src/trace_streamer/trace_streamer_selector.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/trace_streamer/src/trace_streamer/trace_streamer_selector.cpp b/trace_streamer/src/trace_streamer/trace_streamer_selector.cpp index 1979e9dcf..d465a5e8c 100644 --- a/trace_streamer/src/trace_streamer/trace_streamer_selector.cpp +++ b/trace_streamer/src/trace_streamer/trace_streamer_selector.cpp @@ -141,9 +141,7 @@ void TraceStreamerSelector::InitFilter() streamFilters_->sysEventVMemMeasureFilter_ = std::make_unique( traceDataCache_.get(), streamFilters_.get(), E_SYS_VIRTUAL_MEMORY_FILTER); streamFilters_->appStartupFilter_ = std::make_unique(traceDataCache_.get(), streamFilters_.get()); -#if WITH_PERF streamFilters_->perfDataFilter_ = std::make_unique(traceDataCache_.get(), streamFilters_.get()); -#endif streamFilters_->sysEventSourceFilter_ = std::make_unique( traceDataCache_.get(), streamFilters_.get(), E_SYS_EVENT_SOURCE_FILTER); streamFilters_->hiSysEventMeasureFilter_ = -- Gitee