- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to identify some slow spots in my code. I am trying to get VTune working but keep running into problems. I am trying the matrix multiplication sample until I can do something more useful. I have tried running as admin without success.
Running on Version Windows 11 10.0.26100 Build 26100
With the GUI, the program jsut seems to hang. With CLI, I am getting:
```
vtune -collect hotspots -- matrix.exe
vtune: Collection started. To stop the collection, either press CTRL-C or enter from another console window: vtune -r C:\Users\jer-admin\Documents\VTune\Samples\matrix\r000hs -command stop.
vtune: Error: [Instrumentation Engine]: [tid:52700] SYSCALL_INSPECTOR: NTDLL module is rebased C:\tmp_proj\pinjen\workspace\pypl-pin-nightly\GitPin\Source\pin\base_w\ipc_server_windows.cpp: LEVEL_BASE::StartServer: 1283: assertion failed: res == TRUE
vtune: Collection failed.
vtune: Internal Error
```
The self-checker never seems to complete. It just hangs here:
```
"C:\Program Files (x86)\intel\oneAPI\vtune\latest\bin64\vtune-self-checker.bat"
Intel(R) VTune(TM) Profiler Self Check Utility
Copyright (C) 2009 Intel Corporation. All rights reserved.
Build Number: 625246
HW event-based analysis (counting mode) (Intel driver)
Example of analysis types: Performance Snapshot
Collection: Ok
Finalization: Ok...
Report: Ok
Instrumentation based analysis check...
```
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
From the log, instrumentation failed, you can try the latest VTune release or use hardware event-based sampling mode instead:
vtune -collect hotspots -knob sampling-mode=hw -- your application
vtune: Error: [Instrumentation Engine]: [tid:52700] SYSCALL_INSPECTOR: NTDLL module is rebased C:\tmp_proj\pinjen\workspace\pypl-pin-nightly\GitPin\Source\pin\base_w\ipc_server_windows.cpp: LEVEL_BASE::StartServer: 1283: assertion failed: res == TRUE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I got it working with hardware event-based sampling, but the call stack is just memory addresses which is useless...is there a way to use this tool and get useful profiling information?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
First, you need to add some options in your command line, and the application should be a debug version.
$ vtune -collect hotspots -knob sampling-mode=hw -knob enable-stack-collection=true -- your application
Second, specify the binary and source directories:

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page