![]() ![]() The multitude of config errors suggest to me that you might be using the newer esp-idf 4 or master when this project was made with 3.3. You are absolutely correct, I tried several things for a few weeks before giving up, but nothing ended up being worth committing unfortunately. If (callstack_top_ptr++ > MAX_PROFILE_FUNCTIONS)įor (ushort i = 0 i MAX_PROFILE_FUNCTIONS)įn.total_time += esp_timer_get_time() - fn.start_time Static const int MAX_PROFILE_FUNCTIONS = 2048 įunc_entry_t functions Ĭonst ushort functions_count = MAX_PROFILE_FUNCTIONS Here's an example output taken at the nintendo logo screen in super mario world: Which is fully acceptable, but when I add my code it jumps to 1000x slower, it takes 15 minutes to reach title screen in SMW. In fact the emulator with the tracing functions doing NOP runs about 50x slower. It doesn't handle nested calls and stacks and it is probably slower than it could be. IRAM_ATTR void _cyg_profile_func_enter(void *this_fn, void *call_site)įor (ushort i = 0 i address, function->calls_count, (float)function->total_time / 1000000) I was hoping for more of a difference but apparently SPIRAM and Internal ram are similar in speed.? Further experimentation on which blocks of RAM is been put in internal RAM could be needed.Įxtern "C" _attribute_((no_instrument_function))
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |