- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using VTune command line interface.
When i use following command
vtl activity -c sampling -o "-ec en='BUS_TRANS_ANY.ALL_AGENTS'"
it says activity created successfully, however when i try "view" for the activity it says "no activity result was found". When I try "show all" it shows the activity names in the list.
Can you please tell me if I am missing some step. Why is no result associated with the activity i created?
When i use following command
vtl activity -c sampling -o "-ec en='BUS_TRANS_ANY.ALL_AGENTS'"
it says activity created successfully, however when i try "view" for the activity it says "no activity result was found". When I try "show all" it shows the activity names in the list.
Can you please tell me if I am missing some step. Why is no result associated with the activity i created?
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi:
The command line you executed only instructs the analyzer to create the activity. In order to execute the activity, or collect the data, you must include the run parameter, as in:
Also, in the display of the 'vtl show' command, once results have been collected, you will see them listed under the activity. Right now, all that is being displayed is the activity. Here is an example with results:
The command line you executed only instructs the analyzer to create the activity. In order to execute the activity, or collect the data, you must include the run parameter, as in:
C:\> vtl activity -c sampling -o "-ec en='BUS_TRANS_ANY.ALL_AGENTS'" run
Also, in the display of the 'vtl show' command, once results have been collected, you will see them listed under the activity. Right now, all that is being displayed is the activity. Here is an example with results:
C:\>vtl show
Intel VTune Performance Analyzer 9.1 build 385
Copyright (C) 2000-2009 Intel Corporation. All rights reserved.
a1__example
r1___Mon Jul 06 11:39:35 2009 - Sampling Results [system-name]
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi:
The command line you executed only instructs the analyzer to create the activity. In order to execute the activity, or collect the data, you must include the run parameter, as in:
Also, in the display of the 'vtl show' command, once results have been collected, you will see them listed under the activity. Right now, all that is being displayed is the activity. Here is an example with results:
The command line you executed only instructs the analyzer to create the activity. In order to execute the activity, or collect the data, you must include the run parameter, as in:
C:\> vtl activity -c sampling -o "-ec en='BUS_TRANS_ANY.ALL_AGENTS'" run
Also, in the display of the 'vtl show' command, once results have been collected, you will see them listed under the activity. Right now, all that is being displayed is the activity. Here is an example with results:
C:\>vtl show
Intel VTune Performance Analyzer 9.1 build 385
Copyright (C) 2000-2009 Intel Corporation. All rights reserved.
a1__example
r1___Mon Jul 06 11:39:35 2009 - Sampling Results [system-name]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot for your reply. I am interested in finding the overall utilization of system Bus. I have the results for BUS_TRANS_ANY.ALL_AGENTS and CPU_CLK_UNHALTED.BUSwith me. These consist of multiple values per module running on the system.
Wouldaddition of the results per modulegive me correct "systemwide" values for BUS_TRANS_ANY.ALL_AGENTS andCPU_CLK_UNHALTED.BUS?
Is there any way to directly get system wide values for various events instead of per module?
Wouldaddition of the results per modulegive me correct "systemwide" values for BUS_TRANS_ANY.ALL_AGENTS andCPU_CLK_UNHALTED.BUS?
Is there any way to directly get system wide values for various events instead of per module?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
All events are collected system-wide! You can display the system-wide results using the summary view:
Also, you can use the "Formatting Options" to make the output more parseable by scripts and create a CSV file that you can then import into a spreadsheet or something like that. Or, use awk and total up the values for each core.
C:\>vtl view a1::r17 -as
Intel VTune Performance Analyzer 9.1 build 385
Copyright (C) 2000-2009 Intel Corporation. All rights reserved.
Event Processor Number Package Hardware Thread Activity ID Sampl
e After Value Total Samples Duration (s) Ring 0 Ring 3 Start Time
CPU_CLK_UNHALTED.CORE 0 1 1 76 26660
00 677 3.008s 460 217 7/8/1900 11:48:51 AM
CPU_CLK_UNHALTED.CORE 1 1 1 76 26660
00 458 3.008s 282 176 7/8/1900 11:48:51 AM
CPU_CLK_UNHALTED.CORE 2 1 1 76 26660
00 348 3.008s 314 34 7/8/1900 11:48:51 AM
CPU_CLK_UNHALTED.CORE 3 1 1 76 26660
00 2482 3.008s 513 1969 7/8/1900 11:48:51 AM
INST_RETIRED.ANY 0 1 1 76 26660
00 403 3.008s 187 216 7/8/1900 11:48:51 AM
INST_RETIRED.ANY 1 1 1 76 26660
00 224 3.008s 29 195 7/8/1900 11:48:51 AM
INST_RETIRED.ANY 2 1 1 76 26660
00 57 3.008s 41 16 7/8/1900 11:48:51 AM
INST_RETIRED.ANY 3 1 1 76 26660
00 2349 3.008s 204 2145 7/8/1900 11:48:51 AM
C:\>
Also, you can use the "Formatting Options" to make the output more parseable by scripts and create a CSV file that you can then import into a spreadsheet or something like that. Or, use awk and total up the values for each core.
![](/skins/images/D2683F18326913BBA0436CB7114DD569/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page