Top "Memory-access" questions

Memory access is a generic term that is used to represent the action of a computing unit accessing data.

Can I set a breakpoint on 'memory access' in GDB?

I am running an application through gdb and I want to set a breakpoint for any time a specific variable …

c++ debugging gdb breakpoints memory-access
Why am I getting this memory access error 'double free or corruption'?

I am getting the following type of error. I know it has something to do with me improperly accessing memory, …

c memory-access
Calculating average memory access time in a system implementing cache memory

In order to find avg memory access time we have the formula : Tavg = h*Tc +(1-h)*M where h = hit …

memory computer-architecture memory-access
In CUDA, what is memory coalescing, and how is it achieved?

What is "coalesced" in CUDA global memory transaction? I couldn't understand even after going through my CUDA guide. How to …

cuda definition memory-access
Efficiency: arrays vs pointers

Memory access through pointers is said to be more efficient than memory access through an array. I am learning C …

c arrays pointers performance memory-access
What is the Cost of an L1 Cache Miss?

Edit: For reference purposes (if anyone stumbles across this question), Igor Ostrovsky wrote a great post about cache misses. It …

c caching memory-access
Shared memory access permissions on Windows

I've developed a windows application that uses shared memory---that is---memory mapped files for interprocess communication. I have a windows service …

windows shared memory-access
Using the extra 16 bits in 64-bit pointers

I read that a 64-bit machine actually uses only 48 bits of address (specifically, I'm using Intel core i7). I would …

pointers 64-bit x86-64 memory-access
What happens if two threads read & write the same piece of memory

It's my understanding that if two threads are reading from the same piece of memory, and no thread is writing …

concurrency memory-access