mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 07:14:17 +01:00
a9d325a6d0
git-svn-id: file:///svn/toku/tokudb@27486 c7de825b-a66e-492c-adef-691d508d4ae1
18 lines
328 B
C
18 lines
328 B
C
#include <stdio.h>
|
|
#include <sys/types.h>
|
|
#include <toku_assert.h>
|
|
#include <unistd.h>
|
|
#include <toku_time.h>
|
|
|
|
int main(void) {
|
|
int r;
|
|
struct timespec ts;
|
|
|
|
r = clock_gettime(CLOCK_REALTIME, &ts);
|
|
assert(r == 0);
|
|
sleep(10);
|
|
r = clock_gettime(CLOCK_REALTIME, &ts);
|
|
assert(r == 0);
|
|
|
|
return 0;
|
|
}
|