summaryrefslogtreecommitdiff
path: root/prologue.c
blob: 00f3ea36c0c1a6dd83fc67c26fe99f4ce5f537c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* Auto-generated, do not edit */

#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <dlfcn.h>
#include <sys/time.h>

#include <GL/gl.h>
#include <GL/glx.h>

static PFNGLXGETPROCADDRESSPROC lib_glXGetProcAddressARB;

uint64_t gettime64()
{
	struct timeval tv;
	gettimeofday(&tv, NULL);
	return ((uint64_t)tv.tv_sec * 1000000ULL + (uint64_t)tv.tv_usec);
}