Profiler interface and core profiler implementations.