I was thinking about any method where we can use RAM I/O speed, to calculate time, let's say for example: RAM transfer rate is 1000 MB/s, so when it's half full (about 500 M Bytes written), by dividing 500 by 1000 we get the time which is epoch + 0.5 seconds so all in all we have three routines:
- one for writing data (zeros for example) into RAM
- another one for checking when a specific size is full
- and the third for calculating time
Note: Sorry if it sounds stupid, because this is not my study field,