Advertisement
Guest User

Untitled

a guest
Apr 25th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. get_type FUNCTION RN1,D3
  2. 0.15,1/0.80,2/1,3
  3.  
  4. GENERATE (exponential(1,0,(1/148.148))),,,,1
  5. ASSIGN func_types,FN$get_type
  6. QUEUE cpu1
  7. SEIZE block_cpu
  8. DEPART cpu1
  9. TRANSFER ,test_type
  10.  
  11. GENERATE (exponential(1,0,(1/230.77))),,,,2
  12. ASSIGN func_types,FN$get_type
  13. QUEUE cpu2
  14. SEIZE block_cpu
  15. DEPART cpu2
  16. TRANSFER ,test_type
  17.  
  18. GENERATE (exponential(1,0,(1/352.94))),,,,3
  19. ASSIGN func_types,FN$get_type
  20. QUEUE cpu3
  21. SEIZE block_cpu
  22. DEPART cpu3
  23. TRANSFER ,test_type
  24.  
  25. GENERATE (exponential(1,0,(1/100.43))),,,,4
  26. ASSIGN func_types,FN$get_type
  27. QUEUE cpu2
  28. SEIZE block_cpu
  29. DEPART cpu2
  30. TRANSFER ,test_type
  31.  
  32. test_type TEST L P$func_types,3,type3
  33. TEST L P$func_types,2,type2
  34.  
  35. ADVANCE (normal(1,0.00022, 0.000035))
  36. RELEASE block_cpu
  37. TERMINATE
  38.  
  39. type2 ADVANCE (normal(1,0.00074, 0.000075))
  40. RELEASE block_cpu
  41. TERMINATE
  42.  
  43. type3 ADVANCE (normal(1,0.0033,0.00045))
  44. RELEASE block_cpu
  45. TERMINATE
  46.  
  47. GENERATE 1
  48. TERMINATE 1
  49. START 300
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement