1 //========================================================================
5 // This file is licensed under GPLv2 or later
7 // Copyright 2005 Jonathan Blandford <jrb@redhat.com>
8 // Copyright 2007 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
9 // Copyright 2010 Hib Eris <hib@hiberis.nl>
10 // Copyright 2011 Albert Astals cid <aacid@kde.org>
11 // Copyright 2014 Bogdan Cristea <cristeab@gmail.com>
12 // Copyright 2014 Peter Breitenlohner <peb@mppmu.mpg.de>
13 // Inspired by gtimer.c in glib, which is Copyright 2000 by the GLib Team
15 //========================================================================
20 #ifdef USE_GCC_PRAGMAS
24 #include "poppler-config.h"
26 #ifdef HAVE_GETTIMEOFDAY
37 //------------------------------------------------------------------------
39 //------------------------------------------------------------------------
44 // Create a new timer.
52 #ifdef HAVE_GETTIMEOFDAY
53 struct timeval start_time
;
54 struct timeval end_time
;
56 LARGE_INTEGER start_time
;
57 LARGE_INTEGER end_time
;