1
/*------------------------------------------------------------------------------
2
* Copyright (C) 2003-2006 Ben van Klinken and the CLucene Team
4
* Distributable under the terms of either the Apache License (Version 2.0) or
5
* the GNU Lesser General Public License, as specified in the COPYING file.
6
------------------------------------------------------------------------------*/
24
startTime = lucene::util::Misc::currentTimeMillis();
28
return lucene::util::Misc::currentTimeMillis()-startTime;
33
stopTime = lucene::util::Misc::currentTimeMillis();
35
return stopTime-startTime;
39
return lucene::util::Misc::currentTimeMillis()-startTime;
41
return stopTime-startTime;
47
typedef int (*PTEST_ROUTINE)(Timer*);
48
typedef PTEST_ROUTINE LPTEST_ROUTINE;