1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "base/trace_event/process_memory_totals.h"
7 #include "base/format_macros.h"
8 #include "base/strings/stringprintf.h"
9 #include "base/trace_event/trace_event_argument.h"
12 namespace trace_event
{
14 void ProcessMemoryTotals::AsValueInto(TracedValue
* value
) const {
15 value
->SetString("resident_set_bytes",
16 StringPrintf("%" PRIx64
, resident_set_bytes_
));
19 } // namespace trace_event