Files
pytorch/test/edge/event_tracer.h
PyTorch MergeBot 67067512a1 Revert "[BE] Cleanup old ExecuTorch codegen and runtime code (#154165)"
This reverts commit 515c19a3856e953c0fe23a0ed4fa844f8eea34d8.

Reverted https://github.com/pytorch/pytorch/pull/154165 on behalf of https://github.com/seemethere due to This is failing when attempting to test against executorch main internally, author has acknowledged that this should be reverted ([comment](https://github.com/pytorch/pytorch/pull/154165#issuecomment-2931489616))
2025-06-02 16:28:46 +00:00

34 lines
802 B
C++

/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <stdlib.h>
#include <cstdint>
#pragma once
namespace torch {
namespace executor {
typedef uint32_t AllocatorID;
typedef int32_t ChainID;
typedef uint32_t DebugHandle;
/**
* EventTracer is a class that users can inherit and implement to
* log/serialize/stream etc. the profiling and debugging events that are
* generated at runtime for a model. An example of this is the ETDump
* implementation in the SDK codebase that serializes these events to a
* flatbuffer.
*/
class EventTracer {};
struct EventTracerEntry {};
} // namespace executor
} // namespace torch