Add info stats module
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
__pycache__/
|
||||||
@@ -57,6 +57,7 @@ static void stats_module(){
|
|||||||
exit(-1);
|
exit(-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
printf("Retrieving random values...\n");
|
||||||
for (size_t i = 0; i < 100; i++){
|
for (size_t i = 0; i < 100; i++){
|
||||||
status = send_uart(&s_prng);
|
status = send_uart(&s_prng);
|
||||||
//printf("%d %d %llu %llu\n", s_prng->p, s_prng->q, s_prng->seed, s_prng->output);
|
//printf("%d %d %llu %llu\n", s_prng->p, s_prng->q, s_prng->seed, s_prng->output);
|
||||||
@@ -66,6 +67,7 @@ static void stats_module(){
|
|||||||
write(fd, str, strlen(str));
|
write(fd, str, strlen(str));
|
||||||
write(fd, "\n", 1);
|
write(fd, "\n", 1);
|
||||||
}
|
}
|
||||||
|
printf("finish to get random values\n");
|
||||||
close(fd);
|
close(fd);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user