Implementation of EdgeProfiler