/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
packages/react-native/ReactCommon/react/renderer/runtimescheduler/RuntimeSchedulerEventTimingDelegate.h
27 строк
657 B
Rubén Norte
Extend PerformanceEventTiming with taskEndTime (#53199)
11 авг 2025, 15:26
11 авг 2025, 15:26
6b05a59
Код
Авторство
О чём код?
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <react/timing/primitives.h> #include <unordered_set> namespace facebook::react { using SurfaceId = int32_t; class RuntimeSchedulerEventTimingDelegate { public: virtual ~RuntimeSchedulerEventTimingDelegate() = default; virtual void dispatchPendingEventTimingEntries( HighResTimeStamp taskEndTime, const std::unordered_set<SurfaceId>& surfaceIdsWithPendingRenderingUpdates) = 0; }; } // namespace facebook::react