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/. */
6 
7 #include "mozilla/ProfilerMarkers.h"
8 
9 template mozilla::ProfileBufferBlockIndex AddMarkerToBuffer(
10     mozilla::ProfileChunkedBuffer&, const mozilla::ProfilerString8View&,
11     const mozilla::MarkerCategory&, mozilla::MarkerOptions&&,
12     mozilla::baseprofiler::markers::NoPayload);
13 
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&);
18 
19 template mozilla::ProfileBufferBlockIndex profiler_add_marker(
20     const mozilla::ProfilerString8View&, const mozilla::MarkerCategory&,
21     mozilla::MarkerOptions&&, mozilla::baseprofiler::markers::TextMarker,
22     const std::string&);
23 
24 template mozilla::ProfileBufferBlockIndex profiler_add_marker(
25     const mozilla::ProfilerString8View&, const mozilla::MarkerCategory&,
26     mozilla::MarkerOptions&&, mozilla::baseprofiler::markers::TextMarker,
27     const nsCString&);
28 
29 template mozilla::ProfileBufferBlockIndex profiler_add_marker(
30     const mozilla::ProfilerString8View&, const mozilla::MarkerCategory&,
31     mozilla::MarkerOptions&&, mozilla::baseprofiler::markers::Tracing,
32     const mozilla::ProfilerString8View&);
33