Giter Club home page Giter Club logo

measure's Introduction

Alert!! Read before view or use!!

This project is the project from the UCSD 2013 Fall CSE 221 OS course. So if you are taking or you are going to take CSE 221 OS in UCSD. Please DO NOT read any codes and documents here! It is a CHEAT!

Otherwise, these codes are published in GPLv2. Free to download and use :-)

By: Tao Cai ([email protected]) Xinchi Gu ([email protected])

Good luck and enjoy :-D

Usage:

benchmark:

nice python benchmark [test_prg] [argv] -n -20
bash script is also provided

tsc: tsc0.c and tsc3.c tsc0; O0 tsc3; O3

loop: run.c run: O0

function: c_function.c c_function: O0 (different # number of input)

system_call: tgetpid, tgetppid, sgetpid, sgetppid tgetpid and tgetppid call glibc; sgetpid and tgetppid call syscall directly;

fork: tfork.c tfork: create a process

kthread: thread.c

make insert: to insert a module
make remove: remove a module

tail -0f /var/log/kern.log | grep TAO to capture the output of kernel log 

proceed_data: use handle_kern_log.py to handle the kern log

context_switch: process.c tprocess: output the context_switch proceed_data: handle_process_log.py: handle the context_switch of processes

context_switch_kernel: thread.c make insert: to insert a module make remove: remove a module

tail -0f /var/log/kern.log | grep TAOI to capture the output of kernel log

proceed_data: use handle_kern_log_I.py to handle the kern log

kprint: thread.c make insert: to insert a module make remove: remove a module

tail -0f /var/log/kern.log | grep TAOK to capture the output of kernel log 

proceed_data: use handle_kern_log_K.py to handle the kern log

measure's People

Contributors

xinchi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.