Clock

329 views

Published on

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
329
On SlideShare
0
From Embeds
0
Number of Embeds
45
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Clock

  1. 1. Networking infrastructure <ul>NachOS networking packages implements a very simple Unix domain, datagram socket. Threads directory: <li>Lockcond.h
  2. 2. Lockcond.cc </li></ul>
  3. 3. <ul>Machine directory: <li>Network.h
  4. 4. Network.cc
  5. 5. Data structures to emulate a physical network connection.
  6. 6. Sysdep.h
  7. 7. Sysdep.cc </li></ul>Interprocess communication operations, for simulating the network Networking infrastructure
  8. 8. <ul>Network directory: <li>Post.h
  9. 9. Post.cc </li></ul>Networking infrastructure
  10. 10. Timer in NachOS NachOS provides an instance of a Timer to simulate a real-time clock, generating interrupts at regular intervals. It is implemented using the event driven interrupt mechanism described above, Machine.timer() returns a reference to this time.
  11. 11. <ul>Timer supports two operations: <li>getTime()
  12. 12. With this returns the number of ticks since NachOS started.
  13. 13. setInterruptHandler()
  14. 14. This sets the timer interrupt handler, which is invoked by the simulated timer approximately every Stats.TimerTicks ticks. </li></ul>

×