3 ms·
As mentioned before, a circular buffer with the last items moved to main memory could work (and was apparently already done on several CPUs). You have basically
by kaba0 4y ago
As mentioned before, a circular buffer with the last items moved to main memory could work (and was apparently already done on several CPUs). You have basically n registers, if it gets full you just override the last (which could have already been saved to ram out of order). Repeated popping can reintroduce these back.