When you use nvprof with --print-gpu-trace and with --csv options you get a nice table with timestamps and values for some metrics:
"Start","Duration","Grid X","Grid Y","Grid Z","Block X","Block Y","Block Z","Registers Per Thread","Static SMem","Dynamic SMem","Size","Throughput","SrcMemType","DstMemType","Device","Context","Stream","Name"
s,ms,,,,,,,,KB,KB,MB,GB/s,,,,,,
0.298472,0.001952,,,,,,,,,,0.001953,0.977125,"Pinned","Device","Tesla M60 (0)","1","7","[CUDA memcpy HtoD]"
0.298653,0.001408,,,,,,,,,,0.001953,1.354651,"Pinned","Device","Tesla M60 (0)","1","7","[CUDA memcpy HtoD]"
This format is very convenient for plotting timelines and analyzing application behavior.
However, it only has a number of memory-related metrics. If you need other metrics and try to add --metrics option, nvprof output format changes: it no longer includes timestamps.
How is it possible to get timestamps with other metrics?