summaryrefslogtreecommitdiff
path: root/src/include/timestamp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/timestamp.h')
-rw-r--r--src/include/timestamp.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/include/timestamp.h b/src/include/timestamp.h
index 65bdf215de..8bf5287c69 100644
--- a/src/include/timestamp.h
+++ b/src/include/timestamp.h
@@ -20,8 +20,6 @@
#ifndef __TIMESTAMP_H__
#define __TIMESTAMP_H__
-#include <cpu/x86/tsc.h>
-
struct timestamp_entry {
uint32_t entry_id;
uint64_t entry_stamp;
@@ -55,6 +53,7 @@ enum timestamp_id {
};
#if CONFIG_COLLECT_TIMESTAMPS
+#include <cpu/x86/tsc.h>
void timestamp_init(tsc_t base);
void timestamp_add(enum timestamp_id id, tsc_t ts_time);
void timestamp_add_now(enum timestamp_id id);