FCFS pu scheduler java program

how to get total waiting time and ave waiting time

Page 1 of 1

1 Replies - 619 Views - Last Post: 09 March 2010 - 09:31 AM Rate Topic: -----

#1 axhinhix_ikkin  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 09-March 10

FCFS pu scheduler java program

Posted 09 March 2010 - 08:50 AM

hello guys! could you pls help me bcause im having a problem on calculating the total waiting time and average waiting time of a FCFS cpu scheduler?i mean that source code.i really need it so pls help me :cry2: .thanks anyway!
Is This A Good Question/Topic? 0
  • +

Replies To: FCFS pu scheduler java program

#2 macosxnerd101  Icon User is online

  • Games, Graphs, and Auctions
  • member icon

Reputation: 11951
  • View blog
  • Posts: 44,717
  • Joined: 27-December 08

Re: FCFS pu scheduler java program

Posted 09 March 2010 - 09:31 AM

You can use Threads to do the scheduling for you, and System.currentTimeMillis() to help you in calculation of the elapsed time. However, we will not do your homework for you.

Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Please post like this:

Thank you for helping us helping you.

Edit: Here is the link to the duplicate topic in case a team member wants to merge the topics: http://www.dreaminco...topic160836.htm

This post has been edited by macosxnerd101: 09 March 2010 - 09:33 AM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1