Skip to content

Commit d93d325

Browse files
hoxyqmeta-codesync[bot]
authored andcommitted
Group sampling methods in header files (facebook#54243)
Summary: Pull Request resolved: facebook#54243 # Changelog: [Internal] Just formatting. Reviewed By: sbuggay Differential Revision: D85266409 fbshipit-source-id: 7435fe1cb82d94a9e19cbba631f812d2b821f68a
1 parent 94995fd commit d93d325

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

packages/react-native/ReactCommon/hermes/inspector-modern/chrome/HermesRuntimeTargetDelegate.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,7 @@ class HermesRuntimeTargetDelegate : public RuntimeTargetDelegate {
5555
size_t framesToSkip) override;
5656

5757
void enableSamplingProfiler() override;
58-
5958
void disableSamplingProfiler() override;
60-
6159
tracing::RuntimeSamplingProfile collectSamplingProfile() override;
6260

6361
std::optional<folly::dynamic> serializeStackTrace(

packages/react-native/ReactCommon/jsinspector-modern/RuntimeTarget.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,10 @@ class RuntimeTargetDelegate {
9999
* Start sampling profiler.
100100
*/
101101
virtual void enableSamplingProfiler() = 0;
102-
103102
/**
104103
* Stop sampling profiler.
105104
*/
106105
virtual void disableSamplingProfiler() = 0;
107-
108106
/**
109107
* Return recorded sampling profile for the previous sampling session.
110108
*/
@@ -148,12 +146,10 @@ class RuntimeTargetController {
148146
* Start sampling profiler for the corresponding RuntimeTarget.
149147
*/
150148
void enableSamplingProfiler();
151-
152149
/**
153150
* Stop sampling profiler for the corresponding RuntimeTarget.
154151
*/
155152
void disableSamplingProfiler();
156-
157153
/**
158154
* Return recorded sampling profile for the previous sampling session.
159155
*/
@@ -227,12 +223,10 @@ class JSINSPECTOR_EXPORT RuntimeTarget
227223
* Start sampling profiler for a particular JavaScript runtime.
228224
*/
229225
void enableSamplingProfiler();
230-
231226
/**
232227
* Stop sampling profiler for a particular JavaScript runtime.
233228
*/
234229
void disableSamplingProfiler();
235-
236230
/**
237231
* Return recorded sampling profile for the previous sampling session.
238232
*/

0 commit comments

Comments
 (0)