Bug 1931425 - Limit how often moz-label's #setStyles runs r=reusable-components-revie...
[gecko.git] / tools / profiler / core / ProfilerMarkers.cpp
blob9b20c46d6b8f035eb22ffcad4d755dd19a9e1b5d
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #include "mozilla/ProfilerMarkers.h"
9 template mozilla::ProfileBufferBlockIndex AddMarkerToBuffer(
10 mozilla::ProfileChunkedBuffer&, const mozilla::ProfilerString8View&,
11 const mozilla::MarkerCategory&, mozilla::MarkerOptions&&,
12 mozilla::baseprofiler::markers::NoPayload);
14 template mozilla::ProfileBufferBlockIndex AddMarkerToBuffer(
15 mozilla::ProfileChunkedBuffer&, const mozilla::ProfilerString8View&,
16 const mozilla::MarkerCategory&, mozilla::MarkerOptions&&,
17 mozilla::baseprofiler::markers::TextMarker, const std::string&);
19 template mozilla::ProfileBufferBlockIndex profiler_add_marker_impl(
20 const mozilla::ProfilerString8View&, const mozilla::MarkerCategory&,
21 mozilla::MarkerOptions&&, mozilla::baseprofiler::markers::TextMarker,
22 const std::string&);
24 template mozilla::ProfileBufferBlockIndex profiler_add_marker_impl(
25 const mozilla::ProfilerString8View&, const mozilla::MarkerCategory&,
26 mozilla::MarkerOptions&&, mozilla::baseprofiler::markers::TextMarker,
27 const nsCString&);
29 template mozilla::ProfileBufferBlockIndex profiler_add_marker_impl(
30 const mozilla::ProfilerString8View&, const mozilla::MarkerCategory&,
31 mozilla::MarkerOptions&&, mozilla::baseprofiler::markers::Tracing,
32 const mozilla::ProfilerString8View&);