Skip to content

Struct mediapipe::TraceEvent

ClassList > mediapipe > TraceEvent

Public Types

Type Name
enum EventType
typedef GraphTrace::EventType EventType

Public Attributes

Type Name
int64_t event_data = 0
absl::Time event_time
EventType event_type = UNKNOWN
Timestamp input_ts = Timestamp::Unset()
bool is_finish = false
int32_t node_id = -1
Timestamp packet_ts = Timestamp::Unset()
const std::string * stream_id = nullptr
int32_t thread_id = 0

Public Static Attributes

Type Name
constexpr EventType CLOSE = GraphTrace::CLOSE
constexpr EventType CPU_TASK_INVOKE = GraphTrace::CPU\_TASK\_INVOKE
constexpr EventType CPU_TASK_SYSTEM = GraphTrace::CPU\_TASK\_SYSTEM
constexpr EventType CPU_TASK_USER = GraphTrace::CPU\_TASK\_USER
constexpr EventType DSP_TASK = GraphTrace::DSP\_TASK
constexpr EventType GPU_CALIBRATION = GraphTrace::GPU\_CALIBRATION
constexpr EventType GPU_TASK = GraphTrace::GPU\_TASK
constexpr EventType GPU_TASK_INVOKE = GraphTrace::GPU\_TASK\_INVOKE
constexpr EventType GPU_TASK_INVOKE_ADVANCED = /* multi line expression */
constexpr EventType NOT_READY = GraphTrace::NOT\_READY
constexpr EventType OPEN = GraphTrace::OPEN
constexpr EventType PACKET_QUEUED = GraphTrace::PACKET\_QUEUED
constexpr EventType PROCESS = GraphTrace::PROCESS
constexpr EventType READY_FOR_CLOSE = GraphTrace::READY\_FOR\_CLOSE
constexpr EventType READY_FOR_PROCESS = GraphTrace::READY\_FOR\_PROCESS
constexpr EventType THROTTLED = GraphTrace::THROTTLED
constexpr EventType TPU_TASK = GraphTrace::TPU\_TASK
constexpr EventType TPU_TASK_INVOKE = GraphTrace::TPU\_TASK\_INVOKE
constexpr EventType TPU_TASK_INVOKE_ASYNC = /* multi line expression */
constexpr EventType UNKNOWN = GraphTrace::UNKNOWN
constexpr EventType UNTHROTTLED = GraphTrace::UNTHROTTLED

Public Functions

Type Name
TraceEvent (const EventType & event_type)
TraceEvent ()
TraceEvent (const EventType & event_type)
TraceEvent ()
TraceEvent & set_event_data (int64_t data)
TraceEvent & set_event_data (int data)
TraceEvent & set_event_time (absl::Time event_time)
TraceEvent & set_event_time (absl::Time event_time)
TraceEvent & set_event_type (const EventType & event_type)
TraceEvent & set_event_type (const EventType & event_type)
TraceEvent & set_input_ts (Timestamp input_ts)
TraceEvent & set_input_ts (Timestamp input_ts)
TraceEvent & set_is_finish (bool is_finish)
TraceEvent & set_is_finish (bool is_finish)
TraceEvent & set_node_id (int node_id)
TraceEvent & set_node_id (int node_id)
TraceEvent & set_packet_data_id (const Packet * packet)
TraceEvent & set_packet_data_id (const Packet * packet)
TraceEvent & set_packet_ts (Timestamp packet_ts)
TraceEvent & set_packet_ts (Timestamp packet_ts)
TraceEvent & set_stream_id (const std::string * stream_id)
TraceEvent & set_stream_id (const std::string * stream_id)
TraceEvent & set_thread_id (int thread_id)
TraceEvent & set_thread_id (int thread_id)

Public Types Documentation

enum EventType [1/2]

enum mediapipe::TraceEvent::EventType {
    UNKNOWN,
    OPEN,
    PROCESS,
    CLOSE,
    NOT_READY,
    READY_FOR_PROCESS,
    READY_FOR_CLOSE,
    THROTTLED,
    UNTHROTTLED,
    CPU_TASK_USER,
    CPU_TASK_SYSTEM,
    GPU_TASK,
    DSP_TASK,
    TPU_TASK,
    GPU_CALIBRATION,
    PACKET_QUEUED
};

typedef EventType [2/2]

using mediapipe::TraceEvent::EventType =  GraphTrace::EventType;

Public Attributes Documentation

variable event_data

int64_t mediapipe::TraceEvent::event_data;

variable event_time

absl::Time mediapipe::TraceEvent::event_time;

variable event_type

EventType mediapipe::TraceEvent::event_type;

variable input_ts

Timestamp mediapipe::TraceEvent::input_ts;

variable is_finish

bool mediapipe::TraceEvent::is_finish;

variable node_id

int32_t mediapipe::TraceEvent::node_id;

variable packet_ts

Timestamp mediapipe::TraceEvent::packet_ts;

variable stream_id

const std::string* mediapipe::TraceEvent::stream_id;

variable thread_id

int32_t mediapipe::TraceEvent::thread_id;

Public Static Attributes Documentation

variable CLOSE

constexpr EventType mediapipe::TraceEvent::CLOSE;

variable CPU_TASK_INVOKE

constexpr EventType mediapipe::TraceEvent::CPU_TASK_INVOKE;

variable CPU_TASK_SYSTEM

constexpr EventType mediapipe::TraceEvent::CPU_TASK_SYSTEM;

variable CPU_TASK_USER

constexpr EventType mediapipe::TraceEvent::CPU_TASK_USER;

variable DSP_TASK

constexpr EventType mediapipe::TraceEvent::DSP_TASK;

variable GPU_CALIBRATION

constexpr EventType mediapipe::TraceEvent::GPU_CALIBRATION;

variable GPU_TASK

constexpr EventType mediapipe::TraceEvent::GPU_TASK;

variable GPU_TASK_INVOKE

constexpr EventType mediapipe::TraceEvent::GPU_TASK_INVOKE;

variable GPU_TASK_INVOKE_ADVANCED

constexpr EventType mediapipe::TraceEvent::GPU_TASK_INVOKE_ADVANCED;

variable NOT_READY

constexpr EventType mediapipe::TraceEvent::NOT_READY;

variable OPEN

constexpr EventType mediapipe::TraceEvent::OPEN;

variable PACKET_QUEUED

constexpr EventType mediapipe::TraceEvent::PACKET_QUEUED;

variable PROCESS

constexpr EventType mediapipe::TraceEvent::PROCESS;

variable READY_FOR_CLOSE

constexpr EventType mediapipe::TraceEvent::READY_FOR_CLOSE;

variable READY_FOR_PROCESS

constexpr EventType mediapipe::TraceEvent::READY_FOR_PROCESS;

variable THROTTLED

constexpr EventType mediapipe::TraceEvent::THROTTLED;

variable TPU_TASK

constexpr EventType mediapipe::TraceEvent::TPU_TASK;

variable TPU_TASK_INVOKE

constexpr EventType mediapipe::TraceEvent::TPU_TASK_INVOKE;

variable TPU_TASK_INVOKE_ASYNC

constexpr EventType mediapipe::TraceEvent::TPU_TASK_INVOKE_ASYNC;

variable UNKNOWN

constexpr EventType mediapipe::TraceEvent::UNKNOWN;

variable UNTHROTTLED

constexpr EventType mediapipe::TraceEvent::UNTHROTTLED;

Public Functions Documentation

function TraceEvent [1/4]

inline mediapipe::TraceEvent::TraceEvent (
    const EventType & event_type
) 

function TraceEvent [2/4]

inline mediapipe::TraceEvent::TraceEvent () 

function TraceEvent [1/4]

inline mediapipe::TraceEvent::TraceEvent (
    const EventType & event_type
) 

function TraceEvent [2/4]

inline mediapipe::TraceEvent::TraceEvent () 

function set_event_data [1/2]

inline TraceEvent & mediapipe::TraceEvent::set_event_data (
    int64_t data
) 

function set_event_data [2/2]

inline TraceEvent & mediapipe::TraceEvent::set_event_data (
    int data
) 

function set_event_time [1/2]

inline TraceEvent & mediapipe::TraceEvent::set_event_time (
    absl::Time event_time
) 

function set_event_time [1/2]

inline TraceEvent & mediapipe::TraceEvent::set_event_time (
    absl::Time event_time
) 

function set_event_type [1/2]

inline TraceEvent & mediapipe::TraceEvent::set_event_type (
    const EventType & event_type
) 

function set_event_type [1/2]

inline TraceEvent & mediapipe::TraceEvent::set_event_type (
    const EventType & event_type
) 

function set_input_ts [1/2]

inline TraceEvent & mediapipe::TraceEvent::set_input_ts (
    Timestamp input_ts
) 

function set_input_ts [1/2]

inline TraceEvent & mediapipe::TraceEvent::set_input_ts (
    Timestamp input_ts
) 

function set_is_finish [1/2]

inline TraceEvent & mediapipe::TraceEvent::set_is_finish (
    bool is_finish
) 

function set_is_finish [1/2]

inline TraceEvent & mediapipe::TraceEvent::set_is_finish (
    bool is_finish
) 

function set_node_id [1/2]

inline TraceEvent & mediapipe::TraceEvent::set_node_id (
    int node_id
) 

function set_node_id [1/2]

inline TraceEvent & mediapipe::TraceEvent::set_node_id (
    int node_id
) 

function set_packet_data_id [1/2]

inline TraceEvent & mediapipe::TraceEvent::set_packet_data_id (
    const Packet * packet
) 

function set_packet_data_id [1/2]

inline TraceEvent & mediapipe::TraceEvent::set_packet_data_id (
    const Packet * packet
) 

function set_packet_ts [1/2]

inline TraceEvent & mediapipe::TraceEvent::set_packet_ts (
    Timestamp packet_ts
) 

function set_packet_ts [1/2]

inline TraceEvent & mediapipe::TraceEvent::set_packet_ts (
    Timestamp packet_ts
) 

function set_stream_id [1/2]

inline TraceEvent & mediapipe::TraceEvent::set_stream_id (
    const std::string * stream_id
) 

function set_stream_id [1/2]

inline TraceEvent & mediapipe::TraceEvent::set_stream_id (
    const std::string * stream_id
) 

function set_thread_id [1/2]

inline TraceEvent & mediapipe::TraceEvent::set_thread_id (
    int thread_id
) 

function set_thread_id [1/2]

inline TraceEvent & mediapipe::TraceEvent::set_thread_id (
    int thread_id
) 


The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR-plugins/hand_tracking/mediapipe/framework/profiler/graph_profiler_stub.h