#include "tensorflow/lite/profiling/root_profiler.h"
#include <memory>
#include <utility>
#include <vector>
#include "tensorflow/lite/core/api/profiler.h"
namespace tflite {
namespace profiling {
void RootProfiler::AddProfiler(Profiler* profiler) { … }
void RootProfiler::AddProfiler(std::unique_ptr<Profiler>&& profiler) { … }
uint32_t RootProfiler::BeginEvent(const char* tag, EventType event_type,
int64_t event_metadata1,
int64_t event_metadata2) { … }
void RootProfiler::EndEvent(uint32_t event_handle, int64_t event_metadata1,
int64_t event_metadata2) { … }
void RootProfiler::EndEvent(uint32_t event_handle) { … }
void RootProfiler::AddEvent(const char* tag, EventType event_type,
uint64_t metric, int64_t event_metadata1,
int64_t event_metadata2) { … }
void RootProfiler::AddEventWithData(const char* tag, EventType event_type,
const void* data) { … }
void RootProfiler::RemoveChildProfilers() { … }
}
}