Home | History | Annotate | Download | only in metrics

Lines Matching defs:memory

7 #include <memory>
13 #include "base/memory/shared_memory.h"
106 // Get base memory info for later comparison.
201 // Check the internal histogram record of used memory.
215 // Create second allocator (read/write) using the same memory segment.
230 // Create a third allocator (read-only) using the same memory segment.
260 // Ensure that the memory state can be set.
267 // This allocation will go into the first memory page.
323 void* memory = mem_segment_.get();
324 AllocatorThread t1("t1", memory, TEST_MEMORY_SIZE, TEST_MEMORY_PAGE);
325 AllocatorThread t2("t2", memory, TEST_MEMORY_SIZE, TEST_MEMORY_PAGE);
326 AllocatorThread t3("t3", memory, TEST_MEMORY_SIZE, TEST_MEMORY_PAGE);
327 AllocatorThread t4("t4", memory, TEST_MEMORY_SIZE, TEST_MEMORY_PAGE);
328 AllocatorThread t5("t5", memory, TEST_MEMORY_SIZE, TEST_MEMORY_PAGE);
410 // Fill the memory segment with random allocations.
485 char* memory = mem_segment_.get();
486 AllocatorThread t1("t1", memory, TEST_MEMORY_SIZE, TEST_MEMORY_PAGE);
487 AllocatorThread t2("t2", memory, TEST_MEMORY_SIZE, TEST_MEMORY_PAGE);
488 AllocatorThread t3("t3", memory, TEST_MEMORY_SIZE, TEST_MEMORY_PAGE);
489 AllocatorThread t4("t4", memory, TEST_MEMORY_SIZE, TEST_MEMORY_PAGE);
490 AllocatorThread t5("t5", memory, TEST_MEMORY_SIZE, TEST_MEMORY_PAGE);
501 memory[offset] = value;
822 // error messages warning about about a corrupted memory segment.
864 // error messages warning about about a corrupted memory segment.