Searched refs:MB (Results 1 - 25 of 135) sorted by relevance

123456

/external/tensorflow/tensorflow/core/profiler/g3doc/
H A Dprofile_memory.md29 Identity 32515.37MB (100.00%, 27.02%)
30 FusedBatchNormGrad 10802.14MB (72.98%, 8.98%)
31 FusedBatchNorm 10517.52MB (64.01%, 8.74%)
32 Conv2D 10509.25MB (55.27%, 8.73%)
33 Conv2DBackpropInput 9701.39MB (46.54%, 8.06%)
34 ReluGrad 9206.45MB (38.48%, 7.65%)
35 Relu 8462.80MB (30.83%, 7.03%)
36 DepthwiseConv2dNativeBackpropInput 7899.35MB (23.80%, 6.56%)
37 DepthwiseConv2dNative 7425.17MB (17.23%, 6.17%)
38 MaxPoolGrad 3015.44MB (11.0
[all...]
/external/linux-kselftest/tools/testing/selftests/x86/
H A Dmpx-mm.h6 #define MB (1UL<<20) macro
/external/llvm/unittests/ExecutionEngine/Orc/
H A DIndirectionUtilsTest.cpp21 ModuleBuilder MB(Context, "x86_64-apple-macosx10.10", "");
22 Function *F = MB.createFunctionDecl<void(DummyStruct, DummyStruct)>("");
25 AttributeSet::get(MB.getModule()->getContext(), 1U,
28 AttributeSet::get(MB.getModule()->getContext(), 2U,
31 AttributeSet::get(MB.getModule()->getContext(), ~0U,
33 F->setAttributes(AttributeSet::get(MB.getModule()->getContext(), Attrs));
35 auto ImplPtr = orc::createImplPointer(*F->getType(), *MB.getModule(), "", nullptr);
H A DOrcCAPITest.cpp28 ModuleBuilder MB(Context, TT.str(), "");
29 Function *TestFunc = MB.createFunctionDecl<int()>("testFunc");
30 Function *Main = MB.createFunctionDecl<int(int, char*[])>("main");
37 return MB.takeModule();
/external/llvm/tools/llvm-c-test/
H A Ddiagnostic.c63 LLVMMemoryBufferRef MB; local
65 if (LLVMCreateMemoryBufferWithSTDIN(&MB, &msg)) {
73 int Ret = LLVMGetBitcodeModule2(MB, &M);
80 LLVMDisposeMemoryBuffer(MB);
H A Dobject.c21 LLVMMemoryBufferRef MB; local
26 if (LLVMCreateMemoryBufferWithSTDIN(&MB, &msg)) {
31 O = LLVMCreateObjectFile(MB);
53 LLVMMemoryBufferRef MB; local
59 if (LLVMCreateMemoryBufferWithSTDIN(&MB, &msg)) {
64 O = LLVMCreateObjectFile(MB);
H A Dmodule.c29 LLVMMemoryBufferRef MB; local
33 if (LLVMCreateMemoryBufferWithSTDIN(&MB, &msg)) {
43 Ret = LLVMGetBitcodeModule2(MB, &M);
45 Ret = LLVMParseBitcode2(MB, &M);
48 Ret = LLVMGetBitcodeModule(MB, &M, &msg);
50 Ret = LLVMParseBitcode(MB, &M, &msg);
55 LLVMDisposeMemoryBuffer(MB);
60 LLVMDisposeMemoryBuffer(MB);
/external/ltp/testcases/kernel/numa/
H A Dnuma01.sh85 export MB=$((1024*1024))
114 Mem_curr=$(echo "$(extract_numastat_p $pid $node) * $MB" |bc)
115 if [ $(echo "$Mem_curr < $MB" | bc) -eq 1 ]; then
148 Mem_curr=$(echo "$(extract_numastat_p $pid $Preferred_node) * $MB" |bc)
149 if [ $(echo "$Mem_curr < $MB" |bc ) -eq 1 ]; then
184 Mem_curr=$(echo "$(extract_numastat_p $pid $Preferred_node) * $MB" |bc)
185 if [ $(echo "$Mem_curr < $MB" |bc ) -eq 1 ]; then
204 Exp_incr=$(echo "$MB / $total_nodes" |bc)
212 Mem_curr=$(echo "$(extract_numastat_p $pid $node) * $MB" |bc)
231 Exp_incr=$(echo "$MB /
[all...]
H A Dsupport_numa.c45 #define MB (1<<20) macro
54 printf(" argv[1] == \"alloc_1MB\" then allocate 1MB of memory\n");
55 printf(" argv[1] == \"alloc_1MB_shared\" then allocate 1MB of share memory\n");
103 buf = malloc(MB);
108 for (i = 0; i < MB; i += PAGE_SIZE) {
118 /* Writing 1MB of random data into this file [32 * 32768 = 1024 * 1024] */
/external/llvm/include/llvm/Support/
H A DSpecialCaseList.h68 static std::unique_ptr<SpecialCaseList> create(const MemoryBuffer *MB,
96 bool parse(const MemoryBuffer *MB, std::string &Error);
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCTargetDesc.h60 static inline bool isRunOfOnes(unsigned Val, unsigned &MB, unsigned &ME) { argument
66 MB = countLeadingZeros(Val);
76 MB = countLeadingZeros((Val - 1) ^ Val) + 1;
/external/llvm/unittests/Support/
H A DMemoryBufferTest.cpp80 ErrorOr<OwningBuffer> MB = MemoryBuffer::getFile(TestPath.c_str()); local
81 std::error_code EC = MB.getError();
84 const char *BufData = MB.get()->getBufferStart();
173 OwningBuffer MB(MemoryBuffer::getMemBuffer(data));
174 MemoryBufferRef MBR(*MB);
176 EXPECT_EQ(MB->getBufferStart(), MBR.getBufferStart());
177 EXPECT_EQ(MB->getBufferIdentifier(), MBR.getBufferIdentifier());
198 ErrorOr<OwningBuffer> MB = MemoryBuffer::getFileSlice(TestPath.str(), local
200 std::error_code EC = MB.getError();
202 EXPECT_EQ(0x4000UL, MB
[all...]
/external/ltp/testcases/kernel/mem/mtest06/
H A Dmmap2.c51 /* large (by default 128MB) file. */
76 #define MB (1024 * 1024) macro
102 while (index < (size * MB)) {
139 "128MB\n"
201 "fsize %lu MB\n", fsize = 128);
218 "\tSize of temp file in MB: %lu\n", exec_time, fsize);
255 memptr = mmap(0, (fsize * MB), PROT_READ | PROT_WRITE,
264 memset(memptr, 'A', ((fsize * MB) / sizeof(char)));
266 if (msync(memptr, ((fsize * MB) / sizeof(char)),
272 if (munmap(memptr, (fsize * MB) / sizeo
[all...]
/external/linux-kselftest/tools/testing/selftests/vm/
H A Dgup_benchmark.c14 #define MB (1UL << 20) macro
30 unsigned long size = 128 * MB;
37 size = atoi(optarg) * MB;
/external/v8/src/heap/
H A Dgc-idle-time-handler.h78 static const size_t kMaximumMarkingStepSize = 700 * MB;
86 static const size_t kInitialConservativeMarkCompactSpeed = 2 * MB;
91 2 * MB;
/external/tremolo/Tremolo/
H A Dasm_arm.h67 #define MB() asm volatile ("" : : : "memory") macro
83 MB();
102 MB();
121 MB();
/external/clang/lib/Rewrite/
H A DRewriter.cpp230 StringRef MB = SourceMgr->getBufferData(FID); local
231 I->second.Initialize(MB.begin(), MB.end());
246 StringRef MB = SourceMgr->getBufferData(FID); local
257 while (isWhitespaceExceptNL(MB[i]))
259 indentSpace = MB.substr(lineOffs, i-lineOffs);
323 StringRef MB = SourceMgr->getBufferData(FID); local
324 return ReplaceText(start, origLength, MB.substr(newOffs, newLength));
347 StringRef MB = SourceMgr->getBufferData(FID); local
364 while (isWhitespaceExceptNL(MB[
[all...]
/external/llvm/lib/ExecutionEngine/
H A DSectionMemoryManager.cpp87 sys::MemoryBlock MB = sys::Memory::allocateMappedMemory(RequiredSize, local
98 MemGroup.Near = MB;
101 MemGroup.AllocatedMem.push_back(MB);
102 Addr = (uintptr_t)MB.base();
103 uintptr_t EndOfBlock = Addr + MB.size();
183 for (sys::MemoryBlock &MB : MemGroup.PendingMem)
184 if (std::error_code EC = sys::Memory::protectMappedMemory(MB, Permissions))
/external/llvm/tools/sanstats/
H A Dsanstats.cpp123 std::unique_ptr<MemoryBuffer> MB = std::move(MBOrErr.get()); local
124 const char *Begin = MB->getBufferStart(), *End = MB->getBufferEnd();
/external/perfetto/infra/git_mirror_bot/
H A Dstartup-script.sh29 logfile_maxbytes=2MB
38 stdout_logfile_maxbytes=2MB
/external/ltp/testcases/kernel/mem/lib/
H A Dmem.c79 int ret = alloc_mem(TESTMEM + MB, testcase);
115 * @lite: if non-zero, child makes only single TESTMEM+MB allocation
376 if (ksm_merge_data.mergeable_size == size * MB) {
377 tst_res(TINFO, "child %d allocates %d MB filled with '%c'",
381 tst_res(TINFO, "child %d allocates %d MB filled with '%c'"
387 for (i = 0; (unsigned int)i < unit * MB; i++)
394 if (ksm_merge_data.mergeable_size < size * MB)
410 memory[j] = SAFE_MMAP(NULL, unit * MB, PROT_READ|PROT_WRITE,
413 if (madvise(memory[j], unit * MB, MADV_MERGEABLE) == -1)
434 if (ksm_merge_data[j].mergeable_size < size * MB) {
[all...]
/external/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp184 sys::MemoryBlock MB = sys::Memory::AllocateRWX(Size, nullptr, &Err); local
185 if (!MB.base())
188 PreallocSlab = MB;
199 sys::MemoryBlock MB((void *)OldSlabOffset, Size);
201 FunctionMemory.push_back(MB);
203 DataMemory.push_back(MB);
228 sys::MemoryBlock MB = sys::Memory::AllocateRWX(Size, nullptr, &Err); local
229 if (!MB.base())
231 FunctionMemory.push_back(MB);
232 return (uint8_t*)MB
248 sys::MemoryBlock MB = sys::Memory::AllocateRWX(Size, nullptr, &Err); local
[all...]
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp82 static bool isRunOfOnes(unsigned Val, unsigned &MB, unsigned &ME);
88 unsigned &SH, unsigned &MB, unsigned &ME);
310 bool PPCDAGToDAGISel::isRunOfOnes(unsigned Val, unsigned &MB, unsigned &ME) { argument
313 MB = CountLeadingZeros_32(Val);
323 MB = CountLeadingZeros_32((Val - 1) ^ Val) + 1;
333 unsigned &MB, unsigned &ME) {
368 return isRunOfOnes(Mask, MB, ME);
415 unsigned MB, ME; local
416 if (InsertMask && isRunOfOnes(InsertMask, MB, ME)) {
436 SDValue Ops[] = { Op0, Op1, getI32Imm(SH), getI32Imm(MB),
331 isRotateAndMask(SDNode *N, unsigned Mask, bool isShiftMask, unsigned &SH, unsigned &MB, unsigned &ME) argument
930 unsigned Imm, Imm2, SH, MB, ME; local
959 unsigned MB, ME; local
980 unsigned Imm, SH, MB, ME; local
992 unsigned Imm, SH, MB, ME; local
[all...]
/external/llvm/lib/Support/
H A DSpecialCaseList.cpp70 std::unique_ptr<SpecialCaseList> SpecialCaseList::create(const MemoryBuffer *MB, argument
73 if (!SCL->parse(MB, Error))
87 bool SpecialCaseList::parse(const MemoryBuffer *MB, std::string &Error) { argument
90 SplitString(MB->getBuffer(), Lines, "\n\r");
/external/ltp/testcases/kernel/mem/include/
H A Dmem.h11 #define MB (1UL<<20) macro

Completed in 2321 milliseconds

123456