mohsinmamoon / xv6-extended Goto Github PK
View Code? Open in Web Editor NEWThis project forked from mit-pdos/xv6-public
xv6 OS
Home Page: http://pdos.csail.mit.edu/6.828/
License: Other
This project forked from mit-pdos/xv6-public
xv6 OS
Home Page: http://pdos.csail.mit.edu/6.828/
License: Other
Implementations: 1. Waitx(): -> Works exactly like wait but updates the parameters wTime and rTime whos pointers are sent as arguments. -> rTime for a process is struct proc->rtime which is updated on every tick update in the trap function. -> wTime = etime-ctime-rtime (all from struct proc). ctime is set on process creation in allocproc() and etime is set on process exit in exit() and kill() 2. Getpinfo(): -> Takes two integers as input, address to stuct proc_stat and pid. -> updates the feilds of struct proc_stat from the feilds from struct proc. -> num_run for a process is updated everytime it is allocated to a processor. 3. FCFS: -> yeild function is called only in exit() function to ensure no preemption. -> scheduler finds the process with lowest ctime and assigns it to the processor. 4. PBS: -> scheduler finds the lowest value of p->prior (highest priority). -> it loops over all processes and allotes the processor to every process with prior value equal to what it found (Like in default scheduler)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.