Deterministic and statistical profiling