PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/react-native/ReactCommon/jsinspector-modern/tracing

Просмотр файла: InstanceTracingProfile.h

/*
 * 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 "RuntimeSamplingProfile.h"

namespace facebook::react::jsinspector_modern::tracing {

struct InstanceTracingProfile {
 public:
  explicit InstanceTracingProfile(RuntimeSamplingProfile runtimeSamplingProfile)
      : runtimeSamplingProfile_(std::move(runtimeSamplingProfile)) {}

  const RuntimeSamplingProfile& getRuntimeSamplingProfile() const {
    return runtimeSamplingProfile_;
  }

 private:
  RuntimeSamplingProfile runtimeSamplingProfile_;
};

} // namespace facebook::react::jsinspector_modern::tracing

Выполнить команду


Для локальной разработки. Не используйте в интернете!