We know the pid of the powerletrics python process and also how long the ebpf code takes to execute in sum. So we can calculate the sum of time the powerletrics process was on the cpu and can show this as a % of elapsed time.
So it is possible to show the overhead which is a really nice little feature.
We know the pid of the powerletrics python process and also how long the ebpf code takes to execute in sum. So we can calculate the sum of time the powerletrics process was on the cpu and can show this as a % of elapsed time.
So it is possible to show the overhead which is a really nice little feature.