summaryrefslogtreecommitdiff
path: root/source/base/base_profile.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/base/base_profile.h')
-rw-r--r--source/base/base_profile.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/source/base/base_profile.h b/source/base/base_profile.h
new file mode 100644
index 0000000..475e1f9
--- /dev/null
+++ b/source/base/base_profile.h
@@ -0,0 +1,19 @@
1#ifndef BASE_PROFILE_H
2#define BASE_PROFILE_H
3
4
5typedef struct Profile Profile;
6struct Profile {
7
8 f32 start;
9 f32 end;
10 // TODO: is there a way to measure the cpu cycles?
11 // frame time if graphics is enabled
12
13#if GRAPHICS
14 f32 frame_time;
15#endif
16
17};
18
19#endif // BASE_PROFILE_H \ No newline at end of file