Profiling::saveToHistory global switch