Home
last modified time | relevance | path

Searched refs:load (Results 1 – 25 of 62) sorted by relevance

123

/developtools/hiperf/src/
Dring_buffer.cpp35 return size_ - (head_.load(std::memory_order_relaxed) - tail_.load(std::memory_order_relaxed)); in GetFreeSize()
40 size_t writeHead = head_.load(std::memory_order_relaxed); in AllocForWrite()
41 size_t readHead = tail_.load(std::memory_order_acquire); in AllocForWrite()
73 size_t head = head_.load(std::memory_order_relaxed); in EndWrite()
80 size_t writeHead = head_.load(std::memory_order_acquire); in GetReadData()
81 size_t readHead = tail_.load(std::memory_order_relaxed); in GetReadData()
107 size_t tail = tail_.load(std::memory_order_relaxed); in EndRead()
/developtools/profiler/device/plugins/native_hook/src/
Dstack_writer.cpp49 bytesCount_.load(), bytesPending_.load(), writeCount_.load(), flushCount_.load()); in Report()
97 eventNotifier_->Post(flushCount_.load()); in Flush()
Dhook_client.cpp108 if (g_addressChecker[val / DIVIDE_VAL].slot.load() & (0x1 << (val % DIVIDE_VAL))) { in IsAddrExist()
116 return g_dispatch.load(std::memory_order_relaxed); in GetDispatch()
275 …ROFILER_LOG_INFO(LOG_CORE, "ohos_malloc_hook_on_end, mallocTimes :%" PRIu64, g_mallocTimes.load()); in ohos_release_on_end()
416 …g_mallocTimes.load(), g_timeCost.load(), g_dataCounts.load(), g_timeCost.load() / g_mallocTimes.lo… in hook_malloc()
/developtools/profiler/device/services/shared_memory/src/
Dshare_memory_block.cpp188 uint32_t wp = header_->info.writeOffset_.load(); in GetCurrentFreeMemory()
190 if (header_->info.readOffset_.load() == 0) { in GetCurrentFreeMemory()
196 …if (wp < header_->info.readOffset_.load() && header_->info.readOffset_.load() < wp + realSize) { … in GetCurrentFreeMemory()
363 if (header_->info.readOffset_.load() == header_->info.writeOffset_.load()) { in GetDataSize()
366 uint32_t ret = *((uint32_t*)(&header_->data[header_->info.readOffset_.load()])); in GetDataSize()
375 if (*((uint32_t*)(&header_->data[header_->info.readOffset_.load()])) == INVALID_LENGTH) { in GetDataPoint()
378 return &header_->data[header_->info.readOffset_ .load()+ PIECE_HEAD_LEN]; in GetDataPoint()
383 if (header_->info.readOffset_.load() == header_->info.writeOffset_.load()) { in Next()
386 uint32_t size = *((uint32_t*)(&header_->data[header_->info.readOffset_.load()])); in Next()
455 uint32_t wp = header_->info.writeOffset_.load(std::memory_order_relaxed); in UseMemory()
[all …]
/developtools/profiler/device/base/src/
Depoll_event_poller.cpp170 PROFILER_LOG_INFO(LOG_CORE, "Init %d", state_.load()); in Init()
171 CHECK_TRUE(state_ == INITIAL, false, "Init FAIL %d", state_.load()); in Init()
190 PROFILER_LOG_INFO(LOG_CORE, "EpollEventPoller::Init %d done!", state_.load()); in Init()
202 PROFILER_LOG_INFO(LOG_CORE, "Finalize %d", state_.load()); in Finalize()
203 CHECK_TRUE(state_ == INITIED, false, "Finalize FAIL %d", state_.load()); in Finalize()
228 PROFILER_LOG_INFO(LOG_CORE, "%s %d", __func__, state_.load()); in Start()
234 CHECK_TRUE(state_ == INITIED, false, "Start FAIL %d", state_.load()); in Start()
243 CHECK_TRUE(state_ == STARTED, false, "Stop FAIL %d", state_.load()); in Stop()
/developtools/profiler/device/plugins/api/src/
Dbuffer_writer.cpp61 bytesCount_.load(), bytesPending_.load(), writeCount_.load(), flushCount_.load()); in Report()
140 eventNotifier_->Post(flushCount_.load()); in Flush()
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/profiler/item/
DGPU.ets25 "/sys/class/devfreq/fde60000.gpu/load", //RK
78 let load = "-1"
80 load = loadStr[0].toString()
82 load = gpuLoad.toString()
85 this.gpuMap.set("gpuLoad", load)
/developtools/integration_verification/tools/deps_guard/elf_file_mgr/sa/
Dsa.py35 profile = json.load(f)
54 def load(mgr, out_root_path): member in SAParser
72 parser.load(None, "/home/handy/qemu/out/rk3568")
/developtools/ace_ets2bundle/compiler/sample/pages/testcases/
Dimage.ets25 console.log('load image, width2: ' + e.width)
26 console.log('load image, height3: ' + e.height)
29 console.log('load image error1')
/developtools/integration_verification/tools/deps_guard/elf_file_mgr/innerapi/
Dinnerapi.py24 def load(mgr, product_out_path): member in InnerAPILoader
41 info = json.load(f)
/developtools/profiler/device/base/test/unittest/
Dschedule_task_manager_test.cpp47 EXPECT_EQ(count.load(), 1);
80 EXPECT_LE(abs(count.load() - expected), thresh);
115 EXPECT_LE(abs(count.load() - expected), thresh);
/developtools/profiler/host/smartperf/client/client_command/
DGPU.cpp32 float load = GetGpuLoad(); in ItemData() local
34 result["gpuLoad"] = std::to_string(load); in ItemData()
/developtools/smartperf_host/trace_streamer/src/parser/bytrace_parser/
Dbytrace_parser.cpp200 if (dataSegArray_[head].status.load() != TS_PARSE_STATUS_INIT) { in ParseTraceDataItem()
202 filterHead_, dataSegArray_[head].status.load()); in ParseTraceDataItem()
235 if (seg.status.load() != TS_PARSE_STATUS_SEPRATED) { in GetNextSegment()
245 filterHead_, seg.status.load()); in GetNextSegment()
351 if (seg.status.load() != TS_PARSE_STATUS_INVALID) { in FilterData()
359 if (seg.status.load() == TS_PARSE_STATUS_INVALID) { in FilterData()
365 if (seg.status.load() != TS_PARSE_STATUS_PARSED) { in FilterData()
/developtools/integration_verification/tools/deps_guard/elf_file_mgr/hdi/
Dhdi_parser.py24 def load(mgr, product_out_path): member in HdiParser
71 parser.load(None, "/home/z00325844/ohos/vendor/hihope/rk3568/hdf_config/uhdf/device_info.hcs")
/developtools/integration_verification/tools/components/
Dget_components.py30 config_json = json.load(r)
34 inherit_file = json.load(r)
/developtools/profiler/hiebpf/src/
Dhhlog.cpp91 auto timer = timer_.load(); in GetLogFileName()
113 auto timer = timer_.load(); in GetFormatTime()
150 if (stop_.load() and (dataSize == 0)) { in SaveLog()
/developtools/profiler/device/plugins/api/test/unittest/
Dbuffer_write_test.cpp123 …= (uint8_t *)g_smbAddr1 + sizeof(ShareMemoryBlock::BlockHeader) + header_->info.readOffset_.load(); in CheckBuffer()
130 header_->info.readOffset_ = header_->info.writeOffset_.load(); in CheckBuffer()
141 …= (uint8_t *)g_smbAddr2 + sizeof(ShareMemoryBlock::BlockHeader) + header_->info.readOffset_.load(); in CheckMessage()
143 header_->info.readOffset_ = header_->info.writeOffset_.load(); in CheckMessage()
/developtools/profiler/device/plugins/ftrace_plugin/src/
Dresult_transporter.cpp91 auto count = bytesCount_.load(); in Flush()
92 auto pending = bytesPending_.load(); in Flush()
/developtools/integration_verification/tools/rom_ram_analyzer/lite_small/pkgs/
Dsimple_yaml_tool.py27 return yaml.load(f, Loader=SafeLoader)
/developtools/integration_verification/tools/rom_ram_analyzer/lite_small/src/
Dget_subsystem_component.py36 subsystem_json = json.load(f)
51 bundle_json = json.load(bundle_file)
/developtools/smartperf_host/ide/src/trace/bean/
DEnergyStruct.ts26 load: string = '-'; property in PowerDetailsEnergy
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/mock/rollup_mock/
Drollup_plugin_mock.ts98 this.load();
174 public load() { method in RollUpPluginMock
/developtools/integration_verification/tools/deps_guard/elf_file_mgr/
Delf_file_mgr.py112 CompileInfoLoader.load(self, self._product_out_path)
113 HdiParser.load(self, self._product_out_path)
114 SAParser.load(self, self._product_out_path)
/developtools/smartperf_host/ide/test/trace/bean/
DEnergyStruct.test.ts30 load: expect.any(String),
/developtools/integration_verification/tools/deps_guard/elf_file_mgr/module_info/
Dcompile_info_loader.py29 modules = json.load(f)
97 def load(load_mgr, product_out_path): member in CompileInfoLoader

123