From f6d3090f7fa76eb8e0dbe060b8490cb49c001c39 Mon Sep 17 00:00:00 2001 From: nasr Date: Mon, 5 Oct 2026 22:02:56 +0200 Subject: init: base --- source/base/base_profile.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 source/base/base_profile.h (limited to 'source/base/base_profile.h') 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 @@ +#ifndef BASE_PROFILE_H +#define BASE_PROFILE_H + + +typedef struct Profile Profile; +struct Profile { + + f32 start; + f32 end; + // TODO: is there a way to measure the cpu cycles? + // frame time if graphics is enabled + +#if GRAPHICS + f32 frame_time; +#endif + +}; + +#endif // BASE_PROFILE_H \ No newline at end of file -- cgit v1.3.1