Skip to content

Commit 79393ff

Browse files
hoxyqfacebook-github-bot
authored andcommitted
Group sampling methods in header files (react#54243)
Summary: # Changelog: [Internal] Just formatting. Differential Revision: D85266409
1 parent b846305 commit 79393ff

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

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)