How to count the PMU events using nsys CLI?

Hello! I am new to the nsight system.

I am trying to use the nsys CLI to count PMU events such as “L1 Data cache access” when running an application on AGX Xavier. I use the following command:

sudo nsys profile --stats true --cpu-core-events='0x13' ./TEST

But I can’t find the counting result of the event ‘0x13’ in the report. Where can I find it?

Thanks in advance.

Hi,

Have you checked it with the Nsight System UI tool on the host?
We can find some memory events with it.

$ cd /usr/local/cuda-10.2/samples/0_Simple/matrixMul
$ sudo make
$ sudo nsys profile --cpu-core-events=0x01,0x08,0x11,0x13 ./matrixMul

Thanks.

Thank you for your reply!

But I want to know the exact number of the events counting. Where can I find this information?

Thanks!

The --stats option only gives a generic set of stats to the screen, and that set does not include GPU markers.

We also have a post run option “nsys stats” that can give more options for getting data, but I do not believe that the GPU markers are being export currently. @jkreibich to confirm.

No, I don’t believe we export that data. Even if we do, I don’t believe we have an existing stats report that will display it.

Thank you for your reply!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.