Searched refs:samples (Results 1 – 7 of 7) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/ |
D | samples_record.cpp | 112 uint32_t size = profileInfo_->samples.size(); in AddSample() 114 profileInfo_->samples[size - 1] = PROGRAM_NODE_ID; in AddSample() 121 profileInfo_->samples.push_back(sampleNodeId); in AddSample() 133 uint32_t size = profileInfo_->samples.size(); in AddEmptyStackSample() 135 profileInfo_->samples[size - 1] = PROGRAM_NODE_ID; in AddEmptyStackSample() 143 profileInfo_->samples.push_back(PROGRAM_NODE_ID); in AddEmptyStackSample() 208 CVector<int> samples = profileInfo_->samples; in StringifySamples() local 211 size_t samplesCount = samples.size(); in StringifySamples() 215 samplesIdStr += std::to_string(samples[i]) + ","; in StringifySamples() 236 CVector<int> &samples = profileInfo_->samples; in FinetuneSampleData() local [all …]
|
D | samples_record.h | 63 CVector<int> samples; member
|
/arkcompiler/toolchain/tooling/base/ |
D | pt_types.cpp | 2222 std::unique_ptr<PtJson> samples; in Create() local 2223 ret = params.GetArray("samples", &samples); in Create() 2225 int32_t len = samples->GetSize(); in Create() 2227 std::unique_ptr<PtJson> arrayEle = samples->Get(i); in Create() 2255 std::unique_ptr<PtJson> samples = PtJson::CreateArray(); in ToJson() local 2259 samples->Push(samples_[i]->ToJson()); in ToJson() 2261 result->Add("samples", samples); in ToJson() 2271 const CVector<struct Sample> &samples = samplingInfo->samples_; in FromSamplingInfo() local 2272 for (const auto &sample : samples) { in FromSamplingInfo() 2596 std::unique_ptr<PtJson> samples; in Create() local [all …]
|
D | pt_types.h | 1912 SamplingHeapProfile &SetSamples(std::vector<std::unique_ptr<SamplingHeapProfileSample>> samples) in SetSamples() argument 1914 samples_ = std::move(samples); in SetSamples() 2246 Profile &SetSamples(std::vector<int32_t> samples) in SetSamples() argument 2248 samples_ = std::move(samples); in SetSamples()
|
/arkcompiler/toolchain/tooling/test/ |
D | pt_types_test.cpp | 658 std::vector<int32_t> samples {1, 2, 3}; // 1:element 2:element 3:element in HWTEST_F_L0() local 660 profile.SetSamples(samples); in HWTEST_F_L0() 669 info.samples.push_back(1); in HWTEST_F_L0() 670 info.samples.push_back(2); in HWTEST_F_L0()
|
D | debugger_types_test.cpp | 1877 "samples":[{"size":100, "nodeId":1, "ordinal":10}] in HWTEST_F_L0() 1899 const std::vector<std::unique_ptr<SamplingHeapProfileSample>> *samples = object->GetSamples(); in HWTEST_F_L0() local 1900 ASSERT_NE(samples, nullptr); in HWTEST_F_L0() 1901 EXPECT_EQ((int)samples->size(), 1); in HWTEST_F_L0() 1902 EXPECT_EQ(samples->data()->get()->GetSize(), 100); in HWTEST_F_L0() 1903 EXPECT_EQ(samples->data()->get()->GetNodeId(), 1); in HWTEST_F_L0() 1904 EXPECT_EQ(samples->data()->get()->GetOrdinal(), 10); in HWTEST_F_L0() 1926 "samples":[{"size":100, "nodeId":1, "ordinal":10}] in HWTEST_F_L0() 2170 "url":"url3", "lineNumber":100, "columnNumber":20}}], "samples":[],"timeDeltas":[]}})"; in HWTEST_F_L0() 2204 "url":"url3", "lineNumber":100, "columnNumber":20}}], "samples":[],"timeDeltas":[]}})"; in HWTEST_F_L0()
|
/arkcompiler/ets_frontend/es2panda/test/compiler/js/ |
D | cocos_worker_test.js | 3511 samples: n property 17496 this.samples = l; 17509 this.samples = t.samples; 19638 get samples() { getter in anonymousFunction47c28f4639900.anonymousFunction47c28f4639a00.Yr 19639 return this._info.samples; 58077 if (!e || e.samples !== t.sample) { 59339 samples: e, 78033 samples: i.samples, property 80181 if (e.samples === Ms.ONE) { 80204 … i.renderbufferStorageMultisample(i.RENDERBUFFER, e.samples, e.glInternalFmt, e.width, e.height); [all …]
|