| /base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/ |
| D | resource_manager_performance_test.cpp | 116 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/ |
| D | resource_manager_performance_test.cpp | 115 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/ |
| D | zone_util_performance_test.cpp | 57 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/ |
| D | hc_file_posix.c | 130 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/ |
| D | hc_file.c | 128 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/ |
| D | hisysevent_base_query_callback.h | 46 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()
|
| D | hisysevent_query_callback_c.h | 23 using OnCompleteFunc = void (*)(int32_t errCode, int32_t total); 37 void OnComplete(int32_t reason, int32_t total) override;
|
| /base/hiviewdfx/hiview/hisysevent/ |
| D | hiviewdfx.yaml | 34 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/ |
| D | query_sys_event_callback_stub.cpp | 70 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()
|
| D | hisysevent_query_proxy.cpp | 34 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/ |
| D | hisysevent.yaml | 82 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/ |
| D | napi_hisysevent.test.js | 189 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/ |
| D | last_kmsg | 140 <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/ |
| D | FaultHandlerConfig.h | 28 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/ |
| D | dma_info.cpp | 44 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/ |
| D | graphic_memory.h | 27 TOTAL, enumerator 42 CollectResult GetGraphicUsage(int32_t pid, Type type = Type::TOTAL);
|
| /base/msdp/device_status/tools/vdev/src/ |
| D | virtual_mouse.cpp | 174 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()
|
| D | virtual_touchscreen.cpp | 179 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/ |
| D | sys_event_stat.cpp | 137 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/ |
| D | napi_hisysevent_querier.cpp | 78 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/ |
| D | event_queue_base.cpp | 533 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/ |
| D | hisysevent_query_callback_c.cpp | 59 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/ |
| D | sensor_entity.cpp | 113 …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/ |
| D | raw_param.cpp | 165 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/ |
| D | hichecker_native_test.cpp | 116 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);
|