js/src/devtools/Instruments.h
author Razvan Maries <rmaries@mozilla.com>
Fri, 25 Sep 2020 03:26:17 +0300
changeset 550261 4846ccf88574b5b66de5d5a8f40edfd3f3390b8b
parent 454520 5f4630838d46dd81dadb13220a4af0da9e23a619
permissions -rw-r--r--
Backed out changeset 3ea0c63fe8b8 (bug 1664905) for build bustages on ClientWebGLContext.cpp. CLOSED TREE

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef devtools_Instruments_h
#define devtools_Instruments_h

#ifdef __APPLE__

#  include <unistd.h>

namespace Instruments {

bool Start(pid_t pid);
void Pause();
bool Resume();
void Stop(const char* profileName);

}  // namespace Instruments

#endif /* __APPLE__ */

#endif /* devtools_Instruments_h */