๐ช๐ถ๐ธ๐ถ๐ฝ๐ฒ๐ฑ๐ถ๐ฎ ๐๐ฎ๐๐ ๐๐ต๐ถ๐ ๐ฎ๐ฏ๐ผ๐๐ ๐๐ ๐ ๐ฏ๐๐ฟ๐๐ ๐บ๐ผ๐ฑ๐ฒ (https://en.wikipedia.org/wiki/Direct_memory_access#Burst_mode)
In burst mode, an entire block of data is transferred in one contiguous sequence. Once the DMA controller is granted access to the system bus by the CPU, it transfers all bytes of data in the data block before releasing control of the system buses back to the CPU, but renders the CPU inactive for relatively long periods of time. The mode is also called "Block Transfer Mode".
% CPU consumed = [ (Initial time + termination time)/ total time ] * 100
where, total time = Initial time + termination time = transfer time
OR in other words,
total time = bus grant time + bus release time + transfer time
% of time cpu consumed is: 2/(2+64)
that is,
% CPU consumed = cycle-time / (cycle_time + transfer_time)
๐๐ผ๐๐ฏ๐๐
1. Dont you think that two gateoverflow links give different formula?
2. CPU dont hold bus for full duration of (bus grant time + bus release time + transfer time). So should we consider this full duration as CPU consumed or just (bus grant time + bus release time)?