Skip to content

Latest commit

 

History

History

linux-ps-profiling

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

ps profiler

A simple Linux example, that runs an ELF binary and measures its CPU usage using ps.

As an example ELF binary, a simple C program is used that repeatedly checks if random numbers are prime or not.

Requirements

Install the requirements to run:

sudo apt install cpulimit gcc
pip install -r requirements.txt

Running

From the root directory of the repo, run the following command:

python experiment-runner/ examples/linux-ps-profiling/RunnerConfig.py

Results

The results are generated in the examples/linux-ps-profiling/experiments folder.