Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 339 Bytes

File metadata and controls

9 lines (8 loc) · 339 Bytes

ProcessFork

  • About: This program determines the amount of time necessary to run a command by forking a child process and measuring the time it takes to return to the parent process
  • Compile: $ g++ time.cpp
  • Execute: $ ./a.out ( example:$ ./a.out whoami )