Profilers seem to only show information for each object file. Being able to compiler peanut_gb.h as a separate object will make it easier to manually profile the code. This can be done by using ifdefs of PEANUT_GB_HEADER and PEANUT_GB_IMPLEMENTATION for including the file as a header or compiling it as a separate object file.
Profilers seem to only show information for each object file. Being able to compiler peanut_gb.h as a separate object will make it easier to manually profile the code. This can be done by using ifdefs of PEANUT_GB_HEADER and PEANUT_GB_IMPLEMENTATION for including the file as a header or compiling it as a separate object file.