/* Auto-generated, do not edit */ #include #include #include #include #include #include #include #include #include #define min(a,b) ((a)<(b)?(a):(b)) #define max(a,b) ((a)>(b)?(a):(b)) static PFNGLXGETPROCADDRESSPROC lib_glXGetProcAddressARB; // dump time for each function call static const int trace_perfunc = 0; // dump the total time per function static const int trace_summary = 1; // dump the shader programs static const int trace_shaders = 0; // trace vertex array performance static const int trace_arrays = 0; static uint64_t gettime64() { struct timeval tv; gettimeofday(&tv, NULL); return ((uint64_t)tv.tv_sec * 1000000ULL + (uint64_t)tv.tv_usec); } static void vertex_array_add(int num_elements, uint64_t time);