1 /* -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 8 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 using class mozilla::TimeStamp from "mozilla/TimeStamp.h";
7 using struct mozilla::ProfileGenerationAdditionalInformation from "ProfileAdditionalInformation.h";
11 struct ProfilerInitParams {
21 struct ProfileBufferChunkMetadata {
22 TimeStamp doneTimeStamp;
26 struct ProfileBufferChunkManagerUpdate {
27 uint64_t unreleasedBytes;
28 uint64_t releasedBytes;
29 TimeStamp oldestDoneTimeStamp;
30 ProfileBufferChunkMetadata[] newlyReleasedChunks;
33 struct GatherProfileProgress {
34 uint32_t progressProportionValueUnderlyingType;
35 nsCString progressLocation;
38 struct IPCProfileAndAdditionalInformation {
40 ProfileGenerationAdditionalInformation? additionalInformation;
43 } // namespace mozilla