Article 537FY can an application get its own CPU usage?

can an application get its own CPU usage?

by
bkelly
from LinuxQuestions.org on (#537FY)
Centos, C++
I have an application that is CPU intensive. It receives incoming telemetry data and creates a frequency spectrum, Discrete Fourier Transform. The user needs control over various aspects but unwise settings may deprive other applications of CPU time resulting in system wide problems.

Is there a way for that process to determine its own CPU usage so as to inform the user?latest?d=yIl2AUoC8zA latest?i=8AQwyekOp2Q:6S98UPsKbJw:F7zBnMy latest?i=8AQwyekOp2Q:6S98UPsKbJw:V_sGLiP latest?d=qj6IDK7rITs latest?i=8AQwyekOp2Q:6S98UPsKbJw:gIN9vFw8AQwyekOp2Q
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments