I searched the forum but I couldn't find and answer. I don't have the source code so I can't check.
I'm implementing something similar to the HM profiler and I have something very similar to the HM hot code reloading.
In my profiling macro I use the compiler macros
| __FILE__ __LINE__ __PRETTY_FUNCTION__
|
to identify the profiled section.
When I gather the data I keep the pointer to those strings. When I recompile and it reloads sometimes the addresses of those strings change and I crash when I access them.
I was wondering if the HM profiler is compatible with the hot code reloading. (or runtime compiled c++) (<- this is for SEO ;P )
Thinking about a possible solution I cannot imagine one without string searching, string comparing and string copying. Even a simple hash function could be heavy in some profiling situations, and searching for a string implies cache dirtying. :\