Bug 1921551 - React to sync sign in flow correctly r=android-reviewers,matt-tighe
[gecko.git] / tools / profiler / gecko / ProfilerTypes.ipdlh
blob6255d47db02b86e1b9abd21990d754da76b83c62
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";
9 namespace mozilla {
11 struct ProfilerInitParams {
12   bool enabled;
13   uint32_t entries;
14   double? duration;
15   double interval;
16   uint32_t features;
17   uint64_t activeTabID;
18   nsCString[] filters;
21 struct ProfileBufferChunkMetadata {
22   TimeStamp doneTimeStamp;
23   uint32_t bufferBytes;
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 {
39   Shmem profileShmem;
40   ProfileGenerationAdditionalInformation? additionalInformation;
43 } // namespace mozilla