summaryrefslogtreecommitdiff
path: root/macro.h
diff options
context:
space:
mode:
Diffstat (limited to 'macro.h')
-rw-r--r--macro.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/macro.h b/macro.h
deleted file mode 100644
index 9bcc8e0..0000000
--- a/macro.h
+++ /dev/null
@@ -1,17 +0,0 @@
-#pragma once
-
-#include <chrono>
-#include <iostream>
-
-#define start_timer(name) \
- std::chrono::steady_clock::time_point begin_##name = std::chrono::steady_clock::now();
-
-#define stop_timer(name) \
- std::chrono::steady_clock::time_point end_##name = std::chrono::steady_clock::now(); \
- // std::cout << #name << " (us): " \
- // << std::chrono::duration_cast<std::chrono::microseconds>(end_##name - begin_##name) \
- // << std::endl;
-
-#define INIT_FIELD(name) m_##name(name)
-
-#define INNO_MAKER