mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 14:30:57 +00:00
435a566751
* sumatrapdf - vendor import * everything compiles (libjpeg, poppler, fitz, sumatrapdf) * does NOT link (remove the comment tags in the parent directory.rbuild file (rosapps dir) to build it) svn path=/trunk/; revision=29295
44 lines
727 B
C++
44 lines
727 B
C++
//========================================================================
|
|
//
|
|
// GooList.h
|
|
//
|
|
// Copyright 2001-2003 Glyph & Cog, LLC
|
|
//
|
|
//========================================================================
|
|
|
|
#ifdef HAVE_GETTIMEOFDAY
|
|
|
|
#ifndef GOOTIMER_H
|
|
#define GOOTIMER_H
|
|
|
|
#ifdef USE_GCC_PRAGMAS
|
|
#pragma interface
|
|
#endif
|
|
|
|
#include "gtypes.h"
|
|
#include <sys/time.h>
|
|
|
|
//------------------------------------------------------------------------
|
|
// GooList
|
|
//------------------------------------------------------------------------
|
|
|
|
class GooTimer {
|
|
public:
|
|
|
|
// Create a new timer.
|
|
GooTimer();
|
|
|
|
void stop ();
|
|
double getElapsed();
|
|
|
|
|
|
private:
|
|
|
|
struct timeval start;
|
|
struct timeval end;
|
|
GBool active;
|
|
};
|
|
|
|
#endif
|
|
|
|
#endif
|