Home
last modified time | relevance | path

Searched refs:ScopedProfile (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/lite/core/api/
Dprofiler.h96 friend class ScopedProfile;
103 class ScopedProfile {
105 ScopedProfile(Profiler* profiler, const char* tag,
114 ~ScopedProfile() { in ~ScopedProfile()
125 class ScopedOperatorProfile : public ScopedProfile {
128 : ScopedProfile(profiler, tag, Profiler::EventType::OPERATOR_INVOKE_EVENT, in ScopedOperatorProfile()
132 class ScopedDelegateOperatorProfile : public ScopedProfile {
136 : ScopedProfile(profiler, tag, in ScopedDelegateOperatorProfile()
141 class ScopedRuntimeInstrumentationProfile : public ScopedProfile {
144 : ScopedProfile( in ScopedRuntimeInstrumentationProfile()
[all …]
/external/tensorflow/tensorflow/lite/profiling/
Dprofiler_test.cc35 ScopedProfile profile(profiler, "SleepForQuarter"); in SleepForQuarterSecond()
40 ScopedProfile profile(profiler, "Child"); in ChildFunction()
45 ScopedProfile profile(profiler, "Parent"); in ParentFunction()
117 TEST(ProfilingTest, ScopedProfile) { in TEST() argument
/external/grpc-grpc/test/cpp/qps/
Dqps_worker.cc86 class ScopedProfile final { class
88 ScopedProfile(const char* filename, bool enable) : enable_(enable) { in ScopedProfile() function in grpc::testing::ScopedProfile
91 ~ScopedProfile() { in ~ScopedProfile()
112 ScopedProfile profile("qps_client.prof", false); in RunClient()
126 ScopedProfile profile("qps_server.prof", false); in RunServer()