Skip to content

AlBurns-MSFT/TimeMeasure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Measuring time to fork and execute a process using C

Compile Application.c by the following: gcc -o application application.c -lrt

Compile Timer.c by the following: gcc -o timer timer.c -lrt

Compiled with gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04)

SIZE macro in application.c is currently set to 20000. On my system, CPU: Intel i5-4670k, 8 GB ram, it takes ~ 5 seconds to run ./timer. If necessary, adjust this macro to increase or decrease run time.

About

Measures time to fork and exec in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages