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

profiling code out
This commit is contained in:
2023-07-09 04:01:56 +01:00
parent c053d20a8f
commit 5e84e270bc
4 changed files with 105 additions and 32 deletions

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;