I want to get csv file about the result of profilling

I want to get the profile result such as duration, shared memory/block in csv file.
Also, metrics from Nsight Compute.

What am I supposed to do?

I am sorry that there was no response to this earlier, your forum post was dropped in an orphaned category that the Nsys team was unaware of until this afternoon.

You can use the “nsys stats” commands to export data into csv format. See Nsight Systems User Guide :: Nsight Systems Documentation for details.

You can also export analytics from Nsight Compute, see
Nsight Compute :: Nsight Compute Documentation for details.