Home
last modified time | relevance | path

Searched refs:prof (Results 1 – 25 of 67) sorted by relevance

123

/third_party/python/Lib/test/
Dtest_cprofile.py35 prof = self.profilerclass()
37 self.addCleanup(prof.disable)
39 prof.enable()
40 self.assertIs(sys.getprofile(), prof)
42 prof.disable()
46 prof = self.profilerclass()
48 self.addCleanup(prof.disable)
50 with prof as __enter__return_value:
52 self.assertIs(prof, __enter__return_value)
56 self.assertIs(sys.getprofile(), prof)
Dtest_profile.py33 prof = cls.profilerclass(timer, 0.001)
35 prof.runctx("testfunc()", globals(), locals())
39 stats = pstats.Stats(prof, stream=s)
81 prof = self.profilerclass(timer, 0.001)
82 prof.runctx(stmt, globals(), locals())
83 stats = pstats.Stats(prof, stream=s)
/third_party/gstreamer/gstplugins_base/gst-libs/gst/pbutils/
Dencoding-profile.c419 GstEncodingProfile *prof = (GstEncodingProfile *) object; in _encoding_profile_get_property() local
423 gst_value_set_caps (value, prof->restriction); in _encoding_profile_get_property()
426 PROFILE_LOCK (prof); in _encoding_profile_get_property()
427 gst_value_set_structure (value, prof->element_properties); in _encoding_profile_get_property()
428 PROFILE_UNLOCK (prof); in _encoding_profile_get_property()
440 GstEncodingProfile *prof = (GstEncodingProfile *) object; in _encoding_profile_set_property() local
444 gst_encoding_profile_set_restriction (prof, gst_caps_copy in _encoding_profile_set_property()
451 gst_encoding_profile_set_element_properties (prof, in _encoding_profile_set_property()
464 GstEncodingProfile *prof = (GstEncodingProfile *) object; in gst_encoding_profile_finalize() local
465 g_free (prof->name); in gst_encoding_profile_finalize()
[all …]
Dencoding-target.c338 GstEncodingProfile *prof = (GstEncodingProfile *) profiles->data; in gst_encoding_target_new() local
341 g_list_append (res->profiles, gst_encoding_profile_ref (prof)); in gst_encoding_target_new()
386 GstEncodingProfile *prof = (GstEncodingProfile *) tmp->data; in gst_encoding_target_add_profile() local
389 gst_encoding_profile_get_name (prof))) { in gst_encoding_target_add_profile()
497 serialize_encoding_profile (GKeyFile * out, GstEncodingProfile * prof) in serialize_encoding_profile() argument
505 profname = gst_encoding_profile_get_name (prof); in serialize_encoding_profile()
506 profdesc = gst_encoding_profile_get_description (prof); in serialize_encoding_profile()
507 profformat = gst_encoding_profile_get_format (prof); in serialize_encoding_profile()
508 profpreset = gst_encoding_profile_get_preset (prof); in serialize_encoding_profile()
509 proftype = gst_encoding_profile_get_type_nick (prof); in serialize_encoding_profile()
[all …]
Dencoding-profile.h250 guint gst_encoding_video_profile_get_pass (GstEncodingVideoProfile *prof);
253 gboolean gst_encoding_video_profile_get_variableframerate (GstEncodingVideoProfile *prof);
256 void gst_encoding_video_profile_set_pass (GstEncodingVideoProfile *prof,
260 void gst_encoding_video_profile_set_variableframerate (GstEncodingVideoProfile *prof,
/third_party/gstreamer/gstplugins_base/tests/check/elements/
Dencodebin.c34 GstEncodingContainerProfile *prof; in create_ogg_profile() local
38 prof = gst_encoding_container_profile_new ((gchar *) "myprofile", NULL, ogg, in create_ogg_profile()
41 return (GstEncodingProfile *) prof; in create_ogg_profile()
68 GstEncodingContainerProfile *prof; in create_ogg_theora_vorbis_profile() local
72 prof = in create_ogg_theora_vorbis_profile()
78 fail_unless (gst_encoding_container_profile_add_profile (prof, in create_ogg_theora_vorbis_profile()
84 fail_unless (gst_encoding_container_profile_add_profile (prof, in create_ogg_theora_vorbis_profile()
89 return (GstEncodingProfile *) prof; in create_ogg_theora_vorbis_profile()
95 GstEncodingProfile *prof; in create_vorbis_only_profile() local
99 prof = in create_vorbis_only_profile()
[all …]
/third_party/gstreamer/gstplugins_base/tests/examples/encoding/
Dencoding.c186 GstEncodingProfile *prof = NULL; in create_profile_from_string() local
199 prof = create_profile (cf, vf, af); in create_profile_from_string()
209 return prof; in create_profile_from_string()
274 transcode_file (gchar * uri, gchar * outputuri, GstEncodingProfile * prof) in transcode_file() argument
302 profilecaps = gst_encoding_profile_get_input_caps (prof); in transcode_file()
309 g_object_set (ebin, "profile", prof, NULL); in transcode_file()
390 GstEncodingProfile *prof; in main() local
470 prof = in main()
473 if (G_UNLIKELY (prof == NULL)) { in main()
479 transcode_file (inputuri, outputuri, prof); in main()
[all …]
/third_party/mindspore/tests/ut/cpp/utils/
Dprofile_test.cc35 static void test_lap(Profile* prof) { in test_lap() argument
39 WITH(prof->Lap(cnt))[elem]()->void { usleep(elem); }; in test_lap() local
46 Profile prof; in TEST_F() local
47 Profile* ptr_prof = &prof; in TEST_F()
62 prof.Print(); in TEST_F()
/third_party/boost/tools/build/src/engine/
Dhash.cpp155 profile_frame prof[ 1 ]; in hash_insert() local
157 profile_enter( 0, prof ); in hash_insert()
190 profile_exit( prof ); in hash_insert()
207 profile_frame prof[ 1 ]; in hash_find() local
209 profile_enter( 0, prof ); in hash_find()
216 profile_exit( prof ); in hash_find()
225 profile_exit( prof ); in hash_find()
Dcompile.cpp61 profile_frame prof[ 1 ]; in evaluate_rule() local
97 profile_enter( function_rulename( rule->procedure ), prof ); in evaluate_rule()
155 profile_exit( prof ); in evaluate_rule()
/third_party/node/test/sequential/
Dsequential.status9 test-cpu-prof-dir-worker: PASS, FLAKY
13 test-worker-prof: PASS, FLAKY
35 test-worker-prof: PASS, FLAKY
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Dprofile.c275 GstEncodingProfile *prof; in GST_START_TEST() local
287 prof = gst_encoding_target_get_profile (target, "pony"); in GST_START_TEST()
288 fail_if (prof == NULL); in GST_START_TEST()
290 gst_encoding_profile_unref (prof); in GST_START_TEST()
348 GstEncodingProfile *prof; in test_individual_target() local
368 prof = (GstEncodingProfile *) gst_encoding_target_get_profiles (target)->data; in test_individual_target()
370 CHECK_PROFILE (prof, "pony", "I don't want a description !", tmpcaps, NULL, 0, in test_individual_target()
378 (GstEncodingContainerProfile *) prof)), 2); in test_individual_target()
387 (GstEncodingContainerProfile *) prof, sprof1)); in test_individual_target()
402 (GstEncodingContainerProfile *) prof, sprof2)); in test_individual_target()
/third_party/python/Lib/
Dprofile.py51 prof = self.profiler()
53 prof.run(statement)
57 self._show(prof, filename, sort)
60 prof = self.profiler()
62 prof.runctx(statement, globals, locals)
66 self._show(prof, filename, sort)
68 def _show(self, prof, filename, sort): argument
70 prof.dump_stats(filename)
72 prof.print_stats(sort)
/third_party/mindspore/mindspore/core/utils/
Dprofile.cc204 …Context::ProfContext(const std::string &name, ProfileBase *const prof) : name_(name), prof_(prof) { in ProfContext() argument
207 if (prof == nullptr || IsTopContext()) { in ProfContext()
210 parent_ = prof->ctx_ptr_; in ProfContext()
282 ProfTransaction::ProfTransaction(const ProfileBase *prof) { ctx_ = (prof != nullptr ? prof->ctx_ptr… in ProfTransaction() argument
Dprofile.h52 ProfContext(const std::string &name, ProfileBase *prof);
103 explicit ProfTransaction(const ProfileBase *prof);
124 explicit NoProfTransaction(ProfileBase *prof) {} in NoProfTransaction() argument
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/profiling/
Dprofiling_manager.cc81 Status ProfilingManager::GetProfConf(const NotNull<MsprofGeOptions *> prof) { in GetProfConf() argument
83 if (memcpy_s(prof->jobId, sizeof(prof->jobId), job_id.c_str(), strlen(job_id.c_str())) != EOK) { in GetProfConf()
106 …if (memcpy_s(prof->options, MSPROF_OPTIONS_DEF_LEN_MAX, options_for_cann_str.c_str(), options_for_… in GetProfConf()
Dprofiling_manager.h73 Status GetProfConf(NotNull<MsprofGeOptions *> prof);
/third_party/boost/tools/build/src/tools/features/
Ddebug-feature.jam24 #| tag::prof-doc[]
30 |# # end::prof-doc[]
/third_party/node/doc/api/
Dcli.md104 ### `--cpu-prof`
114 If `--cpu-prof-dir` is not specified, the generated profile is placed
117 If `--cpu-prof-name` is not specified, the generated profile is
121 $ node --cpu-prof index.js
126 ### `--cpu-prof-dir`
133 Specify the directory where the CPU profiles generated by `--cpu-prof` will
139 ### `--cpu-prof-interval`
147 by `--cpu-prof`. The default is 1000 microseconds.
149 ### `--cpu-prof-name`
156 Specify the file name of the CPU profile generated by `--cpu-prof`.
[all …]
/third_party/gstreamer/gstplugins_bad/tests/examples/camerabin2/
Dgst-camerabin2-test.c547 GstEncodingProfile *prof = NULL; in load_encoding_profile() local
562 prof = gst_encoding_target_get_profile (target, gep_profilename); in load_encoding_profile()
563 if (prof) in load_encoding_profile()
573 prof = gst_encoding_profile_find (gep_targetname, gep_profilename, NULL); in load_encoding_profile()
574 if (prof) in load_encoding_profile()
581 return prof; in load_encoding_profile()
663 GstEncodingProfile *prof = NULL; in setup_pipeline() local
729 prof = load_encoding_profile (); in setup_pipeline()
730 if (prof) { in setup_pipeline()
731 g_object_set (G_OBJECT (camerabin), "video-profile", prof, NULL); in setup_pipeline()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/stringprep/
DTestData.java440 String prof, int flg, Exception ex) in ConformanceTestCase() argument
449 profile = prof; in ConformanceTestCase()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DTestData.java437 String prof, int flg, Exception ex) in ConformanceTestCase() argument
446 profile = prof; in ConformanceTestCase()
/third_party/boost/boost/math/tools/
Dtoms748_solve.hpp380 …bool prof = (fabs(fa - fb) < min_diff) || (fabs(fa - fd) < min_diff) || (fabs(fa - fe) < min_diff)… in toms748_solve() local
381 if(prof) in toms748_solve()
402prof = (fabs(fa - fb) < min_diff) || (fabs(fa - fd) < min_diff) || (fabs(fa - fe) < min_diff) || (… in toms748_solve()
403 if(prof) in toms748_solve()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DFixedMetadataKinds.def15 LLVM_FIXED_MD_KIND(MD_prof, "prof", 2)
/third_party/openssl/ssl/statem/
Dextensions_clnt.c434 const SRTP_PROTECTION_PROFILE *prof = in tls_construct_ctos_use_srtp() local
437 if (prof == NULL || !WPACKET_put_bytes_u16(pkt, prof->id)) { in tls_construct_ctos_use_srtp()
1693 SRTP_PROTECTION_PROFILE *prof; in tls_parse_stoc_use_srtp() local
1724 prof = sk_SRTP_PROTECTION_PROFILE_value(clnt, i); in tls_parse_stoc_use_srtp()
1726 if (prof->id == id) { in tls_parse_stoc_use_srtp()
1727 s->srtp_profile = prof; in tls_parse_stoc_use_srtp()

123