-
-
Notifications
You must be signed in to change notification settings - Fork 454
Add new APIs for Continuous Profiling v8 (p5) #3844
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
7fc1a62
be8bae6
4cc9735
c176d09
31377b5
998f728
b000895
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1049,6 +1049,16 @@ public static void endSession() { | |
return getCurrentScopes().startTransaction(transactionContext, transactionOptions); | ||
} | ||
|
||
/** Starts the continuous profiler, if enabled. */ | ||
public static void startProfiler() { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. wdyt of introducing a subclass (like a namespace) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We want to keep the SDKs aligned. Other SDKs, like cocoa, is doing |
||
getCurrentScopes().startProfiler(); | ||
} | ||
|
||
/** Starts the continuous profiler, if enabled. */ | ||
public static void stopProfiler() { | ||
getCurrentScopes().stopProfiler(); | ||
} | ||
|
||
/** | ||
* Gets the current active transaction or span. | ||
* | ||
|
Uh oh!
There was an error while loading. Please reload this page.