pytorch/android/pytorch_android
Taylor Robie 24bc3be146 [Profiler] Clean up profiler includes. (#69421)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/69421

I've hit a lot of build issues in D32671972, and I've come to realize that a lot of it boils down to header hygene. `function.h` includes `profiler.h` *solely* to transitively include `record_function.h` which winds up leaking the profiler symbols. Moreover several files are relying on transitive includes to get access to `getTime`. As long as I have to touch all the places that use `getTime`, I may as well also move them to the new namespace.

Test Plan: Unit tests and CI.

Reviewed By: aaronenyeshi, albanD

Differential Revision: D32865907

fbshipit-source-id: f87d6fd5afb784dca2146436e72c69e34623020e
2021-12-15 12:50:24 -08:00
..
host [android][fbjni] Update fbjni to 0.2.2 (#68400) 2021-11-17 16:54:22 -08:00
src [Profiler] Clean up profiler includes. (#69421) 2021-12-15 12:50:24 -08:00
build.gradle [Pytorch Edge] Enable kineto profiler on mobile via EdgeKinetoProfiler (#62419) 2021-08-13 21:40:19 -07:00
CMakeLists.txt [Pytorch] Build lite interpreter as default for Android 2021-05-17 14:12:48 -07:00
generate_test_asset.cpp [NOOP][clangformat][codemod] Enable CLANGFORMAT for some folders in caffe2/* (#67746) 2021-11-03 12:23:14 -07:00
generate_test_torchscripts.py Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
gradle.properties [android] Lite interpreter naming for android nightly publishing (#68651) 2021-11-19 10:56:13 -08:00
test_asset.jit Clean up some type annotations in android (#49944) 2021-01-07 15:42:55 -08:00