<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">#!/usr/bin/perl

use Time::HiRes qw( usleep ualarm gettimeofday tv_interval);

open(RANDOM, "/dev/random");
for ($i=0;$i&lt;512; $i++) {
        $t0 = [gettimeofday];
        sysread(RANDOM, $buf, 25600);
	$elapsed= tv_interval($t0);
	printf "%d %f\n", $i, $elapsed;
}
close(RANDOM);

</pre></body></html>