GigaMatt / os-context-swapping

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CS 4375 - Operating Systems

Lab 1: Context Swapping

Author: Matthew S Montoya
Due: February 14, 2020

Objective

The objective for this project is to measure the cost (i.e., time) it takes for the OS to perform context swapping, exploring this process by running experiments, and concluding with a report detailing our findings.

Directory Structure

The directory structure used herein to manage documents and files is as follows:

At the top level, files describing the project meant for users to read: README.md. The only other files that would be expected here is a .gitignore file, listing files and/or folders which Git should ignore and a .git file, containing git metadata. There are two subdirectories of this structure: /src and /doc.

All code related to this project is located in the /src subdirectory.

All documentation related to this project is located in the /doc subdirectory.

How To Compile & Run

  1. Using a Linux VM, navigate to the /src subdirectory via the terminal
  2. Enter the following command to compile the program
    sudo make
  3. Enter the following command to execute the program
    ./contextswap.o

Dependancies

  1. A Linux-based virtual machine OR
  2. A Linux-based machine (Note: This should be reserved for advanced users)

Warnings

  • Although the dependencies call for the use of a virual machine, you may use a local Linux OS to compile & execute this code. This should be reserved for advanced users

About


Languages

Language:C 91.5%Language:Makefile 8.5%