normalize includes: common

This commit is contained in:
brainiac
2025-12-17 09:32:44 -08:00
committed by Alex
parent 723ca13482
commit 451eb0806a
295 changed files with 1592 additions and 2009 deletions
+5 -6
View File
@@ -15,11 +15,10 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef TIMER_H
#define TIMER_H
#include "types.h"
#include <chrono>
#pragma once
#include "common/types.h"
// Disgrace: for windows compile
#ifdef _WINDOWS
@@ -27,6 +26,8 @@
int gettimeofday (timeval *tp, ...);
#endif
#include <chrono>
class Timer
{
public:
@@ -93,5 +94,3 @@ struct BenchTimer
private:
std::chrono::time_point<std::chrono::high_resolution_clock> start_time;
};
#endif