[Static Runtime] Add memoray alloc/dealloc time to benchmark (#52902)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/52902
Add more metrics to track memory_alloc_time, memory_dealloc_time, and output_dealloc_time.
Reviewed By: maratsubkhankulov
Differential Revision: D26660715
fbshipit-source-id: 96c6cfac2d2ec66d4c31c84129721a846c3914f0