Advertisement
Guest User

Untitled

a guest
Dec 12th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. All test cases:
  2. Memory space is 2GB
  3. MAX_ORDER = 10
  4.  
  5. * Test3:
  6. Initially all memory is free
  7. Require 10.000 pages.
  8.  
  9. -> Initial FreeList time: 1759550.000000000 uSec.
  10. -> Allocation time: 153.000000000 uSec.
  11. -> De-allocation time: 14.000000000 uSec.
  12.  
  13.  
  14. * Test4:
  15. Initially all memory is free
  16. Require 100 pages.
  17.  
  18. -> Initial FreeList time: 1089914.000000000 uSec.
  19. -> Allocation time: 53.000000000 uSec.
  20. -> De-allocation time: 11.000000000 uSec.
  21.  
  22.  
  23.  
  24. * Test5:
  25. Initially all memory is fragmented
  26. Require 10.000 pages.
  27.  
  28. -> Initial FreeList time: 1283535.000000000 uSec.
  29. -> Allocation time: 1119.000000000 uSec.
  30. -> De-allocation time: 0.000000000 uSec.
  31.  
  32.  
  33.  
  34. * Test6:
  35. Initially all memory is fragmented
  36. Require 100 pages.
  37.  
  38. -> Initial FreeList time: 1165813.000000000 uSec.
  39. -> Allocation time: 2283.000000000 uSec.
  40. -> De-allocation time: 0.000000000 uSec.
  41.  
  42.  
  43.  
  44. * Test7:
  45. Initially all memory is (randomly) fragmented
  46. Require 10.000 pages.
  47.  
  48. -> Initial FreeList time: 992537.000000000 uSec.
  49. -> Allocation time: 543.000000000 uSec.
  50. -> De-allocation time: 17.000000000 uSec.
  51.  
  52.  
  53.  
  54. * Test8:
  55. Initially all memory is (randomly) fragmented
  56. Require 100 pages.
  57.  
  58. -> Initial FreeList time: 991545.000000000 uSec.
  59. -> Allocation time: 317.000000000 uSec.
  60. -> De-allocation time: 12.000000000 uSec.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement