/foundation/graphic/graphic_2d/rosen/modules/render_service_base/rust/src/ |
H A D | lib.rs | 21 fn generate_value(start_value: f32, end_value: f32, start_time: i32, end_time: i32, current_time: i32) -> f32 ; in generate_value() 25 fn generate_value(start_value: f32, end_value: f32, start_time: i32, end_time: i32, current_time: i32) -> f32 { in generate_value() 26 let t = if end_time - start_time != 0 { in generate_value() 27 (current_time - start_time) as f32 / (end_time - start_time) as f32 in generate_value()
|
/foundation/graphic/graphic_2d/rosen/test/hyper_graphic_manager/unittest/ |
H A D | hgm_task_handle_thread_test.cpp | 98 auto end_time = std::chrono::high_resolution_clock::now();
in HWTEST_F() local 100 EXPECT_GE(std::chrono::duration_cast<std::chrono::milliseconds>(end_time - start_time).count(), 1000);
in HWTEST_F()
|
/foundation/ability/idl_tool/test/sa_test/ |
H A D | test_base.py | 188 end_time = get_time_stamp() 191 print_success("[ OK ] {} ({}ms)".format(self.name, end_time - start_time)) 193 print_failure("[ FAILED ] {} ({}ms)".format(self.name, end_time - start_time))
|
/foundation/ability/idl_tool/test/hdi_unittest/base/ |
H A D | test_base.py | 227 end_time = get_time_stamp() 230 print_success("[ OK ] {} ({}ms)".format(self.name, end_time - start_time)) 232 print_failure("[ FAILED ] {} ({}ms)".format(self.name, end_time - start_time))
|
/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/src/ |
H A D | napi_async_call.cpp | 124 auto end_time = std::chrono::steady_clock::now(); in Async() local 125 auto duration = std::chrono::duration_cast<std::chrono::milliseconds>(end_time - start_time); in Async()
|
/foundation/multimedia/av_codec/test/moduletest/vcodec/encoder/include/ |
H A D | videoenc_sample.h | 140 int64_t end_time = 0; member in OHOS::Media::VEncNdkSample
|
H A D | videoenc_api11_sample.h | 168 int64_t end_time = 0; member in OHOS::Media::VEncAPI11Sample
|
/foundation/multimedia/av_codec/test/moduletest/vcodec/hevcswdecoder/include/ |
H A D | videodec_sample.h | 129 int64_t end_time = 0; member in OHOS::Media::VDecNdkSample
|
H A D | videodec_api11_sample.h | 147 int64_t end_time = 0; member in OHOS::Media::VDecAPI11Sample
|
/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/include/ |
H A D | videodec_api11_sample.h | 149 int64_t end_time = 0; member in OHOS::Media::VDecAPI11Sample
|
H A D | videodec_sample.h | 136 int64_t end_time = 0; member in OHOS::Media::VDecNdkSample
|
/foundation/multimedia/av_codec/test/moduletest/vcodec/swdecoder/include/ |
H A D | videodec_api11_sample.h | 142 int64_t end_time = 0; member in OHOS::Media::VDecAPI11Sample
|
H A D | videodec_sample.h | 118 int64_t end_time = 0; member in OHOS::Media::VDecNdkSample
|
/foundation/ability/idl_tool/test/cmd_test/ |
H A D | cmd_test.py | 99 end_time = get_time_stamp()
102 print_success("[ OK ] {} ({}ms)".format(self.name, end_time - start_time))
104 print_failure("[ FAILED ] {} ({}ms)".format(self.name, end_time - start_time))
|