Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)

Export data from timeline

CHEEHOO_K_Intel
5,157 次查看

I need the data (Memory bandwidth, CPU analysis, etc.) in time series exported into a readable format such as .csv file.

How can I do that?

0 项奖励
1 解答
Dmitry_R_Intel1
4,784 次查看

It is possible to get timeline data in command line using 'time' report. To do that you first need to enable this report by defining following environment variable:

AMPLXE_EXPERIMENTAL=time-cl

Then query data you need. E.g. the following command will give you cpu utilization:

vtune -r <vtune_result_dir> -R time -r-k column_by=CPUTime -format=csv -csv-delimiter=semicolon

 

You can open the time report file located here: <vtune_install_dir>/config/report/experimental.time-cl/time.tmpl and it look for comments at the beginning with more command line examples how to get various kind of timeline data through it, including DRAM bandwidth.

在原帖中查看解决方案

0 项奖励
9 回复数
ArunJ_Intel
主持人
5,157 次查看

Hi KOK, CHEE HOO,

 

Thanks for reaching out to us. If your requirement is to convert the collected vtune report to a readable form like csv please use  -report-output flag of vtune. Pleas find below an example below which converts a hotspot report to csv format.

 

vtune -R hotspots  -r r002hs -report-output MyReport.csv -format csv -csv-delimiter tab

 

Thanks 

Arun Jose

 

0 项奖励
xinyingw
初学者
4,984 次查看

Dear KOK, CHEE HOO,

I also need to export timeline data from Vtune just as this psot( community.intel.com/t5/Analyzers/Export-data-from-timeline/m-p/1170493#M18131).  For example, the CPU usage at time 0s, 1s, 2s, 3s..., could you help me please?

0 项奖励
CHEEHOO_K_Intel
5,157 次查看

Hi, thanks for reply.

I know there is a report option in the CLI, but the reports cannot give me the data I need.

I need the time-series data used to plot the timeline pane.

For example, the cpu utilization at time 0s, 1s, 2s, 3s...

Is it possible?

 

0 项奖励
xinyingw
初学者
4,980 次查看

Hi, 

Did you get the timeline data from Vtune? Could you kindly share the command? I also need to analyze my cpu usage. Thank you in advance

0 项奖励
ArunJ_Intel
主持人
5,157 次查看

Hey ,

 

We are forwarding your case to the concerned team. They will get back to you soon.

 

Arun Jose

0 项奖励
CHEEHOO_K_Intel
5,157 次查看

Jose, Arun (Intel) wrote:

Hey ,

 

We are forwarding your case to the concerned team. They will get back to you soon.

 

Arun Jose

Thank you very much, appreciate that!

 

0 项奖励
James_T_Intel
主持人
4,797 次查看

I apologize for the delayed response. I have entered this as a feature request for VTune.


0 项奖励
Dmitry_R_Intel1
4,785 次查看

It is possible to get timeline data in command line using 'time' report. To do that you first need to enable this report by defining following environment variable:

AMPLXE_EXPERIMENTAL=time-cl

Then query data you need. E.g. the following command will give you cpu utilization:

vtune -r <vtune_result_dir> -R time -r-k column_by=CPUTime -format=csv -csv-delimiter=semicolon

 

You can open the time report file located here: <vtune_install_dir>/config/report/experimental.time-cl/time.tmpl and it look for comments at the beginning with more command line examples how to get various kind of timeline data through it, including DRAM bandwidth.

0 项奖励
James_T_Intel
主持人
4,342 次查看

This is in our tracking system as a feature request. Additionally, a workaround has been provided. I am closing this case for Intel support. All future replies on this thread will be considered community only.


0 项奖励
回复