How to monitor CPU and GPU frequency and utilization?

@Electr1 Got it, thank you for explanations.
May be this is the question for the separated topic, but I’m trying to increase knns-yolov7 demo’s fps and because of that I decided to check, which one unit is used for computations: CPU or GPU. And everything says that CPU is used. Is there some ways to involve GPU in this? Cause I have only 5 fps, it’s not very high.

@Ivan_Zhukov the extra time is incurred because of post-processing needed to be done on the outputs of YOLO,

you can see it was discussed in another topic:

@Electr1 Thank you!
Topic creator in provided topic says that his inference with yolov8n takes about 0.06 sec and leftovers about 0.25 sec, but I have the opposite situation: my inference time with VIM3 and yolov7 takes about 0.2 sec, and leftovers take about 0.05 sec. What do you think, is it ok for this VIM/yolo configuration?

Hello
I’m the Author of the topic
Are you sure that you measuring time correctly?
Also, do you use the exact code from ksnn repo or you’ve modified it?

Hello, I think yes, I print time before and after calls and calculate difference (as it organized in repo). I didn’t modify code except time tracing.