/external/tensorflow/tensorflow/core/profiler/g3doc/ |
H A D | profile_memory.md | 29 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 D | mpx-mm.h | 6 #define MB (1UL<<20) macro
|
/external/llvm/unittests/ExecutionEngine/Orc/ |
H A D | IndirectionUtilsTest.cpp | 21 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 D | OrcCAPITest.cpp | 28 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 D | diagnostic.c | 63 LLVMMemoryBufferRef MB; local 65 if (LLVMCreateMemoryBufferWithSTDIN(&MB, &msg)) { 73 int Ret = LLVMGetBitcodeModule2(MB, &M); 80 LLVMDisposeMemoryBuffer(MB);
|
H A D | object.c | 21 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 D | module.c | 29 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 D | numa01.sh | 85 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 D | support_numa.c | 45 #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 D | SpecialCaseList.h | 68 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 D | PPCMCTargetDesc.h | 60 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 D | MemoryBufferTest.cpp | 80 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 D | mmap2.c | 51 /* 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 D | gup_benchmark.c | 14 #define MB (1UL << 20) macro 30 unsigned long size = 128 * MB; 37 size = atoi(optarg) * MB;
|
/external/v8/src/heap/ |
H A D | gc-idle-time-handler.h | 78 static const size_t kMaximumMarkingStepSize = 700 * MB; 86 static const size_t kInitialConservativeMarkCompactSpeed = 2 * MB; 91 2 * MB;
|
/external/tremolo/Tremolo/ |
H A D | asm_arm.h | 67 #define MB() asm volatile ("" : : : "memory") macro 83 MB(); 102 MB(); 121 MB();
|
/external/clang/lib/Rewrite/ |
H A D | Rewriter.cpp | 230 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 D | SectionMemoryManager.cpp | 87 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 D | sanstats.cpp | 123 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 D | startup-script.sh | 29 logfile_maxbytes=2MB 38 stdout_logfile_maxbytes=2MB
|
/external/ltp/testcases/kernel/mem/lib/ |
H A D | mem.c | 79 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 D | llvm-rtdyld.cpp | 184 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 D | PPCISelDAGToDAG.cpp | 82 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 D | SpecialCaseList.cpp | 70 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 D | mem.h | 11 #define MB (1UL<<20) macro
|