Added macros for profiling functions and made it possible to compile the
profiling code out
This commit is contained in:
1 parent
c053d20a8f
commit
5e84e270bc
4 files changed
+105
-32
No files matched your search
@@ -6,8 +6,6 @@
|
||||
|
||||
#include <x86intrin.h>
|
||||
|
||||
#define MAX_PROFILE_SAMPLES 1024
|
||||
|
||||
typedef struct {
|
||||
profiler_sample_t samples[MAX_PROFILE_SAMPLES];
|
||||
u64 cpu_freq;
|
||||
|
||||
Reference in new issue
Block a user