Wydanie R2020.05.1
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
// Jan Potocki 2020
|
||||
|
||||
unsigned long long timestamp();
|
||||
|
||||
|
||||
int main()
|
||||
{
|
||||
unsigned long long tstamp1, tstamp2;
|
||||
|
||||
tstamp1 = timestamp();
|
||||
sleep(1);
|
||||
tstamp2 = timestamp();
|
||||
|
||||
printf("Cycles: %llu\n", tstamp2 - tstamp1);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user