Home
last modified time | relevance | path

Searched refs:RecordOptions (Results 1 – 6 of 6) sorted by relevance

/system/extras/simpleperf/app_api/cpp/
Dsimpleperf.h40 class RecordOptions {
42 RecordOptions();
43 ~RecordOptions();
48 RecordOptions& SetOutputFilename(const std::string& filename);
53 RecordOptions& SetEvent(const std::string& event);
58 RecordOptions& SetSampleFrequency(size_t freq);
64 RecordOptions& SetDuration(double duration_in_second);
69 RecordOptions& SetSampleThreads(const std::vector<pid_t>& threads);
74 RecordOptions& RecordDwarfCallGraph();
79 RecordOptions& RecordFramePointerCallGraph();
[all …]
Dsimpleperf.cpp54 RecordOptions::RecordOptions() : impl_(new RecordOptionsImpl) {} in RecordOptions() function in simpleperf::RecordOptions
56 RecordOptions::~RecordOptions() { in ~RecordOptions()
60 RecordOptions& RecordOptions::SetOutputFilename(const std::string& filename) { in SetOutputFilename()
65 RecordOptions& RecordOptions::SetEvent(const std::string& event) { in SetEvent()
70 RecordOptions& RecordOptions::SetSampleFrequency(size_t freq) { in SetSampleFrequency()
75 RecordOptions& RecordOptions::SetDuration(double duration_in_second) { in SetDuration()
80 RecordOptions& RecordOptions::SetSampleThreads(const std::vector<pid_t>& threads) { in SetSampleThreads()
85 RecordOptions& RecordOptions::RecordDwarfCallGraph() { in RecordDwarfCallGraph()
91 RecordOptions& RecordOptions::RecordFramePointerCallGraph() { in RecordFramePointerCallGraph()
97 RecordOptions& RecordOptions::TraceOffCpu() { in TraceOffCpu()
[all …]
/system/extras/simpleperf/app_api/java/com/android/simpleperf/
DRecordOptions.java47 public class RecordOptions { class
54 public RecordOptions setOutputFilename(@NonNull String filename) { in setOutputFilename()
63 public RecordOptions setEvent(@NonNull String event) { in setEvent()
72 public RecordOptions setSampleFrequency(int freq) { in setSampleFrequency()
82 public RecordOptions setDuration(double durationInSecond) { in setDuration()
91 public RecordOptions setSampleThreads(@NonNull List<Integer> threads) { in setSampleThreads()
100 public RecordOptions recordDwarfCallGraph() { in recordDwarfCallGraph()
110 public RecordOptions recordFramePointerCallGraph() { in recordFramePointerCallGraph()
120 public RecordOptions traceOffCpu() { in traceOffCpu()
DProfileSession.java125 public void startRecording(@NonNull RecordOptions options) { in startRecording()
/system/extras/simpleperf/demo/JavaApi/app/src/main/java/simpleperf/demo/java_api/
DMainActivity.java25 import com.android.simpleperf.RecordOptions;
51 RecordOptions recordOptions = new RecordOptions(); in createProfileThread()
/system/extras/simpleperf/demo/CppApi/app/src/main/cpp/
Dnative-lib.cpp34 simpleperf::RecordOptions options; in ProfileThreadFunc()