Profiling charge distribution in NROM devices