summaryrefslogtreecommitdiffstats
path: root/reladminif/oidif.hh
diff options
context:
space:
mode:
authorConstantin <jucovschi@gmail.com>2010-04-28 10:30:32 +0200
committerConstantin <jucovschi@gmail.com>2010-04-28 10:57:31 +0200
commit7cd411b422750abf4eed04be43c43f310f55074f (patch)
treece475c4ea092bbe68c1bce7020101adba632d384 /reladminif/oidif.hh
parentae19f9b07d8d24b865bd0f1d886fc920cc9f37b1 (diff)
downloadrasdaman-upstream-7cd411b422750abf4eed04be43c43f310f55074f.tar.gz
rasdaman-upstream-7cd411b422750abf4eed04be43c43f310f55074f.tar.xz
rasdaman-upstream-7cd411b422750abf4eed04be43c43f310f55074f.zip
added --enable-benchmark option to configure adapted code so that it compiles
Diffstat (limited to 'reladminif/oidif.hh')
-rw-r--r--reladminif/oidif.hh5
1 files changed, 4 insertions, 1 deletions
diff --git a/reladminif/oidif.hh b/reladminif/oidif.hh
index 33ce760..7444ec9 100644
--- a/reladminif/oidif.hh
+++ b/reladminif/oidif.hh
@@ -184,6 +184,10 @@ class OId
bool operator>= (const OId& old) const;
+ #ifdef RMANBENCHMARK
+ static RMTimer oidAlloc;
+ static RMTimer oidResolve;
+ #endif
protected:
// protection agains writing back unloaded counters => inconsistent DB!!
static bool loadedOk;
@@ -293,7 +297,6 @@ class OId
/*@Doc:
holds all OIdCounters of next* sort, to go with the counterNames.
*/
-
};
extern std::ostream& operator<<(std::ostream& in, const OId& d);