Performance numbers are not printed after resume in deepstream-app

Please provide complete information as applicable to your setup.

**• Hardware Platform (Jetson / GPU)**RTX3080
• DeepStream Version6.4

PERF values are printed as follows in deepstream-app.

**PERF:  8.94 (8.62)	13.53 (13.32)	
**PERF:  7.47 (8.06)	12.42 (12.81)	
**PERF:  7.52 (7.82)	12.49 (12.74)	
**PERF:  7.49 (7.76)	12.51 (12.65)	
p
** INFO: <bus_callback:293>: Pipeline paused

r
** INFO: <bus_callback:287>: Pipeline running

After pausing the app and resume the app, the PERF are not printed anymore?

Could you try to modify the source code like below,

deepstream_perf.c
static gboolean
perf_measurement_callback (gpointer data)
{
...
  if (str->stop) {
    g_mutex_unlock (&str->struct_lock);
-    return FALSE;
+    return TRUE;
  }
...

}

So return TRUE and remove FALSE?

return TRUE. If you are in a hurry, this is a relatively simple solution. After full verification, we will submit a more perfect solution for this later.

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