Could I get the time spent by each module in the deepstream-app or deepstream-parallel-inference-app runtime?

No. You can refer to the link Generate GStreamer Pipeline Graph to get the graph of the pipeline. You can find that in addition to a few plugins that printed, there are also many other plugins in the whole pipeline.