- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you worked with VTune Performance Analyzer on Windows then probably you are regular to create projects. Project is a kind of logic unit containing a number of activities and activities results. The command
vtl show
displays the project tree of activities and activities results.
The default mode of 'vtl' is to have only one project. By default it's root path will be in $HOME/.VTune. The environment variable VTUNE_USER_DIR overwrites this default value.
(See 'Setting Environment Variables for vtl' in the manual for more info)
So here is the 'trick'. Create new projects and return back to existing projects by setting the environment variable VTUNE_USER_DIR to the appropriate paths.
-Create new project per need.
-Maintain small projects.
-Give meaningful names for your project directories.
-Add some text file inside the project directory with the description of the project.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm not in windows, but in a remote linux machine I would like to be able to create new projects without the gui vtlec (is kind of slow to remotely open the gui just to create a new project that I later select with "vtl project" and use with vtl. Does someone know a trick for that?. Thank you in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
vtl show
displays the project tree of activities and activities results.
The default mode of ?vtl? is to have only one project. By default it?s root path will be in $HOME/.VTune. The environment variable VTUNE_USER_DIR overwrites this default value.
(See ?Setting Environment Variables for vtl? in the manual for more info)
So here is the ?trick?. Create new projects and return back to existing projects by setting the environment variable VTUNE_USER_DIR to the appropriate paths.
-Create new project per need.
-Maintain small projects.
-Give meaningful names for your project directories.
-Add some text file inside the project directory with the description of the project.
Thanks, Daniel. Alternately, you can use the 'vtl project' and 'vtl query -project' commands. 'vtl project
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, Daniel. Alternately, you can use the 'vtl project' and 'vtl query -project' commands. 'vtl project
It could work on my case "vtl project c:tempvtunevtproject26.vpj run" - actually your .vpj file can be generated from VTune Analyzer's GUI or VTL command.
The key point is that only *last* activity in .vpj file will be used. That is the limitation you can't specify *any* activity in .vpj file, just last one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Zhen Yu Wang (Intel): "actually your .vpj file can be generated from VTune Analyzer's GUI or VTL command."
That's the question.... can you really generate a brand new .vpj file with the vtl command?. I know how to do that with vtlec, but not with vtl :-( (It really will help me to use the faster vtl command line approach, since the vtune installation is in a remote machine and the GUI interface is too slow to run it remotely). Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Zhen Yu Wang (Intel): "actually your .vpj file can be generated from VTune Analyzer's GUI or VTL command."
That's the question.... can you really generate a brand new .vpj file with the vtl command?. I know how to do that with vtlec, but not with vtl :-( (It really will help me to use the faster vtl command line approach, since the vtune installation is in a remote machine and the GUI interface is too slow to run it remotely). Thanks in advance.
What I have always done is
- empty the default project via 'vtl delete -a'
- copy the vtldefault.vpj file to a new filename, e.g., myproject.vpj
- use the 'vtl project' command to set it as the *active* project
The key is that you need an *empty* project file and if you just copy vtldefault.vpj and then delete all after setting the new project, it will actually delete the old results. So, it might be a good idea to save an empty project from which you can copy to create new projects, e.g., cp vtldefault.vpj empty.vpj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In linux, the problem with 'vtl delete -a' is that it erases the whole project.vpj file instead of leaving an empty file. I think this should be fixed. So, in order to empty a project I usually run an script to iteratively delete all the activities instead of doing the 'vtl delete -a'.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page