Nsight systems question

Please provide the following info (check/uncheck the boxes after creating this topic):
Software Version
DRIVE OS Linux 5.2.6
DRIVE OS Linux 5.2.0
[y] DRIVE OS Linux 5.2.0 and DriveWorks 3.5
NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version
other

Target Operating System
[y] Linux
QNX
other

Hardware Platform
[y] NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)
other

SDK Manager Version
[y] 1.6.0.8170
other

Host Machine Version
[y] native Ubuntu 18.04
other

I have two threads, in first thread I set a seelp(1), in second, there is no sleep.
I can get expected prints in terminal. But when I run it by Nsight systems ssh, the two thread are sync and I cannot find sleep track in the first thread.

Dear @wang_chen2,
Do you mean you don’t see sleep call in first thread trace?

Could you share simple snippet to reproduce the issue?

Hi,
Sorry, the net from my company is not share code to you.
my test:
create two thread to read 2000 images by for{} and do some procecc.
in first thread, go to sleep 1s before read image.

Dear @wang_chen2,
It would be great if you can create a dummy example to reproduce your issue our machine with nsys. It is difficult to provide any insights on the behavior of your application.