Column-oriented GPU-accelerated Database Management System
CoGaDB
/home/sebastian/gpudbms/trunk/cogadb/include/util/time_measurement.hpp
Go to the documentation of this file.
00001 #pragma once
00002 
00003 
00004 #include <stdint.h>
00005 #include <vector>
00006 
00007 #include <iostream>
00008 #include <string>
00009 
00010 // needs -lrt (real-time lib)
00011 // 1970-01-01 epoch UTC time, 1 mcs resolution (divide by 1M to get time_t)
00012 
00013 namespace CoGaDB{
00014 
00015 typedef uint64_t Timestamp;
00016 
00017 Timestamp getTimestamp();
00018 
00019 void fatalError(const std::string& message);
00020 
00021 }; //end namespace CogaDB
00022 
00023 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines