chromium/base/trace_event/trace_event_memory_overhead.cc

// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/trace_event/trace_event_memory_overhead.h"

#include <algorithm>

#include "base/bits.h"
#include "base/memory/ref_counted_memory.h"
#include "base/notreached.h"
#include "base/strings/stringprintf.h"
#include "base/trace_event/memory_allocator_dump.h"
#include "base/trace_event/memory_usage_estimator.h"
#include "base/trace_event/process_memory_dump.h"
#include "base/values.h"

namespace base::trace_event {

namespace {

const char* ObjectTypeToString(TraceEventMemoryOverhead::ObjectType type) {}

}  // namespace

TraceEventMemoryOverhead::TraceEventMemoryOverhead() :{}

TraceEventMemoryOverhead::~TraceEventMemoryOverhead() = default;

void TraceEventMemoryOverhead::AddInternal(ObjectType object_type,
                                           size_t count,
                                           size_t allocated_size_in_bytes,
                                           size_t resident_size_in_bytes) {}

void TraceEventMemoryOverhead::Add(ObjectType object_type,
                                   size_t allocated_size_in_bytes) {}

void TraceEventMemoryOverhead::Add(ObjectType object_type,
                                   size_t allocated_size_in_bytes,
                                   size_t resident_size_in_bytes) {}

void TraceEventMemoryOverhead::AddString(const std::string& str) {}

void TraceEventMemoryOverhead::AddRefCountedString(
    const RefCountedString& str) {}

void TraceEventMemoryOverhead::AddValue(const Value& value) {}

void TraceEventMemoryOverhead::AddSelf() {}

size_t TraceEventMemoryOverhead::GetCount(ObjectType object_type) const {}

void TraceEventMemoryOverhead::Update(const TraceEventMemoryOverhead& other) {}

void TraceEventMemoryOverhead::DumpInto(const char* base_name,
                                        ProcessMemoryDump* pmd) const {}

}  // namespace base::trace_event