summaryrefslogtreecommitdiff
path: root/source/base/base_profile.h
diff options
context:
space:
mode:
authornasr <nsrddyn@gmail.com>2026-10-05 22:02:56 +0200
committernasr <nsrddyn@gmail.com>2026-10-05 22:02:56 +0200
commitf6d3090f7fa76eb8e0dbe060b8490cb49c001c39 (patch)
tree433c773997e51f22738acb8b04c4fd2fc6b1bdc9 /source/base/base_profile.h
init: base
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