Added macros for profiling functions and made it possible to compile the

profiling code out
This commit is contained in:
abdelrahman committed 2023-07-09 04:01:56 +01:00
1 parent c053d20a8f
commit 5e84e270bc
4 files changed
+105 -32

No files matched your search

-2
View File
@@ -6,8 +6,6 @@
#include <x86intrin.h>
#define MAX_PROFILE_SAMPLES 1024
typedef struct {
profiler_sample_t samples[MAX_PROFILE_SAMPLES];
u64 cpu_freq;