Home
last modified time | relevance | path

Searched full:total (Results 1 – 25 of 1581) sorted by relevance

12345678910>>...64

/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
Dresource_manager_performance_test.cpp116 unsigned long long total = 0; in TestLoadFromIndex() local
180 total += std::chrono::duration_cast<std::chrono::microseconds>(t2 - t1).count(); in TestLoadFromIndex()
184 average = total / 1000.0; in TestLoadFromIndex()
209 unsigned long long total = 0; variable
228 total += std::chrono::duration_cast<std::chrono::microseconds>(t2 - t1).count();
232 average = total / 1000.0;
249 unsigned long long total = 0; variable
263 total += std::chrono::duration_cast<std::chrono::microseconds>(t2 - t1).count();
266 average = total / 1000.0;
283 unsigned long long total = 0; variable
[all …]
/base/global/resource_management/frameworks/resmgr/test/unittest/common/
Dresource_manager_performance_test.cpp115 long long total = 0; in ParseIndexCost() local
143 total += std::chrono::duration_cast<std::chrono::microseconds>(t2 - t1).count(); in ParseIndexCost()
145 double average = total / 1000.0; in ParseIndexCost()
155 long long total = 0; in TestLoadFromIndex() local
191 average = total / 1000.0; // 1000.0 means Divide by the total number to obtain the average value in TestLoadFromIndex()
216 long long total = 0; variable
235 total += std::chrono::duration_cast<std::chrono::microseconds>(t2 - t1).count();
239 average = total / 1000.0;
256 unsigned long long total = 0; variable
270 total += std::chrono::duration_cast<std::chrono::microseconds>(t2 - t1).count();
[all …]
/base/global/i18n/frameworks/zone/test/unittest/
Dzone_util_performance_test.cpp57 uint64_t total = 0; variable
68 total += std::chrono::duration_cast<std::chrono::microseconds>(t2 - t1).count();
71 average = total / (1000.0 * 2);
82 uint64_t total = 0; variable
94 total += std::chrono::duration_cast<std::chrono::microseconds>(t2 - t1).count();
97 average = total / (1000.0 * 2);
108 uint64_t total = 0; variable
118 total += std::chrono::duration_cast<std::chrono::microseconds>(t2 - t1).count();
120 average = total / 1000.0;
131 uint64_t total = 0; variable
[all …]
/base/security/device_auth/deps_adapter/os_adapter/impl/src/liteos/mini/
Dhc_file_posix.c130 int total = 0; in HcFileRead() local
132 while (total < dstSize) { in HcFileRead()
133 int readCount = read(fp, dstBuffer + total, dstSize - total); in HcFileRead()
134 if (readCount < 0 || readCount > (dstSize - total)) { in HcFileRead()
140 return total; in HcFileRead()
142 total += readCount; in HcFileRead()
144 LOGI("[OS]: file read quit. [ReadSize]: %d", total); in HcFileRead()
145 return total; in HcFileRead()
156 int total = 0; in HcFileWrite() local
158 while (total < srcSize) { in HcFileWrite()
[all …]
/base/security/device_auth/deps_adapter/os_adapter/impl/src/linux/
Dhc_file.c128 int total = 0; in HcFileRead() local
130 while (total < dstSize) { in HcFileRead()
131 int readCount = (int)fread(dstBuffer + total, 1, dstSize - total, fp); in HcFileRead()
136 return total; in HcFileRead()
138 total += readCount; in HcFileRead()
140 LOGI("[OS]: file read quit. [ReadSize]: %d", total); in HcFileRead()
141 return total; in HcFileRead()
156 int total = 0; in HcFileWrite() local
158 while (total < srcSize) { in HcFileWrite()
159 int writeCount = (int)fwrite(srcBuffer + total, 1, srcSize - total, fp); in HcFileWrite()
[all …]
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/include/
Dhisysevent_base_query_callback.h46 virtual void OnComplete(int32_t reason, int32_t total) in OnComplete() argument
49 callback->OnComplete(reason, total); in OnComplete()
53 virtual void OnComplete(int32_t reason, int32_t total, int64_t seq) in OnComplete() argument
55 OnComplete(reason, total); in OnComplete()
Dhisysevent_query_callback_c.h23 using OnCompleteFunc = void (*)(int32_t errCode, int32_t total);
37 void OnComplete(int32_t reason, int32_t total) override;
/base/hiviewdfx/hiview/hisysevent/
Dhiviewdfx.yaml34 TOTAL: {type: UINT32, desc: total events}
47 TOTAL_START_NUM: {type: UINT32, desc: total start number}
58 MAX_TOTAL_COUNT: {type: UINT32, desc: maximum total count}
59 MAX_TOTAL_SIZE: {type: UINT32, desc: maximum total size}
62 TOTAL_COUNT: {type: UINT32, desc: total count}
63 TOTAL_SIZE: {type: UINT32, desc: total size}
79 TOTAL_COUNT: {type: UINT32, desc: total count}
80 TOTAL_SIZE: {type: UINT32, desc: total size}
/base/hiviewdfx/hisysevent/adapter/native/idl/src/
Dquery_sys_event_callback_stub.cpp70 int32_t total = 0; in OnRemoteRequest() local
71 ret = data.ReadInt32(total); in OnRemoteRequest()
73 HILOG_ERROR(LOG_CORE, "parcel read total failed."); in OnRemoteRequest()
82 OnComplete(reason, total, seq); in OnRemoteRequest()
Dhisysevent_query_proxy.cpp34 void HiSysEventQueryProxy::OnComplete(int32_t reason, int32_t total, int64_t seq) in OnComplete() argument
37 queryCallback->OnComplete(reason, total, seq); in OnComplete()
/base/hiviewdfx/hiview/plugins/performance/
Dhisysevent.yaml82 TOTAL_APP_FRAMES: {type: INT32, desc: total app frames during the scene}
83 TOTAL_APP_MISSED_FRAMES: {type: INT32, desc: total missed frames during the scene}
86 TOTAL_RENDER_FRAMES: {type: INT32, desc: total render frames during the scene}
87 TOTAL_RENDER_MISSED_FRAMES: {type: INT32, desc: total missed frames during the scene}
108 TOTAL_APP_FRAMES: { type: INT32, desc: total app frames during the scene }
109 TOTAL_APP_MISSED_FRAMES: { type: INT32, desc: total missed frames during the scene }
112 TOTAL_RENDER_FRAMES: { type: INT32, desc: total render frames during the scene }
113 TOTAL_RENDER_MISSED_FRAMES: { type: INT32, desc: total missed frames during the scene }
/base/hiviewdfx/hisysevent/test/unittest/common/napi/
Dnapi_hisysevent.test.js189 onComplete: function(reason, total) { argument
190 onCompleteCallback(reason, total)
326 }, (reason, total) => {
357 }, (reason, total) => {
387 }, (reason, total) => {
567 }, (reason, total) => {
592 }, (reason, total) => {
663 }, (reason, total) => {
664 expect(total >= QUERY_1_ITEM).assertTrue()
708 }, (reason, total) => {
[all …]
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest018/
Dlast_kmsg140 <14>[ 4.161405] [pid=1][PARAM][INFO][param_dac.c:157]Load parameter label total 14 success /chip…
141 <14>[ 4.162106] [pid=1][PARAM][INFO][param_dac.c:157]Load parameter label total 14 success /chip…
144 <14>[ 4.180149] [pid=1][PARAM][INFO][param_dac.c:157]Load parameter label total 14 success /syst…
145 <14>[ 4.181180] [pid=1][PARAM][INFO][param_dac.c:157]Load parameter label total 15 success /syst…
146 <14>[ 4.182306] [pid=1][PARAM][INFO][param_dac.c:157]Load parameter label total 17 success /syst…
147 <14>[ 4.183471] [pid=1][PARAM][INFO][param_dac.c:157]Load parameter label total 16 success /syst…
148 <14>[ 4.184371] [pid=1][PARAM][INFO][param_dac.c:157]Load parameter label total 14 success /syst…
149 <14>[ 4.186184] [pid=1][PARAM][INFO][param_dac.c:157]Load parameter label total 18 success /syst…
150 <14>[ 4.186928] [pid=1][PARAM][INFO][param_dac.c:157]Load parameter label total 14 success /syst…
151 <14>[ 4.187675] [pid=1][PARAM][INFO][param_dac.c:157]Load parameter label total 14 success /syst…
[all …]
/base/hiviewdfx/hiview/plugins/performance/common/
DFaultHandlerConfig.h28 unsigned int levelA{UINT_MAX}; /* A standard --total time span,0-invalid,unit:ms */
29 unsigned int levelB{UINT_MAX}; /* B standard --total time span,0-invalid,unit:ms */
30 unsigned int levelC{UINT_MAX}; /* C standard --total time span,0-invalid,unit:ms */
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/
Ddma_info.cpp44 Total dmabuf size of composer_host: 29491200 bytes in CreateDmaInfo()
47 Total dmabuf size of render_service: 35520512 bytes in CreateDmaInfo()
93 * @description: get dma total
95 * @return {uint64_t} dma total
/base/hiviewdfx/hiview/framework/native/unified_collection/graphic_memory/include/
Dgraphic_memory.h27 TOTAL, enumerator
42 CollectResult GetGraphicUsage(int32_t pid, Type type = Type::TOTAL);
/base/msdp/device_status/tools/vdev/src/
Dvirtual_mouse.cpp174 double total = std::min(delta, MAXIMUM_STEP_LENGTH); in Move() local
176 int32_t count = static_cast<int32_t>(ceil(total / FAST_STEP)); in Move()
178 if (total < TWICE_FAST_STEP) { in Move()
179 if (total > FAST_STEP) { in Move()
180 step = total / HALF_VALUE; in Move()
182 step = total; in Move()
200 total -= step; in Move()
Dvirtual_touchscreen.cpp179 double total = ::hypot(tcoord.x - slots_[slot].coord.x, tcoord.y - slots_[slot].coord.y); in Move() local
180 if (total <= STEP_LENGTH) { in Move()
185 if (total < TWICE_STEP_LENGTH) { in Move()
186 step = total / HALF_VALUE; in Move()
188 …ts_[slot].coord.x += static_cast<int32_t>(round(step * (tcoord.x - slots_[slot].coord.x) / total)); in Move()
189 …ts_[slot].coord.y += static_cast<int32_t>(round(step * (tcoord.y - slots_[slot].coord.y) / total)); in Move()
/base/hiviewdfx/hiview/plugins/sysevent_source/
Dsys_event_stat.cpp137 dprintf(fd_, "total count=%" PRId64 ", valid count=%" PRId64 ", invalid count=%" PRId64 "\n", in StatHead()
170 int64_t total = 0; in GetEventCount() local
172 total = total + it->second; in GetEventCount()
174 return total; in GetEventCount()
186 dprintf(fd_, "*domain=%s total count=%" PRId64 "\n", it->c_str(), GetEventCount(events)); in CalcStat()
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/
Dnapi_hisysevent_querier.cpp78 void NapiHiSysEventQuerier::OnComplete(int32_t reason, int32_t total, int64_t seq) in OnComplete() argument
81 [this, reason, total, seq] (const napi_env env, const napi_ref ref, pid_t threadId) { in OnComplete()
88 NapiHiSysEventUtil::CreateInt32Value(env, total, totalJsParam); in OnComplete()
/base/notification/eventhandler/frameworks/eventhandler/src/
Devent_queue_base.cpp533 uint32_t total = 0; in DumpCurentQueueInfo() local
540 if (total < dumpMaxSize) { in DumpCurentQueueInfo()
543 ++total; in DumpCurentQueueInfo()
545 … dumper.Dump(dumper.GetTag() + " Total size of " + priority[i] + " events : " + std::to_string(n) + in DumpCurentQueueInfo()
552 if (total < dumpMaxSize) { in DumpCurentQueueInfo()
555 ++total; in DumpCurentQueueInfo()
557 …dumper.Dump(dumper.GetTag() + " Total size of Idle events : " + std::to_string(n) + std::string(LI… in DumpCurentQueueInfo()
558 …dumper.Dump(dumper.GetTag() + " Total event size : " + std::to_string(total) + std::string(LINE_SE… in DumpCurentQueueInfo()
589 uint32_t total = 0; in DumpQueueInfo() local
596 ++total; in DumpQueueInfo()
[all …]
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/
Dhisysevent_query_callback_c.cpp59 void HiSysEventQueryCallbackC::OnComplete(int32_t reason, int32_t total) in OnComplete() argument
65 onComplete_(reason, total); in OnComplete()
/base/powermgr/battery_statistics/services/native/src/entities/
Dsensor_entity.cpp113 …STATS_HILOGD(COMP_SVC, "Update sensor total power consumption: %{public}lfmAh for uid: %{public}d", in Calculate()
117 …STATS_HILOGD(COMP_SVC, "Create sensor total power consumption: %{public}lfmAh for uid: %{public}d", in Calculate()
207 // Reset app sensor total power consumption in Reset()
212 // Reset app gravity on total power consumption in Reset()
217 // Reset app proximity on total power consumption in Reset()
/base/hiviewdfx/hidumper/services/native/src/
Draw_param.cpp165 void RawParam::UpdateProgress(uint32_t total, uint32_t current) in UpdateProgress() argument
167 if ((!progressEnabled_) || (outfd_ < 0) || (total < 1) || (total < current)) { in UpdateProgress()
170 UpdateProgress((uint64_t(FINISH) * current) / total); in UpdateProgress()
/base/hiviewdfx/hichecker/test/unittest/common/native/
Dhichecker_native_test.cpp116 int64_t total = 0; variable
121 total += duration;
123 int64_t duration = (total / LOOP_COUNT);
182 int64_t total = 0; variable
187 total += duration;
189 int64_t duration = (total / LOOP_COUNT);

12345678910>>...64