profiler class