#include "src/trace_processor/perfetto_sql/intrinsics/table_functions/experimental_counter_dur.h"
#include <cstdint>
#include <memory>
#include <string>
#include <unordered_map>
#include <vector>
#include "perfetto/base/logging.h"
#include "perfetto/ext/base/status_or.h"
#include "perfetto/trace_processor/basic_types.h"
#include "src/trace_processor/db/column_storage.h"
#include "src/trace_processor/db/table.h"
#include "src/trace_processor/perfetto_sql/intrinsics/table_functions/tables_py.h"
#include "src/trace_processor/storage/trace_storage.h"
#include "src/trace_processor/tables/counter_tables_py.h"
namespace perfetto::trace_processor {
namespace tables {
ExperimentalCounterDurTable::~ExperimentalCounterDurTable() = default;
}
ExperimentalCounterDur::ExperimentalCounterDur(
const tables::CounterTable& table)
: … { … }
ExperimentalCounterDur::~ExperimentalCounterDur() = default;
Table::Schema ExperimentalCounterDur::CreateSchema() { … }
std::string ExperimentalCounterDur::TableName() { … }
uint32_t ExperimentalCounterDur::EstimateRowCount() { … }
base::StatusOr<std::unique_ptr<Table>> ExperimentalCounterDur::ComputeTable(
const std::vector<SqlValue>& arguments) { … }
ColumnStorage<int64_t> ExperimentalCounterDur::ComputeDurColumn(
const CounterTable& table) { … }
ColumnStorage<double> ExperimentalCounterDur::ComputeDeltaColumn(
const CounterTable& table) { … }
}