finer grained profiling