Profiler benchmark fix (#47713)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/47713
Fix the import and also always use internal Timer
Test Plan: python benchmarks/profiler_benchmark/profiler_bench.py
Reviewed By: dzhulgakov
Differential Revision: D24873991
Pulled By: ilia-cher
fbshipit-source-id: 1c3950d7d289a4fb5bd7043ba2d842a35c263eaa