User CPU time

System CPU time

virtual memory

Each program uses a chunk of memory, which are defined using a set of addresses. Each of these addresses is infact virtual and can be mapped to an address/location on the real memory or swap pages which are written to disk. page tables are used to translate virtual address used by the running application into real addresses used by the OS

advantages of virtual memory

disadvantages of virtual memory

GPU