Home
last modified time | relevance | path

Searched refs:duration_ms (Results 1 – 25 of 72) sorted by relevance

123

/external/tensorflow/tensorflow/core/profiler/rpc/client/
Dcapture_profile.cc60 ProfileRequest PopulateProfileRequest(int duration_ms, in PopulateProfileRequest() argument
65 request.set_duration_ms(duration_ms); in PopulateProfileRequest()
84 int duration_ms, const string& repository_root, in Profile() argument
87 PopulateProfileRequest(duration_ms, repository_root, session_id, opts); in Profile()
108 << "NOTE: using the trace duration " << duration_ms << "ms." in Profile()
128 int duration_ms, const string& repository_root, in NewSession() argument
132 PopulateProfileRequest(duration_ms, repository_root, session_id, opts); in NewSession()
189 bool include_dataset_ops, int duration_ms, in StartTracing() argument
206 std::cout << "Starting to profile TPU traces for " << duration_ms << " ms. " in StartTracing()
209 status = Profile(service_addr, logdir, duration_ms, repository_root, in StartTracing()
[all …]
Dcapture_profile.h30 void StartMonitoring(const tensorflow::string& service_addr, int duration_ms,
39 bool include_dataset_ops, int duration_ms,
/external/sfntly/cpp/src/test/
Dplatform_thread.cc51 void PlatformThread::Sleep(int32_t duration_ms) { in Sleep() argument
52 ::Sleep(duration_ms); in Sleep()
85 void PlatformThread::Sleep(int32_t duration_ms) {
89 sleep_time.tv_sec = duration_ms / 1000;
90 duration_ms -= sleep_time.tv_sec * 1000;
93 sleep_time.tv_nsec = duration_ms * 1000 * 1000; // nanoseconds.
/external/tensorflow/tensorflow/contrib/tpu/profiler/
Dcapture_tpu_profile.cc90 int duration_ms = std::max(FLAGS_duration_ms, 0); in main() local
91 if (duration_ms == 0) { in main()
94 duration_ms = FLAGS_monitoring_level == 0 ? 2000 : 1000; in main()
101 << FLAGS_service_addr << " for " << duration_ms in main()
105 FLAGS_service_addr, duration_ms, FLAGS_monitoring_level, num_queries); in main()
109 FLAGS_include_dataset_ops, duration_ms, num_tracing_attempts); in main()
/external/libtextclassifier/annotator/duration/
Dduration_test.cc125 Field(&ClassificationResult::duration_ms, 15 * 60 * 1000))); in TEST_F()
136 Field(&ClassificationResult::duration_ms, 15 * 60 * 1000))); in TEST_F()
153 Field(&ClassificationResult::duration_ms, in TEST_F()
172 Field(&ClassificationResult::duration_ms, in TEST_F()
191 Field(&ClassificationResult::duration_ms, in TEST_F()
209 Field(&ClassificationResult::duration_ms, in TEST_F()
228 Field(&ClassificationResult::duration_ms, in TEST_F()
247 Field(&ClassificationResult::duration_ms, in TEST_F()
267 Field(&ClassificationResult::duration_ms, in TEST_F()
286 Field(&ClassificationResult::duration_ms, in TEST_F()
[all …]
/external/v8/src/compiler-dispatcher/
Dcompiler-dispatcher-tracer.cc68 void CompilerDispatcherTracer::RecordPrepare(double duration_ms) { in RecordPrepare() argument
70 prepare_events_.Push(duration_ms); in RecordPrepare()
73 void CompilerDispatcherTracer::RecordCompile(double duration_ms, in RecordCompile() argument
76 compile_events_.Push(std::make_pair(source_length, duration_ms)); in RecordCompile()
79 void CompilerDispatcherTracer::RecordFinalize(double duration_ms) { in RecordFinalize() argument
81 finalize_events_.Push(duration_ms); in RecordFinalize()
Dcompiler-dispatcher-tracer.h55 void RecordPrepare(double duration_ms);
56 void RecordCompile(double duration_ms, size_t source_length);
57 void RecordFinalize(double duration_ms);
/external/perfetto/src/perfetto_cmd/
Dconfig_unittest.cc44 EXPECT_EQ(config.duration_ms(), 2); in TEST_F()
50 EXPECT_EQ(config.duration_ms(), 100 * 1000); in TEST_F()
56 EXPECT_EQ(config.duration_ms(), 2 * 60 * 1000); in TEST_F()
62 EXPECT_EQ(config.duration_ms(), 2 * 60 * 60 * 1000); in TEST_F()
126 EXPECT_EQ(config.duration_ms(), 60 * 60 * 1000); in TEST_F()
Dpbtxt_to_pb_unittest.cc65 EXPECT_EQ(config.duration_ms(), 1234); in TEST()
73 EXPECT_EQ(config.duration_ms(), 1234); in TEST()
82 EXPECT_EQ(config.duration_ms(), 1234); in TEST()
109 EXPECT_EQ(config.duration_ms(), 1000); in TEST()
263 EXPECT_EQ(config.duration_ms(), 1234); in TEST()
323 EXPECT_EQ(config.duration_ms(), 10000); in TEST()
Dconfig.cc87 uint64_t duration_ms = 0; in CreateConfigFromOptions() local
88 if (!ConvertTimeToMs(options.time, &duration_ms)) { in CreateConfigFromOptions()
117 config->set_duration_ms(static_cast<unsigned int>(duration_ms)); in CreateConfigFromOptions()
/external/tensorflow/tensorflow/python/eager/
Dprofiler_client.py27 duration_ms, argument
50 service_addr, logdir, worker_list, include_dataset_ops, duration_ms,
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/
Dunittest.cc52 for (int duration_ms = 10;; duration_ms += 10) { in EncodePacket() local
56 if (encoded_bytes > 0 || duration_ms >= 60) { in EncodePacket()
60 return duration_ms; in EncodePacket()
/external/tensorflow/tensorflow/c/eager/
Dc_api_experimental.cc83 bool include_dataset_ops, int duration_ms, in TFE_ProfilerClientStartTracing() argument
91 service_addr, logdir, worker_list, include_dataset_ops, duration_ms, in TFE_ProfilerClientStartTracing()
/external/tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/osx/
Daudio_provider.cc108 int start_ms, int duration_ms, in GetAudioSamples() argument
128 duration_ms * (kAudioSampleFrequency / 1000); in GetAudioSamples()
/external/grpc-grpc/test/cpp/thread_manager/
Dthread_manager_test.cc76 void ThreadManagerTest::SleepForMs(int duration_ms) { in SleepForMs() argument
79 gpr_time_from_millis(duration_ms, GPR_TIMESPAN)); in SleepForMs()
/external/tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/disco_f746ng/
Daudio_provider.cc154 int start_ms, int duration_ms, in GetAudioSamples() argument
171 duration_ms * (kAudioSampleFrequency / 1000); in GetAudioSamples()
/external/perfetto/src/tracing/api_impl/
Dconsumer_api_test.cc34 std::string GetConfig(uint32_t duration_ms) { in GetConfig() argument
36 trace_config.set_duration_ms(duration_ms); in GetConfig()
/external/bcc/tools/
Dtcpconnlat.py60 if args.duration_ms:
62 duration_us = int(args.duration_ms * 1000)
/external/tensorflow/tensorflow/core/profiler/
Dprofiler_service.proto40 // stops. For now, it collects `duration_ms` milliseconds worth of data.
41 uint64 duration_ms = 1; field
113 uint64 duration_ms = 1; field
/external/webrtc/webrtc/voice_engine/
Dchannel_proxy.cc136 uint32_t duration_ms) { in SendTelephoneEventOutband() argument
139 channel()->SendTelephoneEventOutband(event, duration_ms, 10, false) == 0; in SendTelephoneEventOutband()
/external/boringssl/src/ssl/
Dd1_lib.cc194 void DTLSv1_set_initial_timeout_duration(SSL *ssl, unsigned int duration_ms) { in DTLSv1_set_initial_timeout_duration() argument
195 ssl->initial_timeout_duration_ms = duration_ms; in DTLSv1_set_initial_timeout_duration()
/external/webrtc/talk/media/webrtc/
Dfakewebrtccall.cc60 uint32_t duration_ms) { in SendTelephoneEvent() argument
63 latest_telephone_event_.duration_ms = duration_ms; in SendTelephoneEvent()
/external/tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/
Daudio_provider.h33 int start_ms, int duration_ms,
Daudio_provider.cc26 int start_ms, int duration_ms, in GetAudioSamples() argument
/external/perfetto/test/configs/
Dheapprofd.cfg27 duration_ms: 20000

123