Files
envi-code/report-cpu-hotspots.md
T
company-desktop ae4cac5285 docs: 增加图纸打开慢的 CPU 采样分析(两轮 trace)
现象:用 AutoCAD 打开含大量自定义实体的大图纸非常慢,需要定位热点后重构。

做法:解析 VS 诊断会话(.diagsession 内是 zip,含 sc.user_aux.etl),
用 xperf 导出采样与完整调用栈,按模块/函数/线程/调用链聚合。

两轮 trace:
- 第一轮在另一台机器采集(acdb23/acgs/ASMKERN225A,2021 系),
  该次构建的 PDB 已不可得,只能到「模块 + 调用链」级别:
  Parasolid 约 34%、内核+文件系统 17%、TBB 线程池 14%(基本空转)、
  SQLite 8.4%(栈内 17%,全部串行在主线程)、我们自己 arx 的代码 < 1%。
- 第二轮在本机重新采集(acdb19/modlr19/ASMKERN219A,R190 部署),
  PDB 与 bin 下二进制一致,28/28 模块符号匹配,得到函数级结论:
  AecDbEntityCommon::base_ViewportDraw 覆盖 74% 采样,
  Parasolid 约 43%,我们自己的代码约 2.5% 自耗时。
  GiDrawUtility::DrawPipe/DrawLoft/DrawRevolve 合计 20.5% 在每次绘制时重算几何;
  AecDbBDPipeBase::GetBooleanPart3D 12%;
  而 AecDbX3dPart::EnsureCreated/Rebuild 已在栈上却不命中,说明缓存脏判定有问题。
  dwgInFields/copyFrom 家族约 13.6%,载入期就把几何建出来了,
  且 CoreTools::StringToRegion 的栈里有 Ntfs/FLTMGR,解析 SAT 文本时还在读盘。

产出:
- diagsession-cpu-analysis.md:结论 + 优化优先级(P0/P1/P2)+ 环境干扰说明
- report-cpu-hotspots.md:工具生成的原始热点表(模块/函数/线程/调用链/时间线)

验证:仅在两轮 trace 上做了离线分析,未改任何源码,无编译与 CAD 实测。
已知限制:两轮 CAD 版本不同,百分比不能直接横比;当前部署是 Debug 构建,
热点分布与 Release 有差异,量化收益需用 Release 复测。

分析脚本 tools/perf_diagsession.py 因仓库 .gitignore 里已有 *.py 规则未一并提交。
2026-10-28 14:45:15 +08:00

463 lines
27 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# CPU 热点报告 — `report.diagsession`
- 进程: **acad.exe**,采样 **42,888** 个(1 ms/样本 ≈ **42.9 s CPU**)
- 采集期内各进程采样: acad.exe 44,454、MsMpEng.exe 40,310、devenv.exe 17,271、dwm.exe 11,423、Taskmgr.exe 6,923、BingWallpaper.exe 6,516、msedgewebview2.exe 6,285、Idle ( 0) 4,191、System ( 4) 3,787、python.exe 3,072
- PDB 精确匹配: **28** 个模块
## 独占自耗时 by 模块
| 采样 | 占比 | 项 |
|---:|---:|---|
| 9,325 | 21.74% | `ASMKERN219A.dll` |
| 7,075 | 16.50% | `ASMBASE219A.dll` |
| 6,811 | 15.88% | `ntoskrnl.exe` |
| 3,419 | 7.97% | `msvcr100.dll` |
| 2,453 | 5.72% | `ntdll.dll` |
| 1,782 | 4.16% | `acdb19.dll` |
| 1,325 | 3.09% | `Ntfs.sys` |
| 783 | 1.83% | `ASMINTR219A.dll` |
| 781 | 1.82% | `AecRxBase.arx` |
| 680 | 1.59% | `win32kbase.sys` |
| 671 | 1.56% | `accore.dll` |
| 576 | 1.34% | `ASMBOOL219A.dll` |
| 546 | 1.27% | `KernelBase.dll` |
| 535 | 1.25% | `FLTMGR.SYS` |
| 492 | 1.15% | `win32kfull.sys` |
| 485 | 1.13% | `mfc100u.dll` |
| 368 | 0.86% | `dswhip.dll` |
| 321 | 0.75% | `modlr19.dll` |
| 294 | 0.69% | `WdFilter.sys` |
| 275 | 0.64% | `clr.dll` |
| 274 | 0.64% | `ac1st19.dll` |
| 247 | 0.58% | `ASMLAW219A.dll` |
| 246 | 0.57% | `ASMSWP219A.dll` |
| 236 | 0.55% | `user32.dll` |
| 221 | 0.52% | `CoreCommand.arx` |
| 215 | 0.50% | `kernel32.dll` |
| 210 | 0.49% | `ASMCSTR219A.dll` |
| 186 | 0.43% | `nvlddmkm.sys` |
| 155 | 0.36% | `acge19.dll` |
| 140 | 0.33% | `nvd3dumx.dll` |
| 112 | 0.26% | `WindowsBase.ni.dll` |
| 93 | 0.22% | `gdi32full.dll` |
| 80 | 0.19% | `PresentationCore.ni.dll` |
| 79 | 0.18% | `TextShaping.dll` |
| 71 | 0.17% | `acad.exe` |
| 65 | 0.15% | `mscorlib.ni.dll` |
| 63 | 0.15% | `ASMTOPT219A.dll` |
| 60 | 0.14% | `luafv.sys` |
| 48 | 0.11% | `dxgkrnl.sys` |
| 47 | 0.11% | `win32u.dll` |
## 我们模块的函数热点
### 自身耗时(exclusive,叶子帧是我们)
| 采样 | 占比 | 模块!函数 |
|---:|---:|---|
| 84 | 0.20% | `AecRxBase.arx!std::_Tree::_Linsert` |
| 47 | 0.11% | `AecRxBase.arx!std::_Tree::_Insert` |
| 37 | 0.09% | `AecRxBase.arx!std::_Tree_val::_Parent` |
| 31 | 0.07% | `CoreCommand.arx!AcDbObjectId::AcDbObjectId` |
| 29 | 0.07% | `AecRxBase.arx!ATL::operator` |
| 26 | 0.06% | `AecRxBase.arx!std::_Tree::_Lbound` |
| 23 | 0.05% | `AecRxBase.arx!std::_Tree_unchecked_const_iterator::operator++` |
| 20 | 0.05% | `AecRxBase.arx!std::_Tree_val::_Isnil` |
| 19 | 0.04% | `AecRxBase.arx!std::_Tree_val::_Myval` |
| 19 | 0.04% | `AecRxBase.arx!AecDbObjXDataMap::Resbuf2XDMap` |
| 18 | 0.04% | `AecRxBase.arx!std::_Tree::_Lrotate` |
| 17 | 0.04% | `AecRxBase.arx!std::_Pair_base::_Pair_base` |
| 17 | 0.04% | `AecRxBase.arx!std::_Tree_unchecked_const_iterator::_Tree_unchecked_const_iterator` |
| 17 | 0.04% | `AecRxBase.arx!std::_Tree::_Erase` |
| 16 | 0.04% | `AecRxBase.arx!std::_Tree_val::_Min` |
| 15 | 0.03% | `AecRxBase.arx!std::_Tree_val::_Right` |
| 12 | 0.03% | `CoreCommand.arx!std::_Count` |
| 12 | 0.03% | `AecRxBase.arx!std::_Pair_base::_Pair_base` |
| 11 | 0.03% | `CoreCommand.arx!`vector constructor iterator'` |
| 11 | 0.03% | `AecRxBase.arx!std::less::operator()` |
| 11 | 0.03% | `AecRxBase.arx!$$Thunk@000024a0` |
| 9 | 0.02% | `AecRxBase.arx!std::_Tree_val::_Left` |
| 9 | 0.02% | `AecRxBase.arx!std::_Tree_const_iterator::operator==` |
| 8 | 0.02% | `AecRxBase.arx!$$Thunk@0000307b` |
| 8 | 0.02% | `AecRxBase.arx!std::_Tree::_Root` |
| 8 | 0.02% | `AecRxBase.arx!std::_Tree::find` |
| 8 | 0.02% | `CoreCommand.arx!std::_Tree::_Lbound` |
| 7 | 0.02% | `AecRxBase.arx!std::_Tree_const_iterator::_Tree_const_iterator` |
| 7 | 0.02% | `AecRxBase.arx!std::_Tree_iterator::_Tree_iterator` |
| 7 | 0.02% | `AecRxBase.arx!std::_Tree_val::_Key` |
### 出现在调用栈中(inclusive,每栈去重)—— 真正的「骨架函数」
| 采样 | 占比 | 模块!函数 |
|---:|---:|---|
| 31,856 | 74.28% | `AecRxBase.arx!AecDbEntityCommon::base_ViewportDraw` |
| 18,178 | 42.38% | `AecRxBase.arx!AecDbCurveBase::subViewportDraw` |
| 13,678 | 31.89% | `AecRxBase.arx!AecDbEntityBase::subViewportDraw` |
| 11,128 | 25.95% | `CoreCommand.arx!AecDbEwEquipment::Draw3d` |
| 9,335 | 21.77% | `CoreCommand.arx!AecDbEwEquipment::Draw3dSolid` |
| 8,024 | 18.71% | `AecRxBase.arx!AcGiViewDraw::DrawPipe` |
| 6,874 | 16.03% | `AecRxBase.arx!GiDrawUtility::DrawPipe` |
| 6,594 | 15.37% | `CoreCommand.arx!AecDbGuardBar::Draw3d` |
| 5,787 | 13.49% | `CoreCommand.arx!AecDbBDPipeBase::Draw3d` |
| 5,543 | 12.92% | `AecRxBase.arx!AcGiViewDraw::DrawEntity` |
| 5,163 | 12.04% | `CoreCommand.arx!AecDbBDPipeBase::GetDraw3dSolid` |
| 5,156 | 12.02% | `CoreCommand.arx!AecDbBDPipeBase::GetBooleanPart3D` |
| 4,435 | 10.34% | `CoreCommand.arx!AecDbWeir::Draw3d` |
| 4,165 | 9.71% | `CoreCommand.arx!AecDbX3dPart::CreateDraw3dSolid` |
| 3,602 | 8.40% | `CoreCommand.arx!AcDbX3dSolid::GetDraw3dSolid` |
| 3,598 | 8.39% | `CoreCommand.arx!AecDbX3dPart::Rebuild` |
| 3,598 | 8.39% | `CoreCommand.arx!AecDbX3dPart::EnsureCreated` |
| 3,420 | 7.97% | `CoreCommand.arx!AecDbEwPipeBase::dwgInFields` |
| 3,346 | 7.80% | `CoreCommand.arx!AcDbX3dSolid::ReCreate` |
| 3,346 | 7.80% | `CoreCommand.arx!AcDbX3dSolid::EnsureCreated` |
| 3,130 | 7.30% | `CoreCommand.arx!AecDbEwPipeBase::RegionAcisInDwgInFields` |
| 3,130 | 7.30% | `CoreCommand.arx!AecDbEwPipeBase::SectionRegionDwgInFields` |
| 2,949 | 6.88% | `CoreCommand.arx!CoreTools::StringToRegion` |
| 2,917 | 6.80% | `AecRxBase.arx!GiDrawUtility::DrawLoft` |
| 2,770 | 6.46% | `CoreCommand.arx!AecDbClimbStair::Draw3d` |
| 2,755 | 6.42% | `CoreCommand.arx!AecDbClimbStair::DrawClimbStair3d1` |
| 2,754 | 6.42% | `CoreCommand.arx!AecDbClimbStair::DrawLadderH3d` |
| 2,496 | 5.82% | `AecRxBase.arx!GiDrawUtility::DrawCone` |
| 2,390 | 5.57% | `CoreCommand.arx!AecDbEwFitting::Draw3d` |
| 2,376 | 5.54% | `CoreCommand.arx!AecDbEwPipeBase::copyFrom` |
| 1,986 | 4.63% | `CoreCommand.arx!AcDbX3dSolid::CreateExtrude` |
| 1,832 | 4.27% | `CoreCommand.arx!AecDbEwPipe::dwgInFields` |
| 1,825 | 4.26% | `CoreCommand.arx!NewExtrude::makeSolid` |
| 1,682 | 3.92% | `AecRxBase.arx!AecDbEntityCommon::Draw3DBuffers` |
| 1,680 | 3.92% | `AecRxBase.arx!AcGiViewDraw::DrawCone` |
| 1,657 | 3.86% | `CoreCommand.arx!NewSolid::makeSolid` |
| 1,549 | 3.61% | `CoreCommand.arx!AecDbEwFitting::DrawFlange` |
| 1,349 | 3.15% | `CoreCommand.arx!AecDbEwPipeBase::Draw3d` |
| 1,315 | 3.07% | `CoreCommand.arx!CoreTools::RegionToString` |
| 1,298 | 3.03% | `AecRxBase.arx!GiDrawUtility::DrawRevolve` |
### 驱动 Parasolid(建模内核)的我们的函数
| 采样 | 占比 | 模块!函数 |
|---:|---:|---|
| 5,378 | 12.54% | `AecRxBase.arx!GiDrawUtility::DrawPipe` |
| 4,104 | 9.57% | `AecRxBase.arx!AcGiViewDraw::DrawEntity` |
| 2,483 | 5.79% | `AecRxBase.arx!GiDrawUtility::DrawLoft` |
| 1,236 | 2.88% | `CoreCommand.arx!AecDbEwEquipment::Draw3dSolid` |
| 1,017 | 2.37% | `CoreCommand.arx!AecDbEwPipeBase::RegionAcisInDwgInFields` |
| 939 | 2.19% | `CoreCommand.arx!CoreTools::StringToRegion` |
| 922 | 2.15% | `AecRxBase.arx!GiDrawUtility::DrawRevolve` |
| 821 | 1.91% | `CoreCommand.arx!AecDbBDPipeBase::GetBooleanPart3D` |
| 681 | 1.59% | `AecRxBase.arx!`anonymous namespace'::createRegion` |
| 524 | 1.22% | `CoreCommand.arx!AcDbX3dSolid::CreateExtrude` |
| 463 | 1.08% | `CoreCommand.arx!CoreTools::RegionToString` |
| 461 | 1.07% | `CoreCommand.arx!NewExtrude::makeSolid` |
| 452 | 1.05% | `CoreCommand.arx!TransformEntity` |
| 450 | 1.05% | `CoreCommand.arx!NewRevolve::makeSolid` |
| 401 | 0.93% | `CoreCommand.arx!AecDbEwPipeBase::RegionAcisoutDwgOutFields` |
| 216 | 0.50% | `CoreCommand.arx!AecDbGuardBar::Draw3d` |
| 176 | 0.41% | `CoreCommand.arx!AcDbX3dSolid::GetDraw3dSolid` |
| 148 | 0.35% | `CoreCommand.arx!NewLoft::makeSolid` |
| 103 | 0.24% | `AecRxBase.arx!MemOper::DELETE_PTR` |
| 103 | 0.24% | `CoreCommand.arx!AecDbX3dPart::CreateDraw3dSolid` |
| 100 | 0.23% | `CoreCommand.arx!MemOper::DELETE_PTR` |
| 93 | 0.22% | `AecRxBase.arx!GiDrawUtility::transfromRegion` |
| 73 | 0.17% | `CoreCommand.arx!AecDbEwPipeBase::Draw3d` |
| 72 | 0.17% | `CoreCommand.arx!AecDbEwPipeBase::copyFrom` |
| 70 | 0.16% | `CoreCommand.arx!AecDbEwFitting::GetSection` |
## 独占自耗时 by 函数
| 采样 | 占比 | 模块!函数 / 模块+RVA |
|---:|---:|---|
| 611 | 1.42% | `ntdll.dll!RtlpLowFragHeapAllocFromContext` |
| 531 | 1.24% | `ASMBASE219A.dll!RVA 0x256a3 (无符号)` |
| 454 | 1.06% | `ASMBASE219A.dll!RVA 0x25697 (无符号)` |
| 367 | 0.86% | `ntdll.dll!RtlpFreeHeapInternal` |
| 306 | 0.71% | `ASMBASE219A.dll!RVA 0x1d76b (无符号)` |
| 233 | 0.54% | `ntdll.dll!RtlFlsGetValue` |
| 215 | 0.50% | `ASMBASE219A.dll!RVA 0x1d71e (无符号)` |
| 211 | 0.49% | `ntoskrnl.exe!MiFindEmptyAddressRangeDownTree` |
| 199 | 0.46% | `ntoskrnl.exe!ExpAcquireResourceSharedLite` |
| 181 | 0.42% | `ASMBASE219A.dll!RVA 0x1d760 (无符号)` |
| 173 | 0.40% | `ntoskrnl.exe!ExpInterlockedPopEntrySListResume` |
| 170 | 0.40% | `ntoskrnl.exe!KiPageFault` |
| 159 | 0.37% | `ntdll.dll!RtlpLfhFindClearBitAndSet` |
| 153 | 0.36% | `ntoskrnl.exe!KeAcquireInStackQueuedSpinLock` |
| 153 | 0.36% | `ntoskrnl.exe!ExAllocateHeapPool` |
| 141 | 0.33% | `ntdll.dll!RtlSetLastWin32Error` |
| 127 | 0.30% | `msvcr100.dll!0x00000000543b0331 (无符号)` |
| 123 | 0.29% | `ntoskrnl.exe!RtlpHpLfhSlotAllocate` |
| 117 | 0.27% | `ntdll.dll!RtlpAllocateHeapInternal` |
| 114 | 0.27% | `ntoskrnl.exe!ExReleasePushLockEx` |
| 112 | 0.26% | `KernelBase.dll!FlsGetValue` |
| 111 | 0.26% | `ntoskrnl.exe!RtlCompareUnicodeString` |
| 109 | 0.25% | `ntoskrnl.exe!ExpAcquireResourceExclusiveLite` |
| 108 | 0.25% | `ntoskrnl.exe!KiSystemServiceUser` |
| 108 | 0.25% | `msvcr100.dll!0x000000005436e45e (无符号)` |
| 102 | 0.24% | `ASMBASE219A.dll!RVA 0xddc7 (无符号)` |
| 99 | 0.23% | `ntdll.dll!RtlEnterCriticalSection` |
| 98 | 0.23% | `ntoskrnl.exe!ExFreeHeapPool` |
| 98 | 0.23% | `ntoskrnl.exe!ObpLookupObjectName` |
| 94 | 0.22% | `ntoskrnl.exe!MmCheckCachedPageStates` |
| 93 | 0.22% | `ntoskrnl.exe!ExReleasePushLockExclusiveEx` |
| 93 | 0.22% | `ntoskrnl.exe!ExpReleaseResourceSharedForThreadLite` |
| 90 | 0.21% | `ntoskrnl.exe!ExAcquirePushLockExclusiveEx` |
| 89 | 0.21% | `ntoskrnl.exe!ExReleaseResourceLite` |
| 84 | 0.20% | `ntoskrnl.exe!ExpReleaseResourceExclusiveForThreadLite` |
| 84 | 0.20% | `ntoskrnl.exe!ExAcquirePushLockSharedEx` |
| 84 | 0.20% | `AecRxBase.arx!std::_Tree::_Linsert` |
| 83 | 0.19% | `msvcr100.dll!0x000000005436e45a (无符号)` |
| 82 | 0.19% | `ntoskrnl.exe!FsRtlCompareNodeAndKey` |
| 81 | 0.19% | `ntoskrnl.exe!RtlpLookupFunctionEntryForStackWalks` |
| 80 | 0.19% | `ntoskrnl.exe!KeAbPostRelease` |
| 79 | 0.18% | `ntdll.dll!RtlLeaveCriticalSection` |
| 78 | 0.18% | `ntoskrnl.exe!CcGetVirtualAddress` |
| 76 | 0.18% | `ntoskrnl.exe!RtlpHpSegPageRangeAllocate` |
| 74 | 0.17% | `ntoskrnl.exe!CcPinFileData` |
| 69 | 0.16% | `ntoskrnl.exe!HalpTscQueryCounterOrdered` |
| 69 | 0.16% | `FLTMGR.SYS!FltpPerformPreCallbacksWorker` |
| 65 | 0.15% | `ASMBASE219A.dll!RVA 0xaf95 (无符号)` |
| 64 | 0.15% | `KernelBase.dll!GetLocaleInfoHelper` |
| 62 | 0.14% | `ASMBASE219A.dll!RVA 0x1d768 (无符号)` |
| 60 | 0.14% | `Ntfs.sys!NtfsFileCompareValues` |
| 58 | 0.14% | `ASMBASE219A.dll!RVA 0x50a10 (无符号)` |
| 57 | 0.13% | `ntoskrnl.exe!SwapContext` |
| 56 | 0.13% | `ntoskrnl.exe!CcUnpinFileDataEx` |
| 55 | 0.13% | `KernelBase.dll!GetLastError` |
| 55 | 0.13% | `ASMBASE219A.dll!RVA 0x1dfc0 (无符号)` |
| 54 | 0.13% | `ASMBASE219A.dll!RVA 0x53db0 (无符号)` |
| 53 | 0.12% | `ntdll.dll!RtlAllocateHeap` |
| 53 | 0.12% | `Ntfs.sys!NtfsCheckMappingPairs` |
| 52 | 0.12% | `nvd3dumx.dll!RVA 0x18496e (无符号)` |
## 栈内出现率(inclusive)
| 采样 | 占比 | 项 |
|---:|---:|---|
| 41,394 | 96.52% | `ntdll.dll` |
| 40,387 | 94.17% | `accore.dll` |
| 40,119 | 93.54% | `mfc100u.dll` |
| 39,924 | 93.09% | `acad.exe` |
| 39,860 | 92.94% | `kernel32.dll` |
| 39,830 | 92.87% | `user32.dll` |
| 38,013 | 88.63% | `comctl32.dll` |
| 37,794 | 88.12% | `AdApplicationFrame.dll` |
| 36,575 | 85.28% | `acdb19.dll` |
| 35,849 | 83.59% | `CoreCommand.arx` |
| 33,213 | 77.44% | `AecRxBase.arx` |
| 26,342 | 61.42% | `modlr19.dll` |
| 18,144 | 42.31% | `ASMKERN219A.dll` |
| 11,018 | 25.69% | `ntoskrnl.exe` |
| 9,161 | 21.36% | `ASMBASE219A.dll` |
| 8,548 | 19.93% | `KernelBase.dll` |
| 8,078 | 18.84% | `msvcr100.dll` |
| 6,713 | 15.65% | `ASMINTR219A.dll` |
| 6,643 | 15.49% | `ASMSWP219A.dll` |
| 5,757 | 13.42% | `FLTMGR.SYS` |
| 4,532 | 10.57% | `ac1st19.dll` |
| 4,213 | 9.82% | `ASMBOOL219A.dll` |
| 3,831 | 8.93% | `Ntfs.sys` |
| 3,371 | 7.86% | `win32u.dll` |
| 3,347 | 7.80% | `win32k.sys` |
| 3,327 | 7.76% | `win32kfull.sys` |
| 2,406 | 5.61% | `ASMSKIN219A.dll` |
| 1,875 | 4.37% | `win32kbase.sys` |
| 1,655 | 3.86% | `WdFilter.sys` |
| 1,378 | 3.21% | `ASMCSTR219A.dll` |
| 1,299 | 3.03% | `adui19.dll` |
| 1,068 | 2.49% | `gdi32full.dll` |
| 871 | 2.03% | `shell32.dll` |
| 832 | 1.94% | `gdi32.dll` |
| 831 | 1.94% | `clr.dll` |
| 764 | 1.78% | `luafv.sys` |
| 650 | 1.52% | `WindowsBase.ni.dll` |
| 627 | 1.46% | `dswhip.dll` |
| 610 | 1.42% | `ASMCOVR219A.dll` |
| 609 | 1.42% | `ad19asm219.dll` |
## 线程分布
| 采样 | 占比 | 线程 | 该线程主要自耗时模块 |
|---:|---:|---|---|
| 42,025 | 97.99% | tid 10816 | ASMKERN219A.dll:9325, ASMBASE219A.dll:7075, ntoskrnl.exe:6581 |
| 274 | 0.64% | tid 7636 | dswhip.dll:173, ntdll.dll:43, ntoskrnl.exe:32 |
| 192 | 0.45% | tid 6480 | nvd3dumx.dll:101, ntoskrnl.exe:32, nvlddmkm.sys:24 |
| 132 | 0.31% | tid 18884 | ntoskrnl.exe:70, ntdll.dll:18, KernelBase.dll:10 |
| 115 | 0.27% | tid 15888 | wpfgfx_v0400.dll:32, nvd3dumx.dll:21, ntoskrnl.exe:20 |
| 25 | 0.06% | tid 6000 | ntoskrnl.exe:11, ntdll.dll:4, windows.storage.dll:3 |
| 24 | 0.06% | tid 13868 | ntoskrnl.exe:13, ntdll.dll:3, AcSignCore16.dll:3 |
| 18 | 0.04% | tid 9324 | ntoskrnl.exe:10, ntdll.dll:4, AcSignCore16.dll:2 |
| 16 | 0.04% | tid 14092 | ntoskrnl.exe:8, ntdll.dll:3, FLTMGR.SYS:2 |
| 14 | 0.03% | tid 17636 | ntoskrnl.exe:6, nvoglv64.dll:6, win32kbase.sys:1 |
| 12 | 0.03% | tid 19348 | ntoskrnl.exe:9, ntdll.dll:1, nvlddmkm.sys:1 |
| 7 | 0.02% | tid 7144 | combase.dll:3, ntoskrnl.exe:2, ntdll.dll:1 |
| 5 | 0.01% | tid 8996 | |
| 4 | 0.01% | tid 7072 | |
| 3 | 0.01% | tid 6628 | |
## 主干调用链(模块级,重复折叠)
- ` 3.86%` (1,655) ASMKERN219A.dll <- ASMINTR219A.dll <- modlr19.dll <- acdb19.dll <- accore.dll <- AecRxBase.arx <- CoreCommand.arx <- AecRxBase.arx <- acdb19.dll <- accore.dll <- acdb19.dll
- ` 3.84%` (1,649) ASMKERN219A.dll <- ASMSWP219A.dll <- modlr19.dll <- acdb19.dll <- AecRxBase.arx <- CoreCommand.arx <- AecRxBase.arx <- acdb19.dll <- accore.dll <- acdb19.dll <- accore.dll
- ` 1.89%` (811) ASMKERN219A.dll <- ASMSKIN219A.dll <- modlr19.dll <- acdb19.dll <- AecRxBase.arx <- CoreCommand.arx <- AecRxBase.arx <- acdb19.dll <- accore.dll <- acdb19.dll <- accore.dll
- ` 1.70%` (728) ASMBASE219A.dll <- ASMKERN219A.dll <- ASMINTR219A.dll <- modlr19.dll <- acdb19.dll <- accore.dll <- AecRxBase.arx <- CoreCommand.arx <- AecRxBase.arx <- acdb19.dll <- accore.dll
- ` 1.51%` (648) ASMKERN219A.dll <- modlr19.dll <- acdb19.dll <- CoreCommand.arx <- AecRxBase.arx <- acdb19.dll <- accore.dll <- acdb19.dll <- accore.dll <- acad.exe <- mfc100u.dll
- ` 1.34%` (574) ASMKERN219A.dll <- ASMBOOL219A.dll <- modlr19.dll <- acdb19.dll <- CoreCommand.arx <- AecRxBase.arx <- acdb19.dll <- accore.dll <- acdb19.dll <- accore.dll <- acad.exe
- ` 1.32%` (568) AecRxBase.arx <- CoreCommand.arx <- acdb19.dll <- accore.dll <- acad.exe <- mfc100u.dll <- acad.exe <- mfc100u.dll <- acad.exe <- mfc100u.dll <- user32.dll
- ` 1.31%` (563) ASMBASE219A.dll <- ASMKERN219A.dll <- modlr19.dll <- acdb19.dll <- CoreCommand.arx <- AecRxBase.arx <- acdb19.dll <- accore.dll <- acdb19.dll <- accore.dll <- acad.exe
- ` 1.00%` (427) ASMBASE219A.dll <- ASMKERN219A.dll <- ASMSWP219A.dll <- modlr19.dll <- acdb19.dll <- AecRxBase.arx <- CoreCommand.arx <- AecRxBase.arx <- acdb19.dll <- accore.dll <- acdb19.dll
- ` 0.99%` (424) ASMKERN219A.dll <- modlr19.dll <- acdb19.dll <- AecRxBase.arx <- CoreCommand.arx <- AecRxBase.arx <- acdb19.dll <- accore.dll <- acdb19.dll <- accore.dll <- acad.exe
- ` 0.94%` (402) ASMINTR219A.dll <- modlr19.dll <- acdb19.dll <- accore.dll <- AecRxBase.arx <- CoreCommand.arx <- AecRxBase.arx <- acdb19.dll <- accore.dll <- acdb19.dll <- accore.dll
- ` 0.92%` (395) acdb19.dll <- CoreCommand.arx <- AecRxBase.arx <- acdb19.dll <- accore.dll <- acdb19.dll <- accore.dll <- acad.exe <- mfc100u.dll <- acad.exe <- mfc100u.dll
- ` 0.84%` (360) msvcr100.dll <- ASMKERN219A.dll <- modlr19.dll <- acdb19.dll <- CoreCommand.arx <- AecRxBase.arx <- acdb19.dll <- accore.dll <- acdb19.dll <- accore.dll <- acad.exe
- ` 0.83%` (356) ASMBASE219A.dll <- ASMINTR219A.dll <- modlr19.dll <- acdb19.dll <- accore.dll <- AecRxBase.arx <- CoreCommand.arx <- AecRxBase.arx <- acdb19.dll <- accore.dll <- acdb19.dll
- ` 0.80%` (344) ASMBASE219A.dll <- ASMKERN219A.dll <- ASMBOOL219A.dll <- modlr19.dll <- acdb19.dll <- CoreCommand.arx <- AecRxBase.arx <- acdb19.dll <- accore.dll <- acdb19.dll <- accore.dll
- ` 0.80%` (343) ntoskrnl.exe <- Ntfs.sys <- ntoskrnl.exe <- FLTMGR.SYS <- ntoskrnl.exe
- ` 0.74%` (318) ASMBASE219A.dll <- ASMKERN219A.dll <- modlr19.dll <- acdb19.dll <- AecRxBase.arx <- CoreCommand.arx <- AecRxBase.arx <- acdb19.dll <- accore.dll <- acdb19.dll <- accore.dll
- ` 0.74%` (316) ASMBOOL219A.dll <- modlr19.dll <- acdb19.dll <- CoreCommand.arx <- AecRxBase.arx <- acdb19.dll <- accore.dll <- acdb19.dll <- accore.dll <- acad.exe <- mfc100u.dll
- ` 0.72%` (308) ntoskrnl.exe <- Ntfs.sys <- ntoskrnl.exe <- FLTMGR.SYS <- ntoskrnl.exe <- ntdll.dll <- KernelBase.dll <- mfc100u.dll <- CoreCommand.arx <- AecRxBase.arx <- acdb19.dll
- ` 0.69%` (297) accore.dll <- modlr19.dll <- acdb19.dll <- accore.dll <- AecRxBase.arx <- CoreCommand.arx <- AecRxBase.arx <- acdb19.dll <- accore.dll <- acdb19.dll <- accore.dll
- ` 0.68%` (290) ASMBASE219A.dll <- ASMSWP219A.dll <- modlr19.dll <- acdb19.dll <- AecRxBase.arx <- CoreCommand.arx <- AecRxBase.arx <- acdb19.dll <- accore.dll <- acdb19.dll <- accore.dll
- ` 0.66%` (282) msvcr100.dll <- ASMKERN219A.dll <- ASMINTR219A.dll <- modlr19.dll <- acdb19.dll <- accore.dll <- AecRxBase.arx <- CoreCommand.arx <- AecRxBase.arx <- acdb19.dll <- accore.dll
- ` 0.61%` (262) msvcr100.dll <- ASMBASE219A.dll <- modlr19.dll <- acdb19.dll <- AecRxBase.arx <- CoreCommand.arx <- AecRxBase.arx <- acdb19.dll <- accore.dll <- acdb19.dll <- accore.dll
- ` 0.61%` (261) ASMKERN219A.dll <- ASMINTR219A.dll <- ASMSKIN219A.dll <- modlr19.dll <- acdb19.dll <- AecRxBase.arx <- CoreCommand.arx <- AecRxBase.arx <- acdb19.dll <- accore.dll <- acdb19.dll
- ` 0.60%` (258) ASMKERN219A.dll <- ASMCSTR219A.dll <- ASMSKIN219A.dll <- modlr19.dll <- acdb19.dll <- AecRxBase.arx <- CoreCommand.arx <- AecRxBase.arx <- acdb19.dll <- accore.dll <- acdb19.dll
- ` 0.59%` (255) ASMBASE219A.dll <- modlr19.dll <- acdb19.dll <- ac1st19.dll <- acdb19.dll <- CoreCommand.arx <- AecRxBase.arx <- acdb19.dll <- accore.dll <- acdb19.dll <- accore.dll
- ` 0.55%` (238) ntoskrnl.exe <- Ntfs.sys <- ntoskrnl.exe <- FLTMGR.SYS <- ntoskrnl.exe <- ntdll.dll <- KernelBase.dll <- CoreCommand.arx <- AecRxBase.arx <- acdb19.dll <- accore.dll
- ` 0.52%` (221) msvcr100.dll <- ASMBASE219A.dll <- ASMSWP219A.dll <- modlr19.dll <- acdb19.dll <- AecRxBase.arx <- CoreCommand.arx <- AecRxBase.arx <- acdb19.dll <- accore.dll <- acdb19.dll
- ` 0.50%` (216) ntoskrnl.exe <- Ntfs.sys <- ntoskrnl.exe <- FLTMGR.SYS <- ntoskrnl.exe <- ntdll.dll <- KernelBase.dll <- mfc100u.dll <- CoreCommand.arx <- acdb19.dll <- accore.dll
- ` 0.49%` (211) ASMBASE219A.dll <- ASMKERN219A.dll <- ASMSKIN219A.dll <- modlr19.dll <- acdb19.dll <- AecRxBase.arx <- CoreCommand.arx <- AecRxBase.arx <- acdb19.dll <- accore.dll <- acdb19.dll
## 关键调用点(被关注模块的直接调用方)
### Parasolid
| 采样 | 占比 | 调用方 |
|---:|---:|---|
| 4,810 | 11.22% | `modlr19.dll!RVA 0x3c289 (无符号)` |
| 3,626 | 8.45% | `modlr19.dll!RVA 0xeaa0 (无符号)` |
| 2,106 | 4.91% | `modlr19.dll!RVA 0x4cf51 (无符号)` |
| 1,757 | 4.10% | `modlr19.dll!RVA 0x327b5 (无符号)` |
| 1,560 | 3.64% | `modlr19.dll!RVA 0x35224 (无符号)` |
| 1,429 | 3.33% | `modlr19.dll!RVA 0x425fd (无符号)` |
| 1,021 | 2.38% | `modlr19.dll!RVA 0x49a26 (无符号)` |
| 703 | 1.64% | `modlr19.dll!RVA 0x352af (无符号)` |
| 582 | 1.36% | `modlr19.dll!RVA 0x39292 (无符号)` |
| 560 | 1.31% | `modlr19.dll!RVA 0x37fab (无符号)` |
| 503 | 1.17% | `modlr19.dll!RVA 0x35ca1 (无符号)` |
| 382 | 0.89% | `modlr19.dll!RVA 0x2bbc6 (无符号)` |
| 337 | 0.79% | `modlr19.dll!RVA 0x42634 (无符号)` |
| 311 | 0.73% | `modlr19.dll!RVA 0x390fd (无符号)` |
| 205 | 0.48% | `modlr19.dll!RVA 0x19a90 (无符号)` |
### sqliteserver.dll
| 采样 | 占比 | 调用方 |
|---:|---:|---|
| 25 | 0.06% | `CoreCommand.arx!`anonymous namespace'::QueryPipeSysStyle` |
| 2 | 0.00% | `CoreCommand.arx!CoreTools::getCurrentPipeSysTblName` |
### sqlite3_x64.dll
| 采样 | 占比 | 调用方 |
|---:|---:|---|
| 23 | 0.05% | `CoreCommand.arx!`anonymous namespace'::QueryPipeSysStyle` |
| 2 | 0.00% | `CoreCommand.arx!CoreTools::getCurrentPipeSysTblName` |
## 时间线(每秒采样数 + 主导模块)
```
t= 0s 226 ##### ntoskrnl:58 win32kbase.sys:43 win32kfull.sys:30
t= 1s 70 # ntoskrnl:20 win32kbase.sys:11 ntdll:5
t= 2s 34 ntoskrnl:8 win32kfull.sys:7 win32kbase.sys:5
t= 3s 65 # ntoskrnl:17 win32kbase.sys:10 user32:6
t= 5s 32 ntoskrnl:16 win32kbase.sys:6 ntdll:4
t= 8s 21 ntoskrnl:4 gdi32full:3 win32kbase.sys:3
t= 12s 40 # ntoskrnl:9 win32kbase.sys:7 win32kfull.sys:5
t= 15s 53 # ntoskrnl:16 win32kbase.sys:8 win32kfull.sys:6
t= 16s 81 ## ntoskrnl:25 win32kfull.sys:14 win32kbase.sys:13
t= 17s 79 # ntoskrnl:22 win32kbase.sys:14 nvd3dumx:10
t= 18s 49 # ntoskrnl:9 win32kbase.sys:5 nvd3dumx:5
t= 22s 123 ### ntoskrnl:34 win32kfull.sys:16 win32kbase.sys:13
t= 23s 349 ######## ntoskrnl:104 win32kfull.sys:56 win32kbase.sys:49
t= 24s 48 # ntoskrnl:10 win32kfull.sys:9 win32kbase.sys:7
t= 32s 332 ######## ntoskrnl:88 win32kbase.sys:43 win32kfull.sys:30
t= 33s 224 ##### ntoskrnl:42 clr:22 user32:17
t= 34s 718 ################# ntoskrnl:237 clr:63 ntdll:51
t= 35s 247 ###### ntoskrnl:78 win32kbase.sys:33 win32kfull.sys:27
t= 36s 241 ###### ntoskrnl:83 win32kbase.sys:34 ntdll:23
t= 37s 138 ### ntoskrnl:64 win32kbase.sys:16 win32kfull.sys:13
t= 38s 99 ## ntoskrnl:37 win32kfull.sys:8 win32kbase.sys:8
t= 39s 140 ### ntoskrnl:49 win32kbase.sys:19 win32kfull.sys:16
t= 40s 188 #### ntoskrnl:50 win32kfull.sys:25 win32kbase.sys:15
t= 41s 753 ################## ASMBASE219A:170 ASMKERN219A:156 acdb19:91
t= 42s 669 ################ ntoskrnl:150 ASMKERN219A:117 ASMBASE219A:104
t= 43s 763 ################### ASMKERN219A:211 ASMBASE219A:159 ntoskrnl:79
t= 44s 757 ################## ASMKERN219A:183 ASMBASE219A:139 ntoskrnl:106
t= 45s 628 ############### ASMKERN219A:151 ntoskrnl:102 ASMBASE219A:101
t= 46s 456 ########### ntoskrnl:97 ASMBASE219A:92 ASMKERN219A:71
t= 47s 576 ############## ntoskrnl:172 ASMKERN219A:79 ASMBASE219A:74
t= 48s 654 ################ ASMKERN219A:200 ASMBASE219A:139 ntoskrnl:66
t= 49s 582 ############## ASMKERN219A:165 ASMBASE219A:114 ntoskrnl:64
t= 50s 496 ############ ASMKERN219A:141 ASMBASE219A:102 msvcr100:67
t= 51s 786 ################### ASMKERN219A:260 ASMBASE219A:203 msvcr100:85
t= 52s 453 ########### ASMKERN219A:121 ASMBASE219A:98 ntoskrnl:54
t= 53s 589 ############## ASMKERN219A:155 ASMBASE219A:145 ntoskrnl:71
t= 54s 531 ############# ntoskrnl:140 ASMKERN219A:90 ASMBASE219A:76
t= 55s 625 ############### ntoskrnl:176 ASMKERN219A:96 ASMBASE219A:77
t= 56s 478 ########### ntoskrnl:130 ASMBASE219A:79 ASMKERN219A:67
t= 57s 552 ############# ntoskrnl:136 ASMBASE219A:82 ASMKERN219A:77
t= 58s 877 ##################### ASMKERN219A:315 ASMBASE219A:232 msvcr100:107
t= 59s 613 ############### ASMKERN219A:171 ASMBASE219A:156 msvcr100:60
t= 60s 297 ####### ntoskrnl:65 ASMBASE219A:54 ASMKERN219A:44
t= 61s 295 ####### ntoskrnl:69 ASMKERN219A:54 ASMBASE219A:35
t= 62s 517 ############ ntoskrnl:112 ASMKERN219A:89 ASMBASE219A:74
t= 63s 545 ############# ntoskrnl:125 ASMKERN219A:99 ASMBASE219A:74
t= 64s 500 ############ ASMKERN219A:147 ASMBASE219A:121 ntoskrnl:46
t= 65s 493 ############ ASMBASE219A:142 ASMKERN219A:118 ntoskrnl:66
t= 66s 482 ############ ASMKERN219A:124 ASMBASE219A:111 ntoskrnl:65
t= 67s 484 ############ ASMBASE219A:132 ASMKERN219A:112 ntoskrnl:62
t= 68s 509 ############ ASMBASE219A:137 ASMKERN219A:120 ntoskrnl:70
t= 69s 490 ############ ASMKERN219A:122 ASMBASE219A:120 ntoskrnl:63
t= 70s 497 ############ ASMKERN219A:184 ASMBASE219A:90 ntoskrnl:59
t= 71s 665 ################ ASMKERN219A:316 ASMBASE219A:118 msvcr100:59
t= 72s 646 ################ ASMKERN219A:304 ASMBASE219A:97 msvcr100:67
t= 73s 506 ############ ASMKERN219A:195 ASMBASE219A:95 ntoskrnl:56
t= 74s 298 ####### ntoskrnl:76 ASMBASE219A:51 ASMKERN219A:43
t= 75s 299 ####### ntoskrnl:62 ASMBASE219A:48 ASMKERN219A:39
t= 76s 299 ####### ntoskrnl:74 ASMBASE219A:55 ASMKERN219A:43
t= 77s 286 ####### ntoskrnl:72 ASMBASE219A:43 ASMKERN219A:35
t= 78s 416 ########## ASMKERN219A:97 ASMBASE219A:87 ntoskrnl:68
t= 79s 555 ############# ASMKERN219A:139 ASMBASE219A:115 ntoskrnl:73
t= 80s 714 ################# ASMKERN219A:212 ASMBASE219A:151 ntoskrnl:76
t= 81s 685 ################# ASMKERN219A:227 ASMBASE219A:134 ntoskrnl:62
t= 82s 701 ################# ASMKERN219A:398 ASMBASE219A:117 msvcr100:65
t= 83s 320 ######## ntoskrnl:66 ASMKERN219A:63 ASMBASE219A:51
t= 84s 283 ####### ntoskrnl:75 ASMBASE219A:42 ASMKERN219A:36
t= 85s 284 ####### ntoskrnl:81 ASMBASE219A:43 ASMKERN219A:31
t= 86s 331 ######## ntoskrnl:77 ASMBASE219A:67 ASMKERN219A:49
t= 87s 328 ######## ntoskrnl:70 ASMBASE219A:51 ASMKERN219A:48
t= 88s 603 ############### ASMKERN219A:236 ASMBASE219A:93 ntoskrnl:69
t= 89s 695 ################# ASMKERN219A:365 ASMBASE219A:103 msvcr100:60
t= 90s 513 ############ ASMKERN219A:139 ASMBASE219A:96 ntoskrnl:61
t= 91s 632 ############### ASMKERN219A:132 ASMBASE219A:112 ntoskrnl:98
t= 92s 342 ######## ntoskrnl:76 ASMBASE219A:54 ASMKERN219A:49
t= 93s 298 ####### ntoskrnl:76 ASMBASE219A:47 ASMKERN219A:46
t= 94s 278 ###### ntoskrnl:66 ASMBASE219A:61 ASMKERN219A:32
t= 95s 293 ####### ntoskrnl:73 ASMBASE219A:48 ASMKERN219A:37
t= 96s 725 ################## ASMKERN219A:185 ASMBASE219A:171 msvcr100:70
t= 97s 850 ##################### ASMKERN219A:255 ASMBASE219A:187 msvcr100:84
t= 98s 935 ####################### ASMKERN219A:295 ASMBASE219A:256 msvcr100:96
t= 99s 842 ##################### ASMKERN219A:224 ASMBASE219A:189 msvcr100:62
t= 100s 847 ##################### ASMKERN219A:238 ASMBASE219A:220 msvcr100:91
t= 101s 858 ##################### ASMKERN219A:237 ASMBASE219A:191 msvcr100:97
t= 102s 866 ##################### ASMKERN219A:239 ASMBASE219A:188 msvcr100:92
t= 103s 901 ###################### ASMKERN219A:208 ASMBASE219A:183 msvcr100:90
t= 104s 482 ############ ntoskrnl:155 AecRxBase.arx:64 ntdll:54
t= 105s 429 ########## ntoskrnl:129 ntdll:57 acdb19:51
t= 106s 514 ############ ntoskrnl:137 AecRxBase.arx:80 ntdll:67
t= 107s 544 ############# ntoskrnl:158 ntdll:101 AecRxBase.arx:66
t= 108s 323 ######## ntoskrnl:81 ntdll:46 AecRxBase.arx:38
t= 109s 920 ####################### accore:170 dswhip:119 acdb19:108
t= 110s 245 ###### ntoskrnl:55 clr:34 win32kbase.sys:26
t= 112s 463 ########### dswhip:100 ntoskrnl:81 accore:39
t= 113s 163 #### user32:31 ntoskrnl:27 mfc100u:24
t= 114s 118 ## ntoskrnl:29 user32:16 mfc100u:10
```