by admin | Jun 4, 2015 | sem3
C++ references variable A c++ reference variable is another name for an already existing variable. Once a reference is initialized with a variable, either the variable name or the reference name may be used to refer to the variable. C++ References variable vs...
by admin | Jun 4, 2015 | sem3
Pointers in c++ Pointers in c++ programming language are easy to learn. Some C++ tasks are performed more easily with pointers, and other C++ tasks like dynamic memory allocation, cannot be performed without them. Every variable is a memory location and every memory...
by admin | Jun 3, 2015 | sem3
Member Functions in Classes Member functions are the functions, that has declaration inside the class definition and works on the data members of the class. The definition of member functions can be inside or outside the definition of class. If the member function is...
by admin | Jun 3, 2015 | sem3
Constructors Constructors are special class functions which performs initialization of every object. The Compiler calls all the Constructor whenever an object is created.The initialized constructor values to object members after a memory is allocated to that object....
by admin | Jun 3, 2015 | sem3
Translation Lookaside Buffers The virtual->physical address translation operation sits on the critical path between the CPU and the cache. If every request for a memory location emanating from the processor required one or more accesses to main memory (to read page...
by admin | Jun 3, 2015 | sem3
Measuring and improving cache performance Cache Performance Average memory access time is a useful measure to evaluate the performance of a memory-hierarchy configuration. It tells us how much penalty the memory system imposes on each access (on average). It can...